VS1053b - No luck with flac

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
User avatar
pasi
VLSI Staff
Posts: 1552
Joined: Thu 2010-07-15 16:04

Re: VS1053b - No luck with flac

Post by pasi » Fri 2019-04-12 10:19

drmoth wrote:
Fri 2019-04-12 9:10
I've tried the jumi10.ogg file linked above, and it works regardless of whether I load the patch or not. Is this normal?
Ah, you should try jumi.ogg instead (attached). It has the correct number of bytes before the Ogg header to trigger the issue.
drmoth wrote:
Fri 2019-04-12 9:10
I've tried reading HDAT1 and it gives me 0x4F67 for Ogg but either freezes or returns zero for flac.
VS1053b does not support FLAC without the patch, so without the patch you get 0x0000 from HDAT1.

You should get "fL" 0x664c with FLAC if the patch is loaded. However, it's possible the whole patch hasn't been loaded correctly.

You could try to verify the patch load by going over the patch again (without starting it), but instead of writing to WRAM, you read from it (but write to WRAMADDR as before).
Attachments
jumi.ogg
(9.9 KiB) Not downloaded yet
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply