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
Senior User
Posts: 67
Joined: Wed 2019-11-27 9:49

Does VS1053 Support i2s In and Out?

Post by bayviewboom »

Does VS1053 Support i2s In AND Out, both?

Including with any of the equalizer applications and plugins.
Hannu
Senior User
Posts: 158
Joined: Mon 2016-05-30 11:54

Re: Does VS1053 Support i2s In and Out?

Post by Hannu »

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
VSDSP Expert
Posts: 2816
Joined: Tue 2010-06-22 13:43

Re: Does VS1053 Support i2s In and Out?

Post by Panu »

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.
bayviewboom
Senior User
Posts: 67
Joined: Wed 2019-11-27 9:49

Re: Does VS1053 Support i2s In and Out?

Post by bayviewboom »

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
VSDSP Expert
Posts: 2816
Joined: Tue 2010-06-22 13:43

Re: Does VS1053 Support i2s In and Out?

Post by Panu »

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
bayviewboom
Senior User
Posts: 67
Joined: Wed 2019-11-27 9:49

Re: Does VS1053 Support i2s In and Out?

Post by bayviewboom »

Fantastic info Panu.
Panu wrote: Sun 2019-12-08 15:45So, 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