Search found 561 matches

by Hannu
Wed 2025-04-09 9:26
Forum: VS1005 and VSOS Software
Topic: Avoid 74HC138 and 74HC574 on VS1005 board
Replies: 2
Views: 802

Re: Avoid 74HC138 and 74HC574 on VS1005 board

Dear all, I'm going to design a PCB where the VS1005 uses the SD card only. It boots from internal flash. Without external flash. There is no NAND flash. You are quite close to break out board mk 2. It is probably the smalles thing which you can build if analogs are wanted. It doesn't have external...
by Hannu
Wed 2025-04-02 11:10
Forum: VS1010 Forum
Topic: VS1010 usb audio stream to I2S
Replies: 11
Views: 4134

Re: VS1010 usb audio stream to I2S

Hi, Actually there are no usable tools because writing a generic generator tool is between hard and impossible. Usually I just write some throw away code which checks something and hand craft the descriptors. This is non-optimal situation but best that there is. However it isn't that hard on pc to w...
by Hannu
Thu 2025-03-27 15:08
Forum: VS1010 Forum
Topic: VS1010 usb audio stream to I2S
Replies: 11
Views: 4134

Re: VS1010 usb audio stream to I2S

Hi, Implementing volume controls and mutes to descriptor for 5 channel audio is one thing. Another is how the USB host supports the control. And as Pasi mentioned, there are selectors, mixers, compressors and other effects available on the USB interface. However I don't know any host system which us...
by Hannu
Tue 2025-03-25 11:22
Forum: VS1010 Forum
Topic: VS1010 usb audio stream to I2S
Replies: 11
Views: 4134

Re: VS1010 usb audio stream to I2S

With a USB composite device making a DAC + CDC UART. The VS1010 has 4 endpoints. 4 in and 4 out. One pair (0) goes to setup. another pair for DAC and feedback. CDC requires data pair and interrupt and after that one out endpoint is left. So it is doable and tedious, but after features adding feature...
by Hannu
Fri 2025-03-21 11:11
Forum: VS1005 and VSOS Software
Topic: Detect an audio signal on Aux1
Replies: 2
Views: 3245

Re: Detect an audio signal on Aux1

I think something like this in config.txt would do the trick #UART driver uartin #setclock in startup is needed run setclock 60 #ADC driver to stdaudioin auiadc s # Input selection and 48 kHz 32b run auinput line2_1 line2_2 -r48000 -b32 #DC block ftidcbl #I2S output to stdaudioout auoi2sm s # Output...
by Hannu
Fri 2025-03-21 9:51
Forum: VS1010 Forum
Topic: VS1010 usb audio stream to I2S
Replies: 11
Views: 4134

Re: VS1010 usb audio stream to I2S

Without testing, I would say that VS1010 DAC, sends USB audio also to I2S. And if the USB host changes the volume or mutes it, the volume changes in the I2S too. Some status pins are available. GPIO2_0 16/16+ bits per sample GPIO2_1 sample rate >48k and I think GPIO2_0 is if host is sending audio. T...
by Hannu
Fri 2025-02-28 14:30
Forum: Stand-Alone Applications
Topic: vs1005 as usb audio device
Replies: 9
Views: 11563

Re: vs1005 as usb audio device

Hi, I gave this problem some more thought on porting to VS1010. If there aren't some VS1005 specific features required, like huge memory or AD converters and recorder features, most programs can be ported to VS1010. MP3 decoding works on VS1010, USB host is supported and SD-card also works on both. ...
by Hannu
Fri 2025-02-28 9:37
Forum: Stand-Alone Applications
Topic: vs1005 as usb audio device
Replies: 9
Views: 11563

Re: vs1005 as usb audio device

Problem with VS1005 USB audio is hardware related. And there hasn't been a new revision. So unfortunately only chip from VLSI which can do USB audio is VS1010.
by Hannu
Tue 2025-02-18 16:33
Forum: VS1005 and VSOS Software
Topic: Mono recording issues
Replies: 7
Views: 5344

Re: Mono recording issues

OK I have implemented this and it works great. There was a little adjusting needed so i put that below for any others using this as a reference. It did halve the length of the recording but this was obviously a really easy fix. I did have an issue where I needed to select the right channel, this pu...
by Hannu
Tue 2025-02-18 15:46
Forum: VS1005 and VSOS Software
Topic: Programatically reset device with C
Replies: 7
Views: 5816

Re: Programatically reset device with C

Nice to hear that the solution worked. And you can use this as watchdog too. If you start watchdog and enter to while(1); you'll get a reset. On normal cases, you have to feed it before timeout or it bites you. The length of the timeout is something to think about. However, if you are doing a record...