Problems with DREQ on GPIO0/D3 and Booting #84
Replies: 1 comment 2 replies
-
I have two hints later on, but first
Some simalar problems that occured to me (Arduino IDE and ESP32):
in the beginning and replacing the Serial.print commads with something like
So, for testing and programming purposes, the flag is set to true and for the final version it is set to false.
Instead of rewiring I would try to comment the await_data_request() function within the player.begin() part in VS1053.cpp and see whether this works. Something like this happened to me a few times (not reproducable) after loading the MIDI plugin on VS1003 boards. Btw, which VS10xx board do you use? I remember that some boards start in MIDI mode, which is the reason for the player.switchToMp3Mode(); in the demo. Maybe placing this statement before the player.begin could help? I hope, some of the provided ideas turn out to be helpfull :-) |
Beta Was this translation helpful? Give feedback.
-
While I have ESP8266 (WEMOS D1 mini pro)/VS1053 radios that work with this library immediately when powered, I have some radios that do not boot unless I press the ESP8266's reset button after power on.
If I rewire it, and connect GPIO0/D3 to 3.3v, the radio boots fine (but there is garbling, I assume because the 1053 appears to be signaling it's ready).
Has anyone encountered a problem like this? Any help would be appreciated!
Here's some more info I've gathered after doing some searching:
From what I can tell, if GPIO0/D3 is low on boot (power on) the ESP8266 goes into Uart Bootloader instead of the boot sketch - which is the desired result.
https://github.com/reaper7/Arduino_ESP8266_SDK1.3/blob/master/doc/boards.md#boot-messages-and-modes
GPIO0/D3 needs to be high, but the 1053 does not raise it until the 1053 is ready. (https://www.sparkfun.com/datasheets/Components/SMD/vs1053.pdf page 48 "After a hardware reset (or at power-up) DREQ will stay down for around 22000 clock cycles")
When pressing the reset button on the 8266, it does not check the GPIO pins and boots the sketch, which (I am guessing) is why I am able to get it to work after pressing the reset button.
But why is this not consistent across the other radios I've made?
Beta Was this translation helpful? Give feedback.
All reactions