Does VS1053 Support i2s In and Out?

Writing software that inputs and/or outputs audio and performs DSP algorithms such as filters, new codecs or audio effects.
Post Reply
bayviewboom
User
Posts: 15
Joined: Wed 2019-11-27 9:49

Does VS1053 Support i2s In and Out?

Post by bayviewboom » Wed 2019-12-04 22:29

Does VS1053 Support i2s In AND Out, both?

Including with any of the equalizer applications and plugins.

Hannu
Senior User
Posts: 78
Joined: Mon 2016-05-30 11:54

Re: Does VS1053 Support i2s In and Out?

Post by Hannu » Thu 2019-12-05 8:36

I2S on VS1053 is output only. It gets its data from sample rate converter before DAC, so it is just few SCI writes to enable it. And it doesn't consume any memory as the processing is done with hardware. Everything sent to DAC is sent also to I2S. See datasheet chapter 11.14.

If you want input, VS1010 and VS1005 have it.

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2717
Joined: Tue 2010-06-22 13:43

Re: Does VS1053 Support i2s In and Out?

Post by Panu » Thu 2019-12-05 17:41

VS1053 I2S does not use the normal frame length and most i2s dacs can't handle it. VS1053 I2S uses 16 bits/sample, 32 bits/frame. Most i2s dacs expect 24/32 bits per sample and 64 bits/frame.
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

bayviewboom
User
Posts: 15
Joined: Wed 2019-11-27 9:49

Re: Does VS1053 Support i2s In and Out?

Post by bayviewboom » Fri 2019-12-06 0:28

Thx for replies.

Is there any plan to make your devices conform to I2S normal frame length, for compatability with most i2s dacs?
Or, a simple way to adapt your existing devices to the standard?

thx

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2717
Joined: Tue 2010-06-22 13:43

Re: Does VS1053 Support i2s In and Out?

Post by Panu » Sun 2019-12-08 15:45

Is there any plan to make your devices conform to I2S normal frame length, for compatability with most i2s dacs?
Or, a simple way to adapt your existing devices to the standard?
Hmm.. :D
Funny you should put it that way... You see, when the VS1053 was designed, 32 bits was a perfectly valid frame length for I2S. And according to the standard, it still is. But the world has moved on since (as have we). Most DACs have since given up that frame length in favor of only supporting 24 bits per sample. It would have been rather simple for those to keep supporting 32 bit frames, but they didn't. We didn't foresee this at the time, which was more than decade ago. And also, as our DAC was superior to most dacs with comparable cost in the market, I2S support wasn't a priority for us back then. But our modern architectures, VS1010 and VS1005 do support today's I2S frames. The VS1053/63 hardware does not. It's an aging architecture, but unlike most IC companies, we generally keep supporting our chips for years and years, even decades.

So, if you need I2S, you should use either VS1010 or VS1005. VS1010 for simple devices such as MP3+WAV players and simple signal processors (i2s out + i2s in), and VS1005 for more complex products and products needing wide codec support. VS1053 is (mainly) meant to be used in devices with analog output from a wide range of digital music formats, as well as analog signal processing (analog inputs to analog outputs)

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

bayviewboom
User
Posts: 15
Joined: Wed 2019-11-27 9:49

Re: Does VS1053 Support i2s In and Out?

Post by bayviewboom » Mon 2019-12-09 1:19

Fantastic info Panu.
Panu wrote:
Sun 2019-12-08 15:45
So, if you need I2S, you should use either VS1010 or VS1005.
Are there any equalizer applications or plugins that work on VS1010 or VS1005? If not, how easy/painful to port an existing equalizer to them?

thx!

Post Reply