baldram / ESP_VS1053_Library

A library for VS1053 MP3 Codec Breakout adapted for Espressif ESP8266 and ESP32 boards.
https://platformio.org/lib/show/1744/ESP_VS1053_Library
GNU General Public License v3.0
114 stars 36 forks source link

Can't read SCI registers? #56

Closed mattfromeurope closed 4 years ago

mattfromeurope commented 4 years ago

Hi,

I'm trying to get this library to work. I can compile the Web Radio test program, but when I run it, the debug output shows: testComm(): VS1053 error retry SB:012C R1:0000 R2:0000 And similar. And of course, there's no sound whatsoever.

It seems like the ESP32 can't read the SCI registers via SPI - or did I understand it wrong?

I wired it exactly as put in the example. I'm getting pretty iffy, as I can't use the MP3 board!

My hardware:

Anything I can do on my side to get it working?

baldram commented 4 years ago

Hi, thank you for trying. It have taken a while since I played with this stuff. Similar issues I had if the wiring was incorrect. Even GND cable is important and of course other while properly defined in the program. I would recommend to double check the wiring. I thing it's a good idea to start with the simplest hello world program from examples, the mp3 player. Then radio if any sound works.

Good luck

mattfromeurope commented 4 years ago

OK. I redid the wiring, and now I don't get any error messages anymore - at least in the mp3 player demo. However, I still can't hear sound. Any ideas what I could have done wrong?

baldram commented 4 years ago

Good to hear. It still sounds like some hardware issue. I remember that correct wiring was very important, as not always reported with errors. Sometimes I had a problem like the correctly wired board stopped working (the same setup was earlier ok, no modifications later). The problem was that one of the cables was not conducting, it was disconnecting sometimes.

I experimented with different boards. The test report is here: #1 . Even no errors I would still suggest to double-check looking at different set ups from mentioned link. The smallest details are important here.

PS: Also, please see similar issue here #38 . Even basic check was passed, there was still no sound. That's why I still suggest to double-check wiring looking at examples from #1 .

Fingers crossed 🤞

baldram commented 4 years ago

Closing issue for inactivity. Solution suggestions above.