VS1063a audio input to I2S

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
Post Reply
Posts: 1
Joined: Mon 2020-09-28 20:29

VS1063a audio input to I2S

Post by jmcexx »

Hi, my understanding is the I2S is an output from the VS1063a and is a copy of what is being sent to the DAC.

As part of a test mode, I would like to pass the raw data from the ADC to the I2S output. Is there a "bypass" type mode to pass the audio in to audio out? See attached path I'm asking about.
VS1063A_Audio_to_i2s.jpg (45.78 KiB) Viewed 2030 times
Thank you,
User avatar
VSDSP Expert
Posts: 2826
Joined: Tue 2010-06-22 13:43

Re: VS1063a audio input to I2S

Post by Panu »

The I2S output is a copy of the DAC output, when enabled. So any recording mode which has monitor output to headphones can be output to the I2S out.

But please note that the VS1053/VS1063 I2S output is 16-bit (16 bits per sample, 32 bits per frame), and only very few I2S DACs that really are strictly I2S compliant can understand the 16-bit data.

Almost all I2S dacs expect 24 bits per sample, 64 bits per frame and they usually will not output any audio from a 16-bit source.

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

Re: VS1063a audio input to I2S

Post by pasi »

You can start the encoding mode with the preferred channel(s), samplerate (48kHz), and encoding mode (PCM) to get the ADC monitoring at the DAC output. You don't need to read the encoded data.

Then see from the vs1063a datasheet how to enable the I2S output by performing a few SCI (serial control interface) writes.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Post Reply