SD Card Pico-ResTouch-LCD-3.5 and Raspberry Pi W #3374
archearth
started this conversation in
Compatible displays and setup files
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
So I have the Pico-ResTouch-LCD-3.5 display I have gotten it o work with my Pico W through SPI1 and with the following PIN setup:
#define TFT_MISO 12
#define TFT_MOSI 11
#define TFT_SCLK 10
#define TFT_CS 9
#define TFT_DC 8
#define TFT_RST 15
#define TFT_BL 13
However, I want to be able to connect and use the SD to load images/gif when a send a MQTT message to the pico. I was able to get to load images and gifs from LittleFS but when I try from the SD it renders in a glitchy slow way. I think the I dont have the right SPI/PINS and SD config for the SD and the display to work at the same time. Any ideas what pins to assign to the SD and how to configure it so the the TFT and SD both work at the same time? I am not very familiar with SPI and how all that works. I was able to get the SD to initialize by setting this
SPI1.setSCK(SD_SCLK_PIN); //10
SPI1.setTX(SD_MOSI_PIN); //11
SPI1.setRX(SD_MISO_PIN); //12
But I think there is overlap happening and the display and SD are accessing those at the same time. Any idea how to set things properly?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions