Search found 1995 matches

by pasi
Fri 2022-07-01 9:35
Forum: Stand-Alone Applications
Topic: What does this capacitor do?
Replies: 7
Views: 46

Re: What does this capacitor do?

Note that the analog to digital conversion value is not exactly scaled to fill the GND-to-2xRCAP range. You won't get exactly -32768 when the line input is at the GND potential. The digital gain, however, is always fixed, unlike the RCAP value, which varies from IC to IC and also varies with tempera...
by pasi
Fri 2022-07-01 9:21
Forum: Slave Decoder Applications
Topic: Looking for WAV recording example
Replies: 3
Views: 26

Re: Looking for WAV recording example

Did you check the "Microcontroller Playback and Recording Example using VS1053" from http://www.vlsi.fi/en/support/software/ ... tware.html ?
by pasi
Thu 2022-06-30 12:30
Forum: Slave Decoder Applications
Topic: Ogg recording : only the first file is OK, next files are 1ko size
Replies: 11
Views: 71

Re: Ogg recording : only the first file is OK, next files are 1ko size

From the view of that specific board, it's unlikely the needed pins are easily accessible. You would need GPIO0, GPIO1, GPIO2, and DREQ to connect the SPI memory, and only DREQ is easily accessible. For the others you would probably need to solder wires directly to the vs1053 pins. Anyway, even if t...
by pasi
Thu 2022-06-30 12:24
Forum: Stand-Alone Applications
Topic: What does this capacitor do?
Replies: 7
Views: 46

Re: What does this capacitor do?

The ADC does provide negative numbers for voltages that are below the reference (RCAP), and positive for the values above the reference (RCAP). RCAP is 1.24V by default. The voltage in any chip pin must not exceed the specifications (not below GND, and not above AVDD in the case of an analog input p...
by pasi
Thu 2022-06-30 12:14
Forum: Slave Decoder Applications
Topic: Ogg recording : only the first file is OK, next files are 1ko size
Replies: 11
Views: 71

Re: Ogg recording : only the first file is OK, next files are 1ko size

Sorry, it should've been GPIO0 (and not xCS)... I edited the post. GPIO0 is the chip select used for the EEPROM during SPI boot. If the pin is low during hardware or software reset, the vs1053 assumes there is no SPI boot device. If it is pulled high during hw/sw reset, vs1053 tries to boot from any...
by pasi
Thu 2022-06-30 11:53
Forum: Slave Decoder Applications
Topic: Ogg recording : only the first file is OK, next files are 1ko size
Replies: 11
Views: 71

Re: Ogg recording : only the first file is OK, next files are 1ko size

There is another option to speed up the loading of the vs1053b Ogg Vorbis application. It could be made to be loaded from 64kB (1024kbit) SPI EEPROM. The release on the web doesn't include a spi-bootable version at the moment, but we tested the idea here, and it seems to work. (After we remembered t...
by pasi
Thu 2022-06-30 9:57
Forum: Slave Decoder Applications
Topic: Ogg recording : only the first file is OK, next files are 1ko size
Replies: 11
Views: 71

Re: Ogg recording : only the first file is OK, next files are 1ko size

In vs1053b you need to generate the WAV headers yourself and do the byte order swap -- see the datasheet for details. With vs1063a the WAV headers are part of the encoded stream, you only need to fix the size fields in the WAV header when you finish encoding. There are some plugin / patch loading sp...
by pasi
Thu 2022-06-30 8:39
Forum: Stand-Alone Applications
Topic: What does this capacitor do?
Replies: 7
Views: 46

Re: What does this capacitor do?

The "zero-point" of the vs10xx Analog to Digital converter (and the analog outputs as well) is at the RCAP voltage, normally 1.24V, potentially 1.65V if the higher reference has been configured. The audio signal revolves around this zero-point. In the ADC input, the voltage at the pin shou...
by pasi
Tue 2022-06-28 15:52
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 17
Views: 266

Re: Designing my PCB.. Have some questions

If you can spare one GPIO, you can perform attach and detach detection from VBUS, like it should be done and do without the 1M pull-ups. If you also want to use the port with system's USB drivers, you might need a bit of patching. AVDD is raised during USB operation for compliant levels. (I'm not su...
by pasi
Mon 2022-06-27 16:53
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 17
Views: 266

Re: Designing my PCB.. Have some questions

A few starting points: - To control the resistors, the USB needs to be set to NOHIGHSPEED and enabled in USB_CF, and naturally all respective analog powers and bias generators enabled in the ANA_CF registers. - For the host pull-downs the USB needs to be in host (master) mode, possibly. For the 1.5k...