how to use VS1063'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
Churmenton
Senior User
Posts: 80
Joined: Wed 2012-07-11 15:58

how to use VS1063'i2s

Post by Churmenton »

hi all,
i don't quite understand the i2s of vs1063,can you tell me how to use it ?and tell me how to configure the register?as we can configure the i2s_config to control the i2s,such as i2s_mclk,i2s_sclk,but the i2s_lrout is how to control,where is config to the i2s_lrout?i want to select the right/left channel ,how to realize it?what should i do ?
last,please tell me the difference between i2s_mclk and i2s_sclk,awaiting your reply!

best,
-churmenton
Churmenton
Senior User
Posts: 80
Joined: Wed 2012-07-11 15:58

Re: how to use VS1063'i2s

Post by Churmenton »

hi,
i don't understand the"GPIO7 I2S_SDATA DIO General purpose io 7/i2s_sdata" and "i2s interface for external DAC"in datasheet,what is the mean? i feel it is contradictory!!
User avatar
Panu
VSDSP Expert
Posts: 2829
Joined: Tue 2010-06-22 13:43

Re: how to use VS1063'i2s

Post by Panu »

Each pin can be GPIO or a peripheral function such as I2S.

If you enable the I2S, then the pins will be I2S pins.

If you disable the I2S, then the pins will be GPIO

-Panu
User avatar
Henrik
VLSI Staff
Posts: 1311
Joined: Tue 2010-06-22 14:10

Re: How to use VS1063's I2S

Post by Henrik »

This Wednesday we have updated the VS1063 Datasheet so that it better explains how to activate I2S.
For details, please read Chapter 10.13, I2S Output from the datasheet, available at http://www.vlsi.fi/fileadmin/datasheets ... 1063ds.pdf .

Kind regards,
- Henrik
Good signatures never die. They just fade away.
Churmenton
Senior User
Posts: 80
Joined: Wed 2012-07-11 15:58

Re: how to use VS1063'i2s

Post by Churmenton »

dear henrik,
thanks very much,you help all clients,i think you should change the Pin Type of GPIO7/I2S_SDATA to DO in Chapter five ,i think the GPIO7/I2S_SDATA can used as output only,no input.please check it carefully,thanks! :) :) :)
User avatar
Panu
VSDSP Expert
Posts: 2829
Joined: Tue 2010-06-22 13:43

Re: how to use VS1063'i2s

Post by Panu »

Hi!

It can be input, but only if it is set to be GPIO.

The pad is an input/outpud pad, but the I2S is only output. GPIO7 is input/output. I2S_SDATA is output.

-Panu
Post Reply