VS1053 ogg streaming over RF-delay&noise

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
Post Reply
newspaper
Senior User
Posts: 25
Joined: Thu 2011-07-28 16:58

VS1053 ogg streaming over RF-delay&noise

Post by newspaper » Thu 2017-10-12 2:36

Hi,
We have a working product which uses vs1053b for mp3 playback.

I'm working on adding functionality of live streaming between two devices, which are connected over a simple rf link.

I'm Using the ogg encoder application to record data and vs1053b patches to play it back. The whole system seems to be working okay , but I would like some advice on the following two problems:
1. I'm using wideband voice profile 5, and sending data on the RF link in 32 byte packets, as soon as there are 16 words available at the encoder. This is causing a delay of about 2 seconds between mic input and headphone output. Reading some other posts, it seems the delay is because of the large fifo inside the vs1053b? Is there a way around it, since our application requires near real-time audio(max 0.5 seconds delay). Should I consider using ADPCM instead?

2. I'm using the reference circuit for microphone input from the vs1053b datasheet. Granted that my current implementation is crude, but I'm picking up a lot of RF noise. Could you suggest some modifications to low pass the mic input to reduce the RF noise?

Sorry for the long post and thanks for your time.

Best
newspaper

newspaper
Senior User
Posts: 25
Joined: Thu 2011-07-28 16:58

Re: VS1053 ogg streaming over RF-delay&noise

Post by newspaper » Mon 2017-10-16 4:44

Answering my own question (2), adding an external amplifier for the microphone and using the LINE IN mode, helped solved the RF noise problem.

Now to figure out the delay between the two ends of the system...

newspaper
Senior User
Posts: 25
Joined: Thu 2011-07-28 16:58

Re: VS1053 ogg streaming over RF-delay&noise

Post by newspaper » Tue 2017-10-17 2:43

Okay, I think I've understood that the reason for the delay between mic input and headphone out is because the ogg samples are 4096 words(minimum) with VS1053B Ogg encoder application.

Is there anyway to reduce this to 1024, same as Vs1063 in-build ogg encoder?

Thanks
Akshat

Post Reply