I bought a TFT display breakout with a connected ILI9341 (product code 2478) to use with an Adalogger M0 (product code 2796). The display seems to work somewhat. Using only the provided libraries with the Arduino IDE and following this guide for SPI mode I had some intermittent issues.
When I first used it, the output randomly switched RGB modes and the display mirrored (text backwards) with the same code uploaded. Additionally, the screen would turn white after about 10 seconds which I found out was a sleep mode feature of the ILI9341 and could be reset with the SLPOUT command. Sleep mode would be re-enabled every few seconds after the first sleep.
I couldn't find a consistent cause for the issues, so I started checking out the diagnostics. The results of the serial monitor are as follows:
Code: Select all
FeatherWing TFT Test!
Display Power Mode: 0xCA
MADCTL Mode: 0x24
Pixel Format: 0x2
Image Format: 0xC0
Self Diagnostic: 0xE0
Again, this old thread had the exact same results with the reversed text, "blank screen" (sleep mode), and abnormal diagnostic results.
In addition to the above isolated tests, I had issues using the breakout alongside other SPI devices in a project. However, for the sake of this thread it seems easier to tackle the issues presented above with the given diagnostic results.
Attached are images of the wiring setup. So far I've tried multiple breadboards, wires, and even a different Adalogger M0 (same model, friend owned). Any experience from the above post or additional help would be greatly appreciated.
Thanks