Open JerryZRF opened 8 months ago
Are you pulling chip select high on the second device to to be initialized so it won't interfere with initializing of the first device?
I am also facing the same issue. Did you find a solution ?
Not all SD breakouts are the same. The ones that use a logic level shifter to work with 5V Arduinos tend not to work well with 3.3V MCUs. SD SPI is 3.3V so the sort of breakout you need should just have some resistors and capacitors on it, no voltage regulator or level shifter.
I am in the same situation. I was able to get the SD to mount and list the files inside but only in the setup() function. After that, it does not list the files if the function is called inside loop() and also, when I tried to load a function that displays an image on the TFT screen it does not work. I am trying to use SdFs and the TFT_eSPI library and read/display images from the SD card. If anyone has found a solution or has one, it will be much appreciated.
Hi, I am using a LCD screen which shares its SPI bus with a SD reader on ESP32.
When I try to init the SdFat and then the TFT_eSPI, the SdFat doesn't work.
And when I try to init the TFT_eSPI and then the SdFat, the TFT_eSPI doesn't work.