schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
316 stars 77 forks source link

SD card connection is lost #485

Open valera39 opened 1 month ago

valera39 commented 1 month ago

Hello Dear Wolle, hello everyone! I noticed a strange peculiarity. After a long time in sleep mode, ESP as if loses connection with the memory card. It is expressed in the fact that the time on the display freezes, the separator of hours and minutes does not blink. On the signal from the remote control turns on, but there is no station icon. Then if you turn the remote off again, the radio goes to sleep, but the clock is no longer displayed on the full screen. At the same time, the radio wakes up normally on the alarm clock at the appointed time, but without the alarm clock and radio station icons. If I turn the power off after this problem and then turn it back on, the screen shows that the SD card is not detected. What I did: changed ESP to another, changed card readers with and without pull-up resistors, changed SD cards, formatted them and checked for errors, changed SD card frequency, soldered all connections. But the problem occurs periodically. Log from the COM port is difficult to remove because of the design of the radio, but I will try to do it. What can it be, any ideas? I emphasize, this problem occurs only in sleep mode, in normal mode, even when reconnecting the power, this does not happen

schreibfaul1 commented 4 weeks ago

This is just a guess, but lower the frequency of the SD card.

valera39 commented 4 weeks ago

Yeah, sure, I've been down to 40MHz. It is very strange that the card is not detected at power reset. In general, most of the time the radio is in sleep mode, you could say as an alarm clock.

valera39 commented 3 weeks ago

For two days now, the radio has been in sleep mode as a clock while the memory card has not fallen off.