Skip to content
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

Reset Circuit with 2 Diodes not working with VS1053b? #200

Open
HoerMirAuf opened this issue Apr 12, 2021 · 1 comment
Open

Reset Circuit with 2 Diodes not working with VS1053b? #200

HoerMirAuf opened this issue Apr 12, 2021 · 1 comment

Comments

@HoerMirAuf
Copy link

First, thank you for this great Project.

I build my WebRadio without Display and 3 Button usage on GPIO2, GPIO15, GPIO0
The both Diodes from VS1053B-Reset to GND Result to a not working VS1053b

Set the VS1053b-Reset up to 5V by a 10K Resistor an all working well.

Is this a bug in the circuit? Or why this not working if the Diodes connected to GND?

@Derek-K
Copy link

Derek-K commented Jul 2, 2021

Check your wiring again. XRST with 1k pull down to GND, and the two diodes connect to GPIO 16 & GPIO 5.

The diodes acted as OR gate. During normal operations, XCS and/or XDCS will be high, so XRST will always high. The only time goes low is when XCS & XDCS goes low during init (line 575-577)

Esp-radio/Esp_radio.ino

Lines 575 to 577 in 56e57fc

dbgprint ( "Reset VS1053..." ) ;
digitalWrite ( dcs_pin, LOW ) ; // Low & Low will bring reset pin low
digitalWrite ( cs_pin, LOW ) ;

BTW, if I am not mistaken VS1053B is a 3.3V part, pull up to 5V might damage it in the long run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants