Search found 1984 matches

by pasi
Sun 2022-06-19 11:37
Forum: DSP and Audio Software
Topic: VS1063 write to boot flash
Replies: 15
Views: 527

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: 90

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: 90

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: 83

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: 173

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: 527

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: 527

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...
by pasi
Thu 2022-06-02 9:21
Forum: Slave Decoder Applications
Topic: Ogg vorbis recording - non functional
Replies: 5
Views: 173

Re: Ogg vorbis recording - non functional

1. Is the resulting file a valid Ogg Vorbis file? You can attach a small one for us to check. 2. venc44k2q05.plg is a stereo version of the app. Do you get the same/similar low-level signal on both channels? If you only use line 1, then you probably want to use venc44k1q05.plg for mono. 3. What if y...
by pasi
Tue 2022-05-31 10:10
Forum: DSP and Audio Software
Topic: VS1063 write to boot flash
Replies: 15
Views: 527

Re: VS1063 write to boot flash

Sending the data from autoprog[] automatically starts the programmer. Are you changing your controller's UART speed to 115200 at this point? The programmer first checks the SPI memory using the REMS sequence and sends 0xdf + the response byte received from the SPI memory. Then it sends 0xdf + 0x40 (...
by pasi
Mon 2022-05-30 9:56
Forum: Microcontroller Software
Topic: Playing audio with left and right channel components on the vs1053b, and how to use a patch/plugin
Replies: 7
Views: 210

Re: Playing audio with left and right channel components on the vs1053b

The WAV headers of the three wav files look the same, and they all seem to play with my vs1053b setup (with and without the vs1053b patches package). Maybe you have some filesystem issue. For example, "leftright" is 10 characters and thus doesn't fit into 8.3-character filename. Renaming t...