vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

Writing software for systems that use VLSI Solution's devices as slave codecs to a host microcontroller.
Post Reply
Ocean_811
User
Posts: 6
Joined: Tue 2022-04-05 11:47

vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

Post by Ocean_811 »

I want to try using codec vs1003 in intercom. it is assumed that when talking on the handset, the sound from the line will be sent to the codec so that this sound is reproduced in the headphones. At the same time, I need to send data from the codec microphone to the interlocutor's line. Tell me if this is real? Recording and playback separately work, but not together.
User avatar
pasi
VLSI Staff
Posts: 2019
Joined: Thu 2010-07-15 16:04

Re: vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

Post by pasi »

The audio paths of vs1003b are pretty limited. If you need simultaneous DAC and ADC functions, the available samplerates are limited, and you need a separate application. You can try the "8 kHz Phone/Headset Application" from https://www.vlsi.fi/en/support/software ... tions.html .

vs1063a has a "codec mode" you can use for two-way communication.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Ocean_811
User
Posts: 6
Joined: Tue 2022-04-05 11:47

Re: vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

Post by Ocean_811 »

Thanks for the answer. I tried "8 kHz Phone/Headset Application". And I have a question. The data that I take from the codec from the register HDAT0, is it without the result of echo cancellation?

P.S. The reason for using a codec on an intercom is for echo cancellation. When using the application "8 kHz Phone/Headset Application" during a call to the handset, there is no self-excitation on the intercom panel (I soldered a channel to the speaker of the panel), but the signal that I take from the codec and send to the handset looks like it has a panel echo. If you turn off the sound on the panel, then everything is fine, but full duplex does not work.
User avatar
pasi
VLSI Staff
Posts: 2019
Joined: Thu 2010-07-15 16:04

Re: vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

Post by pasi »

The 8kHz Phone Application doesn't have echo cancellation.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Ocean_811
User
Posts: 6
Joined: Tue 2022-04-05 11:47

Re: vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

Post by Ocean_811 »

I saw a presentation like this. Can you please tell me which vs1003 application it belongs to? I was able to find on the site
Attachments
presentation.png
presentation.png (67.93 KiB) Viewed 672 times
Post Reply