What are the symptoms? Are you using fast-play (and sending all of the data), or skipping?
The vs1053b is rated at 55.3MHz. If you use a high internal clock for the vs1053, then also make sure your CVDD is both stable and high enough.
Search found 2162 matches
- Thu 2024-11-28 11:19
- Forum: Microcontroller Software
- Topic: vs1053 fast forward problem
- Replies: 12
- Views: 269
- Tue 2024-11-26 16:01
- Forum: VS1005 and VSOS Software
- Topic: Unexplained Errors
- Replies: 5
- Views: 60
Re: Unexplained Errors
What kind of completely random errors you get? Are the functions returning error codes, or the data just ends up being garbage?
- Tue 2024-11-19 12:05
- Forum: Microcontroller Software
- Topic: DREQ always HIGH when read on MP3Click module
- Replies: 1
- Views: 30
Re: DREQ always HIGH when read on MP3Click module
What do you read from SCI_AUDATA? If you get 0xac45, then the vs1053 probably is in real-time MIDI mode. When I start my program I pull the reset pin high, wait 50ms and then pull it low using digital write xRESET is active low, so there apparently is an inverter in the line of you have the high and...
- Thu 2024-10-03 15:08
- Forum: Microcontroller Software
- Topic: vs1053 fast forward problem
- Replies: 12
- Views: 269
Re: vs1053 fast forward problem
Timeout and software reset should help. If the decoder stays stuck with DREQ high, what does HDAT1 contain? The mp3 decoder should not get stuck. If there are errors for other formats, there is a larger possibility of getting stuck. If the mp3 file contains an ID3v2 tag, then it may take a long whil...
- Tue 2024-10-01 10:13
- Forum: Microcontroller Software
- Topic: UART MIDI latency optimization and dynamics
- Replies: 1
- Views: 51
Re: UART MIDI latency optimization and dynamics
For Real-Time MIDI latency, see: http://www.vsdsp-forum.com/phpbb/viewtopic.php?p=16081 You're right that the UART FIFO has a chance of being overrun with the ROM code when a lot of notes are active (but see the above for a patch). The MIDI decoder generates output in 64-sample blocks. Volume change...
- Fri 2024-09-27 15:51
- Forum: Microcontroller Software
- Topic: vs1053 fast forward problem
- Replies: 12
- Views: 269
Re: vs1053 fast forward problem
What happens when we feeding the frame not from beginning but from the middle. The decoder finds the next location that looks like a mp3 header, then decodes and plays it. However, there is this "bit reservoir" option where the mp3 frame can reference data a the end of the previous frame....
- Thu 2024-09-26 11:31
- Forum: Microcontroller Software
- Topic: vs1053 fast forward problem
- Replies: 12
- Views: 269
Re: vs1053 fast forward problem
There is a trade-off between easyness and error-freeness in jumping backwards in a mp3 file. The easy way is to just jump in the new location and let the decoder resynchronize. You will get some decoding errors. If you decode the mp3 headers yourself (the 4 first bytes contain all of the required da...
- Wed 2024-09-25 10:20
- Forum: Microcontroller Software
- Topic: vs1053 fast forward problem
- Replies: 12
- Views: 269
Re: vs1053 fast forward problem
VS1053b reads whole mp3 frames, then decodes them (frame decoding cannot be interrupted, not even with SM_CANCEL), then plays the decoded audio. Decoding errors cannot generally be detected, there is no checksum and there are no "holes" in the code space, so the decoded frame is then simpl...
- Tue 2024-09-24 17:48
- Forum: Microcontroller Software
- Topic: vs1053 fast forward problem
- Replies: 12
- Views: 269
Re: vs1053 fast forward problem
If you don't follow the mp3 frame boundaries, you will get decoding errors on the partial frames. (The vs1053b patches package tries to improve on this by adding a bit reservoir check, but it still won't be perfect.) vs1053 has a better way to fast-forward than skip some bytes (which is dependent on...
- Fri 2024-09-13 8:53
- Forum: Microcontroller Software
- Topic: [VS1053] Simultaneous ADC recording and DAC playback
- Replies: 5
- Views: 141
Re: [VS1053] Simultaneous ADC recording and DAC playback
DAC and ADC can be used at the same time. However, I'm not sure what is the easiest way to do that with an external controller, i.e. without needing to develop an application for the vs1053b. I think you can first start the encoding mode (and set low volume for the monitoring path SCI_VOL=0xc0c0 and...