Replies: 19 comments 15 replies
-
Some ST7796 (and ILI9486) displays have a diode inline with the TFT chip select. This is a board design error as there is nothing the other side of the diode to pull the TFT chip select high. If there are other devices on the SPI bus, such as a touch controller then this diode is likely to cause problems. Unfortunately the solution requires soldering skills, remove the diode and replace with a wire link or add a shorting link over the diode: |
Beta Was this translation helpful? Give feedback.
-
Here is the schematic for those rogue boards with a diode fitted: |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, man! |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the library. Note: I have a friend that has the same TFT. He did not remove the diode (was not aware off this) and his TFT works just fine using exactly the same firmware and the same board. Very strange. |
Beta Was this translation helpful? Give feedback.
-
I tried to remove the pin MISO from the TFT connector and now I get both the TFT and the touch screen working. |
Beta Was this translation helpful? Give feedback.
-
Glad to hear it is working for you. To answer some of the points raised:
The TFT MISO signal track is visible on the screen side of the display PCB so it could be cut there, or the pin unsoldered and pulled out, |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick answer. |
Beta Was this translation helpful? Give feedback.
-
I do not understand why the display should not show correct picture when the TFT MISO pin is not connected. |
Beta Was this translation helpful? Give feedback.
-
I would like to develop a board based on ESP32 and a 4" ST7796 TFT with touch screen. |
Beta Was this translation helpful? Give feedback.
-
hello, |
Beta Was this translation helpful? Give feedback.
-
You could try a pull up on the Anode (display side) of the diode. This would require modification to the display PCB. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have “4.0 TFT SPI 480x320 v1.1 (SP7796)" which has a different D1 location, BUT it looks like the schematic is still the same (ie. D1 is still in the CS line), and it needs to be shorted out for multiple devices on the SPI bus to work properly. The photo below shows my v1.1 board with a wire/solder-blob shorting out D1. [The only reason for D1 that I can think of would be if the matrix_CS (via the 48pin FPC) needs different voltage levels to 3.3V. The matrix_CS must also have an internal pullup (not shown on schematic), otherwise my simultaneously connected SPI-SD card would not half-work with D1 in. But this internal pullup must be really weak as removing it significantly improves the matrix_CS-high(disable)speed. It’s interesting to note that the new board revision v1.1 seems to be the same schematic as the original v1.0, so D1 does not seem to be included in error?? Perhaps 2 parallel Diodes connected in opposite directions would be a better alternative than shorting-out, but harder to modify to this.] |
Beta Was this translation helpful? Give feedback.
-
Hi, Attached my User_Setup and User_Select. Please, can anyone help with this issue? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I have a 3.5-inch resistive ILI9488 TFT. When I input the code with the FT6236 library, the touchscreen does not function. I would appreciate your assistance. |
Beta Was this translation helpful? Give feedback.
-
I'm having problems with the 4 inch resistive TFT V1.1 (driver ST7796) working with a SD card on ESP32. The D1 jumper is implemented. SD connections (VSPI): TFT connections (HSPI): I'm using SD.h for the SD card library. During Setup():
Help in resolving this issue is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
My ILI9488 display circuit is little bit different as shown below when I compare it with LCD-Wiki. To make it running with Arduino Uno, I follow the instruction from here and Below it the simple program which I run but I couldn't see anything on display.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello, this thread is quite old but i still have a question, i have the ILI9488, which works normally, with no touch tho. What differs from the rest is that: i can use the display without the MISO-SDO connection, i can have that connection and the TCS pin and the display still works (no touch), the problem is just that, no matter how much i try i wont get touch to work, i get to the calibration screen, and then when i try to touch it nothing happens What i've tried: finding the diode (didnt have one), connecting the TDO pin to MISO (where the old SDO would go), finding another library (doesnt exist). I really really need touch so please is there a solution to get it working |
Beta Was this translation helpful? Give feedback.
-
ST7796 and ILI9486 displays
On some ST7796 and ILI9486 boards the SPI output ( SDO/MISO) pin does not go tristate in certain circumstances because a diode is fitted (see below) in the chip select line. This is a problem if other SPI devices occupy the bus (e.g. if an SD card or touch controller is used) for two reasons:
The correct solution when other devices will occupy the SPI bus is to short/remove the diode, see next comment.
ILI9488 displays
The ILI9488 SPI output ( SDO/MISO) does not go tristate and this cannot be circumvented, so do NOT connect the display interface SDO/MISO pin to the processor if other SPI devices are on the same SPI bus. You can then connect other SPI devices to the processor MISO pin such as the touch controllers DO (Data Out) pin.
Beta Was this translation helpful? Give feedback.
All reactions