Interfacing Adafruit 2.8" TFT Touch Shield v2 to Adafruit Metro ESP32-S3 #16113
-
I am trying to get the Adafruit 2.8" TFT Touch Shield working with the Adafruit Metro ESP32-S3. I am running a custom MicroPython binary: MicroPython v1.24.0-preview. My display is just blank with the backlight on. I confirmed I can get the display working in this combination using the Arduino IDE in C++. This tells me I am not setting up the SPI interface correctly in MicroPython. I am using the ILI9341 drivers from micropython-nano-gui. I tried using both SoftSPI and the hardware SPI interfaces. Using the display schematic, I verified that the pins I use are correct except for the reset pin. Since there is no reset pin for this shield, I used a dummy pin. I am trying to run the demos in the nano-gui repository's GUI folder. I am sharing the snippets of the color_setup file for the SoftSPI and SPI interfaces. SoftSPI interface:
Hardware SPI interface:
I would appreciate any help in configuring the display correctly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Does the display use the 6-way connector? If so, the pinout seems to be
This is just from a quick look at the datasheets. If this doesn't work I'll examine the schematics. To test the display, please paste the code provided here. If it works as described, you can be confident that everything is OK and that the demos will run. [EDIT] |
Beta Was this translation helpful? Give feedback.
Does the display use the 6-way connector? If so, the pinout seems to be
This is just from a quick look at the datasheets. If this doesn't work I'll examine the schematics.
To test the display, please paste the code provided here. If it works as described, you can be confident that everything is OK and that the demos will run.
[EDIT]
Looking at the display datasheet, there are comments here that may suggest that to use the pins you've specified you need to solder a couple of links. Otherwise my pins should work.