Search found 361 matches

by Hannu
Thu 2022-04-14 8:59
Forum: VS1005 and VSOS Software
Topic: chaining i2s input & output
Replies: 18
Views: 5282

Re: chaining i2s input & output

There are at least two way I can think of. One is to use auxplay as base and rewrite it to work as your mixer. Then you have all the problems of multithreading. The other is to write your mixer as audio driver. It is easy. Basically you put the stdaudioin to point to your functions. And then it will...
by Hannu
Tue 2022-04-12 15:40
Forum: VS1005 and VSOS Software
Topic: # VSOS3 Boot Configuration Sel
Replies: 6
Views: 168

Re: # VSOS3 Boot Configuration Sel

Ooops.

That schematics has a wrong feature: R8 should be pull-up for 3V3 IOVDD.

GPIO0_7: external pull-down resistor for 1.8 V I/O voltage, pull-up resistor for 3.3 V I/Ovoltage
by Hannu
Tue 2022-04-12 14:11
Forum: VS1005 and VSOS Software
Topic: # VSOS3 Boot Configuration Sel
Replies: 6
Views: 168

Re: # VSOS3 Boot Configuration Sel

If I understood correctly, you have something like I quickly sketched below. some_idea.png If your external controller has 3V3 I/O, something like that circuit should work. The 10k resistor shouldn't break signal integrity. As long as you don't change their state. Also it hasn't been problem with VS...
by Hannu
Tue 2022-04-12 11:51
Forum: VS1005 and VSOS Software
Topic: chaining i2s input & output
Replies: 18
Views: 5282

Re: chaining i2s input & output

Oh that I missed. With auinput. Have a look at documentation https://www.vlsi.fi/fileadmin/software/ ... _Audio.pdf
by Hannu
Mon 2022-04-11 15:06
Forum: VS1005 and VSOS Software
Topic: # VSOS3 Boot Configuration Sel
Replies: 6
Views: 168

Re: # VSOS3 Boot Configuration Sel

You have external controller and VS23S connected to the GPIO0..4 pins? Use it to select to config during the start up and use s:config.txt to load the drivers. No need to make kernel changes. Or is there some problem with this?
by Hannu
Mon 2022-04-11 14:16
Forum: VS1005 and VSOS Software
Topic: chaining i2s input & output
Replies: 18
Views: 5282

Re: chaining i2s input & output

Hi! Your mixer program does currently same thing as AUXPLAY. To test your mixer, your config.txt should look something like this: RUN SetClock -l 87 60 SDSD D #This order stdaudioout is DAC, flip i2s and DAC parts and stdaudioout is then I2S AUXI2SM s #I2S configuration RUN auinput -b16 -r48000 AUOD...
by Hannu
Mon 2022-04-11 10:49
Forum: VS1005 and VSOS Software
Topic: # VSOS3 Boot Configuration Sel
Replies: 6
Views: 168

Re: # VSOS3 Boot Configuration Sel

Fragmentation First of all, have you confirmed that you are experiencing problems with fragmentation? (there is a program called frags to help with this) Fragmentation causes usually two kinds of problems. One is that you are out of memory. The second is the nasty one. Everything works most of the ...
by Hannu
Fri 2022-04-08 16:06
Forum: VS1005 and VSOS Software
Topic: I2S audio driver in Master mode,HOW TO set the BCLK parameter
Replies: 3
Views: 128

Re: I2S audio driver in Master mode,HOW TO set the BCLK parameter

MCLK is fixed to XTALI. Also the I2S HW is clocked from XTALI. That way you get good clocking for your external DAC. PLL based clocking options wouldn't be as good as crystal locked.

If you want specific N*fs MCLK, change the Fs.
by Hannu
Fri 2022-04-08 14:06
Forum: VS1005 and VSOS Software
Topic: I2S audio driver in Master mode,HOW TO set the BCLK parameter
Replies: 3
Views: 128

Re: I2S audio driver in Master mode,HOW TO set the BCLK parameter

BCK is bit the clock. It is always 2*16 or 2*32 time Fs

You want MCLK to be X*fs. MCLK is 12.288 MHz. 48 kHz sampling rate is 256 times lower than MCLK 96 kHz is 128.
by Hannu
Wed 2022-04-06 16:00
Forum: VS1005 and VSOS Software
Topic: ADC input sets the difference between the two modes. I want to set it to 48K32BIT mode
Replies: 7
Views: 269

Re: ADC input sets the difference between the two modes. I want to set it to 48K32BIT mode

You forgot auinput -b32.

You need to have same samplerate and bitwidth in input and output.