ArduinoGeneral

DFPlayer "SerialWrongStack" error : what does it mean ?

userHead Samy.RABIH 2023-02-06 23:38:13 858 Views2 Replies

Hi !

I use DFPlayer on one of my projects (on a small PCB, driven by a Seeeduino Xiao). The circuit is very simple, and I already produced 10 pieces.

 

But on my last sample, I encounter a strange error : I get “Get wrong stack” error (when I use the test code from DFPlayer wiki page).

 

All contacts are OK, the PCB are produced by JLCPCB (not homemade-PCBs), same operating mode.

 

The test code shows the DFPlayer is online, but I got timeout error and “get wrong stack” error.

 

The documentation doesn't explain the purpose of this error code, do you have any idea ?

 

Thanks

2023-02-07 04:07:48

No changes :(

userHeadPic Samy.RABIH
2023-02-06 23:48:04

I found some details here : https://github.com/Makuna/DFMiniMp3/wiki/Notification-Method#static-void-onerrordfmp3-mp3-uint16_t-errorcode

 

So I will check wiring 

userHeadPic Samy.RABIH