I have an issue with connection 4 LCD displays on SPI interface
my setup:
SSD1283A tft4( /*CS=oranje*/ 5, /*DC=groen*/ 2, /*RST=geel*/ 15, /* LED=*/ 4); //hardware spi,cs,cd,reset,led
SSD1283A tft3(/* CS=oranje*/ 14, /*DC=groen*/ 13, /*RST=geel*/ 12, /*LED=*/ 4); //hardware spi,cs,cd,reset,led
SSD1283A tft2(/* CS=oranje*/ 27, /*DC=groen*/ 26, /*RST=geel*/ 25, /*LED=*/ 4); //hardware spi,cs,cd,reset,led
SSD1283A tft1(/* CS=oranje*/ 22, /*DC=groen*/ 19, /*RST=geel*/ 21, /*LED=*/ 4); //hardware spi,cs,cd,reset,led
My SPI is connected to
18 for SCK
23 for SDA
i have displays 2,3 and 4 working normally
display 1 i cant get it working, i tried to use the available pins for cs/dc/rst
1921/22/32/33/34/35
any idea how i can get it working ?
thanks in advance for the help.
Multiple SSD1283A display on HW SPI
Re: Multiple SSD1283A display on HW SPI
anyone who can help me out ?
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: Multiple SSD1283A display on HW SPI
Not 100% sure about the Arduino implementation, but the ESP32 SPI hardware only supports 3 CS lines. You may be running into that limitation. You could try to work around that by using 'standard' GPIOs for CS and setting them manually.
Re: Multiple SSD1283A display on HW SPI
Thanks, i guess thats the issue, i tried to select any other pin for the CS, RST and DC and i could not get it working.
Does ESP32 have only 1 HW SPI interface?
Does ESP32 have only 1 HW SPI interface?
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: Multiple SSD1283A display on HW SPI
Technically it has 4, but only 2 of those are entirely free to use (the others are used for the flash). So if you change your wiring, you *should* be able to control 6 displays without any hacks.
-
- Posts: 22
- Joined: Mon Feb 12, 2018 6:50 pm
Re: Multiple SSD1283A display on HW SPI
I have only gotten two to work fully previously: My example here is for ILI9341, HSPI & VSPI
Maybe you can use your approach to get 2 on each hardware SPI interfaces.
https://www.hackster.io/rayburne/dual-d ... p32-4c75b5
Maybe you can use your approach to get 2 on each hardware SPI interfaces.
https://www.hackster.io/rayburne/dual-d ... p32-4c75b5
Who is online
Users browsing this forum: jgustavoam and 31 guests