VS1053 - Playback Issue

Writing software for systems that use VLSI Solution's devices as slave codecs to a host microcontroller.
Post Reply
superpanda
User
Posts: 2
Joined: Thu 2018-07-05 19:22

VS1053 - Playback Issue

Post by superpanda » Thu 2018-07-05 19:36

Hi, I have 3 identical boards using the 1053 decoder. The 1053 is controlled by a micro controller running uPython. 2 of the boards operate normally with the expected playback and response the sine test etc etc.

The 3rd board does not have any audio output on the LEFT/RIGHT pins. I would normally assume an assembly issue (which I checked) but that does not appear to be the case. The only difference I can find between the boards is that I get an unexpected value for the SCI_MODE register after chip reset. On the 2 working boards I get the expected 0x4800 value. On the one without audio other I get 0x4890. It appears the the SM_EARSPEAKER_LO / SM_EARSPEAKER_HI bits are set on reset.

Since I can not see any physical issue with the assembly and the chip seems to respond normally to all commands could this unexpected default register value point to something? Of coarse setting the SCI_MODE register to the correct mode does not "fix" things. However, I am wondering if the unexpected default value might suggest a bad 1053?

Thanks -AP

User avatar
pasi
VLSI Staff
Posts: 1510
Joined: Thu 2010-07-15 16:04

Re: VS1053 - Playback Issue

Post by pasi » Wed 2018-07-11 10:31

If you see AUDATA as 0xac45, the vs1053 has booted in Real-Time MIDI mode. It would also explain the earspeaker bits.

Check the state of the GPIO0 and GPIO1 pins during reset/power-up. Pull both low (or both up).
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

superpanda
User
Posts: 2
Joined: Thu 2018-07-05 19:22

Re: VS1053 - Playback Issue

Post by superpanda » Thu 2018-07-19 14:22

Thank you. Your post was very helpful. Tough to find the issue but ultimately there was a solder bridge on the etch of the board. I say tough because an unpowered check of the board did not reveal. Somehow when the board was under power there was enough to pull that GPIO0 high enough to trigger MIDI mode.

Thanks again. -AP

User avatar
pasi
VLSI Staff
Posts: 1510
Joined: Thu 2010-07-15 16:04

Re: VS1053 - Playback Issue

Post by pasi » Fri 2018-07-20 14:49

You're welcome. We have come to know the most probable issues and detect them from the small clues. :D
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply