Search found 2006 matches

by pasi
Tue 2022-08-02 14:06
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 27
Views: 949

Re: Designing my PCB.. Have some questions

The 0.7x is an example of how the levels of digital output pins are defined in the datasheet. The USB pins are technically analog pins, as they are powered from AVDD. The high output should be about one diode drop / threshold voltage below the supply. In my observations of vs1000 about 0.2V on avera...
by pasi
Mon 2022-08-01 9:24
Forum: VS1005 and VSOS Software
Topic: Designing my PCB.. Have some questions
Replies: 27
Views: 949

Re: Designing my PCB.. Have some questions

While a pullup (including a controllable one, depending on implementation) always provides "output" up to the rail voltage, an active output driver cannot drive up to its supply voltage. For example the high output level of the digital pins is guaranteed 0.7x IOVDD. USB Full Speed will pro...
by pasi
Thu 2022-07-21 10:03
Forum: Microcontroller Software
Topic: How to use the Sine Test on the VS1053b
Replies: 2
Views: 73

Re: How to use the Sine Test on the VS1053b

Note that by writing 0x0020 to SCI_MODE you're also turning off the NEWMODE bit. That means the Serial Data Interface no longer uses xDCS and the same CLK and SI pins as the Serial Control Interface. 1.The lowest possible non-zero sine frequency for the "old" sine test is 1/128*12000Hz = 9...
by pasi
Tue 2022-07-12 11:57
Forum: Microcontroller Software
Topic: VS1053 DREQ pin problem.
Replies: 7
Views: 257

Re: VS1053 DREQ pin problem.

Some notes on the schematics: - FB1 -- the recommendation is to connect vs1053b grounds together under the chip with a 0-ohm connection, otherwise ground currents can flow through the IC itself. - FB3 -- we don't recommend coils on the power rails, because they can cause different voltage rise times...
by pasi
Fri 2022-07-08 15:41
Forum: Microcontroller Software
Topic: VS1053 DREQ pin problem.
Replies: 7
Views: 257

Re: VS1053 DREQ pin problem.

What do you see in SCI_AUDATA after reset?

If you see 0xac45, the vs1053b has started in real-time MIDI mode, and GPIO1 might be floating on your board (while GPIO0 is down).
by pasi
Fri 2022-07-08 9:36
Forum: VS1010 Forum
Topic: UART -- 1200bps 7E2
Replies: 2
Views: 136

Re: UART -- 1200bps 7E2

Hello Marcio, Do you need to send as well as receive? VS1010 (8N1) can receive 7E2 fine. You can either mask out the parity bit from the received data, or perform the parity check using a table. The two stop bits just cause an additional delay between bytes. Giving extra delay is probably why the op...
by pasi
Wed 2022-07-06 14:43
Forum: Microcontroller Software
Topic: VS1063 ADMixer config and patch issue.
Replies: 2
Views: 118

Re: VS1063 ADMixer config and patch issue.

The ROM code of vs1063a has a bug that uses parametric_x.playMode bits 5 and 4 for samplerate and bits 7 and 6 for channel configuration. This is wrong, it should be using parametric_x.adMixerConfig. PcmMixer overrides ADMixer, so if you set rates 1 or 3, you disable ADMixer. The vs1063a patches pac...
by pasi
Tue 2022-07-05 16:07
Forum: Slave Decoder Applications
Topic: WAV file corrupted
Replies: 10
Views: 358

Re: WAV file corrupted

Yes, the whistling comes from the right channel data being played interleaved, creating a Fs/2 (8kHz) tone into the double-frequency-too-much-data version.
by pasi
Tue 2022-07-05 12:16
Forum: Slave Decoder Applications
Topic: WAV file corrupted
Replies: 10
Views: 358

Re: WAV file corrupted

Your samplerate was correct, but the wav header being mono doesn't correspond to the encoding mode, which is stereo. Use AICTRL3=2 for mono ADPCM, and AICTRL3=6 for mono PCM.
by pasi
Tue 2022-07-05 9:57
Forum: Slave Decoder Applications
Topic: WAV file corrupted
Replies: 10
Views: 358

Re: WAV file corrupted

The analysis was probably for Ogg Vorbis, but our own decoder is pretty helpful in displaying what it's doing with WAV/IMA as well. Opening 'RECORD69.WAV' got "fmt " left 20 rate 8000, bits 4, format 17 0x0011 WAVE_FORMAT_IMA_ADPCM, ch 1, align 256 got "fact" left 4 got "dat...