Search found 15 matches

by jimlake
Mon 2014-07-07 21:05
Forum: Microcontroller Software
Topic: Using the VS1063 pause function
Replies: 2
Views: 1423

Using the VS1063 pause function

I am trying to implement a pause in a VS1063A during playback of an .mp3 file. To get the device to pause, I am sending the following to the uC: writeSCI(SCI_MODE, 0x6800); void writeSCI(uint8_t address, uint16_t data) { CONTROL_CS_LOW; //enable the command interface mspiSend(0x02); mspiSend(address...
by jimlake
Wed 2014-04-09 1:34
Forum: Microcontroller Software
Topic: Looping playback
Replies: 4
Views: 1224

Re: Looping playback

I did solve this problem and eliminated the noise. It was coming from corrupted data caused by the way I was loading the buffer. I changed the code to simply load the whole buffer when the last byte in the buffer is sent to the DSP. There is enough time to do this even with all the f-read()'s. The l...
by jimlake
Tue 2014-04-08 23:34
Forum: Microcontroller Software
Topic: Looping playback
Replies: 4
Views: 1224

Re: Looping playback

Other questions: 1. Do I need to put in the end of file bits if I am looping back to the beginning of the same file and starting over? Wouldn't the DSP just treat the bits from the beginning of the file as a continuation of the file, an endless file of the same data? 2. If there is a pause in the bi...
by jimlake
Tue 2014-04-08 19:55
Forum: Microcontroller Software
Topic: Looping playback
Replies: 4
Views: 1224

Re: Looping playback

I did as you suggested, but it didn't affect performance. Its the looping that seems to be causing the problems. If I halt execution when the f_read() reaches the eof, the sound is ok (on 8k sound), but if I let it loop, I get squeaks, groans and confused sound. I have tried f_close() upon reaching ...
by jimlake
Tue 2014-04-08 0:35
Forum: Microcontroller Software
Topic: Looping playback
Replies: 4
Views: 1224

Looping playback

I am developing an application using the vs1063. This device is controlled by an Atmel Atmega 1284P 8 bit micro controller with a 8MHz clock. The 1063 is using a 12.288MHz clock. The purpose of the system is to playback MP3 files from an SD card. Each file is only 4 seconds long, and there are many ...