Hi everyone,
I am working with a RAK3172 node and a 1.69" 240x280 TFT display using the ST7789 driver . At the beginning, the display was working correctly with my node. I was using the Adafruit GFX and Adafruit ST7789 libraries, and the display was connected through SPI.
My pin configuration was:
#define TFT_CS PA4
#define TFT_RST PA8
#define TFT_DC PA9
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
The SPI pins were the default ones for the RAK3172:
SCK -> PA5
MOSI -> PA7
CS -> PA4
RST -> PA8
DC -> PA9
The initialization was:
tft.init(240, 280);
tft.setRotation(1);
tft.fillScreen(ST77XX_BLACK);
One day, I powered on the node and the display no longer showed anything. The backlight turns on, but the screen stays black. I tested the same display with another RAK3172 node and I had the same result. To make sure the display was not damaged, I tested it with an ESP32 using the same Adafruit ST7789 library, and the display worked correctly.
I also checked the PCB connections with a multimeter and the lines seem to have continuity. I also tested the GPIO pins and they change state from LOW to HIGH correctly. However, the display still does not show anything when connected to the RAK3172.
Has anyone experienced something similar with the RAK3172 and an ST7789 display?
Could this be related to:
- RAK RUI3 / STM32WLE SPI configuration?
- Adafruit ST7789 library compatibility?
- Board selection in Arduino IDE?
- A change after updating libraries?
- Some special requirement for using SPI displays with the RAK3172?
I am using Arduino IDE 1.8.19 and the board selected is:
WisDuo RAK3172 Evaluation Board
Any advice or suggestions would be greatly appreciated.
Thank you.