ESP32-MiniWebRadio icon indicating copy to clipboard operation
ESP32-MiniWebRadio copied to clipboard

Is it internal RTC issue?

Open eksanmark opened this issue 3 years ago • 4 comments

Hi.. Saw in the demo, its great project. Try to build last night with hardware as follow: micro sd card adapter, VS1053 (tried also with I2S/MAX chip) and ILI9341 with no success. Code is uploaded successfully, common.h had adjusted as required. Black screen, no sound. Check wiring (still in breadboard) for 3 times, all correct as schematic. Debug on Serial monitor as "rst:0x10 (RTCWDT_RTC_RESET), boot:0x3b (SPI_FAST_FLASH_BOOT) flash read err, 1000, ets_main.c 371 ". Any clue what possible I'm doing wrong? Thanks.

eksanmark avatar Sep 24 '22 15:09 eksanmark

This looks like a problem with the used ESP32 board,, https://www.esp32.com/viewtopic.php?t=25729

schreibfaul1 avatar Sep 25 '22 06:09 schreibfaul1

Appreciate for your respond, also the link. Finally got it work. The problem is in the VS1053, had used a different type, the red one with straight pin. Not knowing yet what does the root cause, since this part is okay when used with basic code.
This is the best web radio software I've ever built, thanks for the amazing code.

eksanmark avatar Sep 25 '22 14:09 eksanmark

I think pin12 will be the problem, maybe a pull-up resistor on the VS1053 board. If you swap two GPIOs with each other, the error could be eliminated

schreibfaul1 avatar Sep 25 '22 16:09 schreibfaul1

Yes you're right, I change GPIO 12 to GPIO 08, rearrange the code, upload, and it's working fine, maybe GPIO 12 is RTC pin. I add some stations via FileZilla including its logo as per example format (writing format, .jpg pixel size and correct name), but the system doesn't yet to read the SD card update, or even when I remove (*) mark for 3 stations in original code, still the same, 13th is the last. Is there something I've done improperly?

Aha.. got it, must be uploaded first.

eksanmark avatar Sep 26 '22 22:09 eksanmark

You can fuse needed flash voltage and gpio12 will be ignored while boot.

ichebyki avatar Mar 19 '23 10:03 ichebyki

At that time, I follow suggested option that I didn't pay attention before, to add 1k Ohm resistor between SCK and GND, and its work. VS1053 has better sound quality.

eksanmark avatar Mar 20 '23 01:03 eksanmark

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 06:06 stale[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 13 '24 02:02 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Feb 28 '24 02:02 github-actions[bot]