Search found 2123 matches

by pasi
Fri 2024-04-19 15:11
Forum: Stand-Alone Applications
Topic: XRESET Capacitor Value.
Replies: 1
Views: 13

Re: XRESET Capacitor Value.

Hi, I suggest 100nF. When the voltage of IOVDD is a diode threshold voltage lower than xRESET, the charge in the capacitor starts to be discharged through the xRESET pin's protection diode to IOVDD. Because IOVDD drops slowly due to its own bypass capacitors, the current shunted through the protecti...
by pasi
Wed 2024-04-10 12:24
Forum: System Software
Topic: VS1000 power off transient.
Replies: 2
Views: 72

Re: VS1000 power off transient.

In vs1000 there is a common shutdown bit for all regulators. Also, in vs1000 the crystal oscillator works from IOVDD, so turning off IOVDD would mean the chip can never start up under software control anymore. The same applies to xRESET, that is referenced to IOVDD, and would assert if IOVDD is lost...
by pasi
Tue 2024-04-02 10:51
Forum: Stand-Alone Applications
Topic: VS1053b - reducing general midi latency?
Replies: 6
Views: 145

Re: VS1053b - reducing general midi latency?

However, are there any commands I can transmit to the stock firmware on vs1053b through a serial terminal to see that it responds at all? I haven't been able to get any response from it yet. The RT-Midi mode takes over the UART, but if you power up in normal mode (GPIO0 and GPIO1 low, or both high ...
by pasi
Wed 2024-03-27 14:28
Forum: Stand-Alone Applications
Topic: VS1053b - reducing general midi latency?
Replies: 6
Views: 145

Re: VS1053b - reducing general midi latency?

Take a look at VS1003b/VS1033c/VS1053b Real-Time MIDI Input Application from https://www.vlsi.fi/en/support/software/vs10xxapplications.html . The vs1053b version contains a fixed handclap sound and a few others. When you get that working with the Adafruit board, I can compile versions with differen...
by pasi
Tue 2024-03-26 16:35
Forum: Stand-Alone Applications
Topic: VS1053b - reducing general midi latency?
Replies: 6
Views: 145

Re: VS1053b - reducing general midi latency?

The Audio output FIFO is 2048 stereo samples, 46.4ms at 44100Hz samplerate. The vs1053b realtime MIDI mode generates 64 new samples whenever the fill state is < 512 samples (8*64), i.e. 11.6ms at 44100Hz. So, this matches your observations. The threshold could be reduced by replacement code/patch. H...
by pasi
Thu 2024-03-07 14:16
Forum: Slave Decoder Applications
Topic: Certain OGG files fail to play back
Replies: 3
Views: 130

Re: Certain OGG files fail to play back

Yeah, random issues are hard to figure out.

You are probably just using one board and cannot compare the operation between different individuals?
by pasi
Mon 2024-03-04 14:20
Forum: Slave Decoder Applications
Topic: Certain OGG files fail to play back
Replies: 3
Views: 130

Re: Certain OGG files fail to play back

Hi, The file plays with vs1053b-patches active (tested with version 2.9), but doesn't play without the vs1053b-patches. The serial number is 0x9dff06f8, and looking at the Vorbis-related fixed I don't see any other reason why the file would not play without the patches. Maybe the patch upload has is...
by pasi
Mon 2024-02-19 14:40
Forum: VS1010 Forum
Topic: VS1010 USB I2S ADC
Replies: 7
Views: 2869

Re: VS1010 USB I2S ADC

Declaring 24-bit and 32-bit sample sizes in the USB Audio descriptor is easy. However, most of the time 16 bits is already enough to reach the limit of the digital to analog converter. The extra bits can be ignored and the result is exactly the same. Even when using an (external) ADC and/or DAC that...
by pasi
Fri 2024-02-09 15:02
Forum: DSP and Audio Software
Topic: MP3 playback, pitch control
Replies: 3
Views: 204

Re: MP3 playback, pitch control

The list gets bigger the more into detail you go about the functionality. The ROM functionality is described in the datasheets. For the slave decoders the first page of the datasheet lists the important things like decoders, encoders, and "effects". The functionality can be extended by loa...
by pasi
Thu 2024-02-08 12:54
Forum: Microcontroller Software
Topic: ESP32 library for Sparkfun VS1053 module
Replies: 5
Views: 1931

Re: ESP32 library for Sparkfun VS1053 module

SCI_HDAT1 is the SCI register number 9. See the datasheet for the SCI register descriptions. (There are only 16 SCI registers, so 0x1a may be interpreted as SCI_AIADDR.)

HDAT1 is 0 when nothing is decoded and shows the detected format otherwise.