0

I'm trying this: How to enable SPI1 and SPI0 at the same time? on Simply Linux 10.2 with Raspberry Pi 4 Model B. I want to use two touchscreens.

I'm adding dtoverlay=spi1-3cs to /boot/config.txt I'm adding spi-bcm2711 to /etc/modules

But this is not enouth. The first touchscreen works, the second doesn't. Even if I connect it without the first one.

My touchscreen is 10.1 inch HDMI LCD with XPT2046 Touch Controller. I use pins MOSI, MISO, SCK, P6 and CE1. I conect LCD to Raspberry like this P6-GPIO18, SPI1 MISO-GPIO19, SPI1 MOSI-GPIO20, SPI1 SCLK-GPIO 21, CE1-GPIO22.

4
  • Did you read all of the answers to the Q&A you cited?
    – Seamus
    Dec 26, 2023 at 21:20
  • @Seamus yes. I have read and tried all the answers and comments.
    – Alexandr
    Dec 27, 2023 at 6:26
  • What did you ACTUALLY do? What code are you attempting to run? Have you checked what devices are present? There is no need to load any modules and AKAIK what you loaded is wrong.
    – Milliways
    Dec 27, 2023 at 7:40
  • @Milliways I'm not trying to run code, I'm trying to connect two touchscreens to a Raspberry so that the sensors works for them. Now only one touchscreen works via SPI0. I want to connect my second touchpad to SPI1 so that it works.
    – Alexandr
    Dec 27, 2023 at 13:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.