Questions? Call us: +1 760-918-6722

SPI interface

Hi, 

I am trying to read data from the screen and it is not responding.

I first tried to work with a Linux SOM using the ili9341 driver but it didn`t work so I connected the screen to a microcontroller to check if the SPI interface is working. 

I`ve connected IM[3:0] = 1101, MISO, MOSI, SCK, and CS and followed the ili9341 driver I found in the forum for the SPI. 

attached is the waveform I got, I am trying to read from register 0xDA (ID).

what could be the problem?

Attachment: 

Replies

engineering_seacomp's picture
engineering_seacomp
June 11, 2020

Hi,

For ILI9341 based displays, the following is an example of how to verify reads & writes are working, which includes the DT028BTFT.

https://www.dropbox.com/s/4hfnnj2t4vaq1qi/Displaytech_Support-8-bit-MCU-ili9341.pdf?dl=0

Please see the ILI9341 datasheet located here:

https://www.displaytech-us.com/sites/default/files/driver-ic-data-sheet/Ilitek-ILI9341.pdf

Specifically, please see the sections:

18.3.3 Display Serial Interface Timing Characteristics (3-line SPI system)

18.3.4 Display Serial Interface Timing Characteristics (4-line SPI system)