VS1005 I2S full-duplex

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
darlu72
User
Posts: 2
Joined: Thu 2017-04-27 23:52

VS1005 I2S full-duplex

Post by darlu72 » Thu 2017-04-27 23:58

Hello,

Does the VS1005 I2S interface support full-duplex transmission of the audio data ?
If yes, Is the firmware also able to deal with it , eg. record and play in the same time on the I2S ?
or there is need of a custom sw/player to be written ?

Thank you

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

Re: VS1005 I2S full-duplex

Post by pasi » Fri 2017-04-28 15:02

The I2S hardware of VS1005 is full-duplex, it is capable of sending and receiving at the same time with the same clock.

However, the samplerates need to match or you need additional protocols to transfer data to both directions at the same time.

With simultaneous encoding and decoding the biggest limitation is memory. Just like in vs1063a codec mode, you can perhaps run both an encoder and decoder of some simple format (linear PCM, IMA ADPCM, g.722 ADPCM) at the same time, but you cannot encode and decode mp3 or Ogg Vorbis at the same time.

I think the most often used mode for full-duplex I2S is filtering, i.e. receiving audio data from I2S, processing it, and sending the processed version back through I2S.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

darlu72
User
Posts: 2
Joined: Thu 2017-04-27 23:52

Re: VS1005 I2S full-duplex

Post by darlu72 » Sat 2017-04-29 0:42

This sounds nice.

Please, for some other questions:
- Is any way for UART to have RTS/CTS flow control ?
- is it supported microphone detection on the head/earphone someway ?

Thank you.

Post Reply

Who is online

Users browsing this forum: No registered users