SPI to drive TFT LCD not working - bootloader problem?
Posted: Mon Jun 01, 2020 9:49 pm
Hi:
I appreciate any help for this problem. I have an ESP32-SOLO DevKitC V4, with a TFT LCD Module (ST7735) connected by SPI to the pins:
CS - GPIO17
RST - GPIO2
A0/DC - GPIO0
CLK - GPIO27
MOSI/SDA - GPIO4
Operating perfectly well.
In my customized PCB board, I am using the same chip (ESP-SOLO) with the same TFT display of the module (only the display welded directly on the PCB), with the same pins to connect the ESP32 to the TFT and, the same test program, deployed into both ESP32 from the same Arduino IDE. But, besides the backlight, nothing else happens in the TFT.
Connecting the TFT display of the PCB board to the ESP32-SOLO Devkit (using the same pins), it is possible to see that the TFT is working.
But using the ESP32 of the PCB board to drive the TFT Module, this one does not work.
The pins used to connect the ESP32 to the TFT on the PCB board were also individually tested with the blink program and all were working perfectly.
I also have done lots of connectivity and short circuit tests and everything is apparently normal.
The board has other components, like an external RTC, several buttons and LEDS, all of them working perfectly.
I am not sure if is relevant, but i am using the ESP32 Devkit to upload the firmware to the ESP32 of the PCB board.
I think that the problem is someway related with the frequency used to drive the TFT - unfortunately i have not an oscilloscope with me to test it. But the program is the same, inclusively i am using the same compiled code. The unique thing i remember that might be different is the bootloader ... Is it possible that the problem is on some parameter of the bootloader? How can i test it? Or am i missing something?
Thanks,
Paulo Matos
I appreciate any help for this problem. I have an ESP32-SOLO DevKitC V4, with a TFT LCD Module (ST7735) connected by SPI to the pins:
CS - GPIO17
RST - GPIO2
A0/DC - GPIO0
CLK - GPIO27
MOSI/SDA - GPIO4
Operating perfectly well.
In my customized PCB board, I am using the same chip (ESP-SOLO) with the same TFT display of the module (only the display welded directly on the PCB), with the same pins to connect the ESP32 to the TFT and, the same test program, deployed into both ESP32 from the same Arduino IDE. But, besides the backlight, nothing else happens in the TFT.
Connecting the TFT display of the PCB board to the ESP32-SOLO Devkit (using the same pins), it is possible to see that the TFT is working.
But using the ESP32 of the PCB board to drive the TFT Module, this one does not work.
The pins used to connect the ESP32 to the TFT on the PCB board were also individually tested with the blink program and all were working perfectly.
I also have done lots of connectivity and short circuit tests and everything is apparently normal.
The board has other components, like an external RTC, several buttons and LEDS, all of them working perfectly.
I am not sure if is relevant, but i am using the ESP32 Devkit to upload the firmware to the ESP32 of the PCB board.
I think that the problem is someway related with the frequency used to drive the TFT - unfortunately i have not an oscilloscope with me to test it. But the program is the same, inclusively i am using the same compiled code. The unique thing i remember that might be different is the bootloader ... Is it possible that the problem is on some parameter of the bootloader? How can i test it? Or am i missing something?
Thanks,
Paulo Matos