-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to share the same SPI bus with TFT_eSPI on ESP32 #477
Comments
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.
The text was updated successfully, but these errors were encountered: