Page 1 of 1

esp32 sdcard reliable problem

Posted: Sat Mar 12, 2022 2:52 pm
by acer1204
My chip is esp32u
when i use spi to control tft-lcd/tft-touch/sdcard, it can work.
but run a long time.(about 96hr)
the sdcard sometimes sd.begin will return 0x1 error.
next recall sd.begin() will all return 0x3.

if i reinsert sdcard in sdcard holder, the sd.begin() will return good.
but run about 96hr cause problem again.

i try to spi only control tft-lcd/tft-touch and no call sdcard.
after 96hr, i call sd.begin() the problem will again.

this is my tft module, but no use it sdcard.
http://www.lcdwiki.com/4.0inch_SPI_Module_ILI9486

my sdcard is single module. spi pin direct connect micro-sdcard holder without resistance.

this is my sch in attachments.
SDCARD and tft sch.png
SDCARD and tft sch.png (100.72 KiB) Viewed 1171 times
does anyone has this problem?

i try to use single power 3.3v to sdcard, but it always has this problem.
need reinsert sdcard or software reboot esp32 can fix it...