Search found 1987 matches

by pasi
Tue 2022-06-28 15:52
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 14
Views: 215

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: 14
Views: 215

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...
by pasi
Mon 2022-06-27 9:21
Forum: Slave Decoder Applications
Topic: Ogg recording : only the first file is OK, next files are 1ko size
Replies: 1
Views: 27

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

You really need to reload the Ogg Vorbis Encoding application for every recording, because as far as I remember the Ogg Vorbis header (among others) is pre-loaded in the FIFO and will be overwritten by the encoded data. An alternative would be to use vs1063a/vs1163a/vs8063a, which contains the Ogg V...
by pasi
Sun 2022-06-19 11:37
Forum: DSP and Audio Software
Topic: VS1063 write to boot flash
Replies: 15
Views: 564

Re: VS1063 write to boot flash

I have had that happen myself. Writing a vs1063 boot image of about 13kB into a 8kB SPI EEPROM didn't quite work right...

Great that you got it working, and thanks for the report!
by pasi
Thu 2022-06-16 11:33
Forum: Microcontroller Software
Topic: How to use the vs1053b pitch/tempo shifter plugin?
Replies: 4
Views: 111

Re: How to use the vs1053b pitch/tempo shifter plugin?

Code upload problems often have to do with the wrong SPI speed or clock polarity. It is possible to verify what you've written by 1) not writing to AIADDR, 2) going through the patch/plugin data again, but instead of writing to WRAM, read from it and compare to the data value. Write to WRAMADDR norm...
by pasi
Tue 2022-06-14 8:49
Forum: Microcontroller Software
Topic: How to use the vs1053b pitch/tempo shifter plugin?
Replies: 4
Views: 111

Re: How to use the vs1053b pitch/tempo shifter plugin?

This is Adafruit's loadPlugin() function: uint16_t Adafruit_VS1053::loadPlugin(char *plugname) { .... if ((plugin.read() != 'P') || (plugin.read() != '&') || (plugin.read() != 'H')) return 0xFFFF; It seems that loadPlugin is actually loading SPI boot images (which start with "P&H"...
by pasi
Wed 2022-06-08 9:19
Forum: Microcontroller Software
Topic: negative signal clipping
Replies: 2
Views: 88

Re: negative signal clipping

That's right. The line input signals must be biased around the reference voltage (RCAP), just like the analog outputs LEFT/RIGHT (and GBUF) are biased around the reference signal (RCAP). The default reference is around 1.24V, but in newer chips can be configured to 1.65V. Usually you would have some...
by pasi
Fri 2022-06-03 8:58
Forum: Slave Decoder Applications
Topic: Ogg vorbis recording - non functional
Replies: 5
Views: 180

Re: Ogg vorbis recording - non functional

Great that it was resolved. A few notes for future readers: The analog inputs have protection diodes to AVDD and ground (like all pins have diodes to their respective supply voltage and ground), but of course they can also get broken due to high voltages, e.g. ESD. The SM_LINE1 bit in SCI_MODE is di...
by pasi
Fri 2022-06-03 8:45
Forum: DSP and Audio Software
Topic: VS1063 write to boot flash
Replies: 15
Views: 564

Re: VS1063 write to boot flash

Yes, in the standalone solution player.img should be a working boot image, and definitely intended to be loaded from SPI boot.

So, check that vs1063a actually tries to read the SPI EEPROM.
by pasi
Thu 2022-06-02 10:19
Forum: DSP and Audio Software
Topic: VS1063 write to boot flash
Replies: 15
Views: 564

Re: VS1063 write to boot flash

Great, a partial success at least. Do you see any SPI access by vs1063? Do you have GPIO0 high / pull-up on GPIO0 when you release reset? (There's also a trick of programming GPIO0 as output and high on the vs1063, then giving a software reset. This should/might force a boot from SPI.) The vs10xx SP...