Page 2 of 2

Re: vs1063 : g711/722 full duplex example

Posted: Mon 2019-10-21 20:56
by Panu
Hi, Luca!

You are correct, but unfortunately the SPI hardware in VS10x3 does not support it!

-Panu/VLSI

Re: vs1063 : g711/722 full duplex example

Posted: Wed 2019-10-23 11:21
by pasi
chitarrastonata wrote:
Mon 2019-10-21 20:45
My initial expectation was that when I send data to the decoder in the same SPI frame I read the encoded data. is it possible to set this modality?
The serial data interface (SDI) is write direction only (to vs10xx), I2S is output only (in vs1005 and vs1010 it's in/out), and the serial control interface is simplex (read or write), so it's not possible for the hardware.

Like I said before, the decoding and encoding rates do not need to be the same, and if they vary, simultaneous bidirectional transfer would still need protocol and signaling about fill states.

Mainly though, we're limited by the hardware which is backwards compatible to the 20-year-old vs1001.

Newer chips vs1000, vs1005, and vs1010 have more configurable SPI (and I2S) interfaces.

Re: vs1063 : g711/722 full duplex example

Posted: Tue 2019-11-05 11:50
by chitarrastonata
vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
Luca

Re: vs1063 : g711/722 full duplex example

Posted: Tue 2019-11-05 12:18
by Panu
G.711 intercom telephone system application using MEMS microphone and VS1010 UART.
vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
It depends. VS1010 is only decoder. VS1005 can do anything, if the correct software is available. VS1010 can do something simple, using either a MEMS digital microphone or I2S input.

-Panu

Re: vs1063 : g711/722 full duplex example

Posted: Tue 2019-11-05 12:40
by pasi
chitarrastonata wrote:
Tue 2019-11-05 11:50
vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
VS1000 doesn't have ADCs, so it's really a system-on-a-chip player, decoding Ogg Vorbis, or with a help of user code some WAV subformats.

VS1005 has mp3 encoder in ROM, and vs1005 and vs1010 can load decoders and other drivers to do quite a lot more. Both tend to want to be master processors. (VS1010 doesn't have ADCs built-in, but you could use MEMS mic etc.)

I'm not sure if anyone has built an actual codec application - full-duplex encoding and decoding at the same time - with the loadable encoders and decoders. The amount of memory and CPU needed will limit to what's possible.