Author
Topic: ILI9341 Read ID not working (Read 4819 times)

I am using the piTFT which uses the ilI9341 controller with the raspberry pi. I am able to load images and send all commands to the controller and have it working but I am not able to read anything back from the controller including the ID. I am using 4 wire spi including the D/C command. I see different sequences all over the internet. Couple of them include

1) Sending 0x04 command to read ID and then sending 0xFF byte to read every byte2) Send D9 command with 0x10+ index of byte to read and then sending the 0x04 command.

Both of the above sequences did not work. Are they correct?

2) When i just the send the 0x04 command without anything, the program hangs waiting for data from RX FIFO

Can you confirm the full part number of the display you are referring to?We used to sell 2.4" TFTs with the ILI9341 controller, however they used a 8/16 bit parallel interface.The serial interface read cycle sequence information begins on page 36 of the ILI9341 datasheet:http://www.newhavendisplay.com/app_notes/ILI9341.pdfI would ultimately use this document to read from the IC correctly, as you may encounter incorrect examples online.

I am also having this issue. I am using the NHD‐2.4‐240320SF‐CTXL#‐FTN1 with an STM32F407 micro, 16-bit parallel bus.

I have no trouble using the display. I need to be able to read the ID because now that the NHD‐2.4‐240320SF‐CTXL#‐FTN1 is obsolete i have to use the NHD‐2.4‐240320CF‐CTXL#‐FT which uses a different display driver. I want to be able to write my code so that I can detect which display i am using and then setup either up accordingly.