I’m trying to connect my stm32 to a spi screen (controller : ST7735).
In arduino IDE, I picked some sample sketch from ucglib to try my screen, but I get nothing excepted a blank screen.
I connected all the wires from the 8 pins header to the stm32, as follows:
VCC: Power supply +3.3v
GND: Power supply GND
LED: Power supply +3.3v
The sample sketch I chosed is “GraphicsTest” and I uncommented this line:
Ucglib_ST7735_18x128x160_SWSPI ucg(/sclk=/ 13, /data=/ 11, /cd=/ 9, /cs=/ 10, /reset=/ 8);
As I understood, pin 13 translates to PB13 etc
But sketch is not working …
Should I also connect SD_MISO, SD_MOSI, SD_CS & SD_SCK ?
If yes, where should I connect them on the STM32 ?
Thanks a lot for your help !
In attachment, the lcd module pinout, and a picture of the module I have.