vs1063 : g711/722 full duplex example

Writing software for systems that use VLSI Solution's devices as slave codecs to a host microcontroller.
User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2715
Joined: Tue 2010-06-22 13:43

Re: vs1063 : g711/722 full duplex example

Post by Panu » Mon 2019-10-21 20:56

Hi, Luca!

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

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

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

Re: vs1063 : g711/722 full duplex example

Post by pasi » Wed 2019-10-23 11:21

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.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

chitarrastonata
User
Posts: 9
Joined: Wed 2019-10-16 23:35

Re: vs1063 : g711/722 full duplex example

Post by chitarrastonata » Tue 2019-11-05 11:50

vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
Luca

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

Re: vs1063 : g711/722 full duplex example

Post by Panu » Tue 2019-11-05 12:18

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
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

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

Re: vs1063 : g711/722 full duplex example

Post by pasi » Tue 2019-11-05 12:40

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.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply