Hi, Luca!
You are correct, but unfortunately the SPI hardware in VS10x3 does not support it!
-Panu/VLSI
vs1063 : g711/722 full duplex example
Re: vs1063 : g711/722 full duplex example
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
Re: vs1063 : g711/722 full duplex example
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.chitarrastonata wrote: ↑Mon 2019-10-21 20:45My 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?
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
-
- User
- Posts: 9
- Joined: Wed 2019-10-16 23:35
Re: vs1063 : g711/722 full duplex example
vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
Luca
Luca
Re: vs1063 : g711/722 full duplex example
G.711 intercom telephone system application using MEMS microphone and VS1010 UART.
-Panu
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.vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
Re: vs1063 : g711/722 full duplex example
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.chitarrastonata wrote: ↑Tue 2019-11-05 11:50vs1000/vs1005/vs1010 are NOT codec, they have only decoding functionality, i'm wrong?
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