|
|
View previous topic :: View next topic |
Author |
Message |
tidushuu
Joined: 29 Sep 2012 Posts: 8
|
VS1011 got crash sound when play MP3 |
Posted: Tue Oct 02, 2012 6:44 am |
|
|
I can play mp3 with vs1011 up to 320kbit, it play smooth but after 1 or 2 sec it sometime interrupt zzz, it same with lowest bitrate 32kbit. It's strange because 320kbit and 32kbit still play OK but it got crash sound.
I using PIC16f887 with 20M OSC and vs1011 with 12.886M, I set CLOCKF = 0x9800.
First time, I set block_data = 64bytes, its same. Next I set to block_data = 256 its not different.
I so confused about that zzzz.
This is code I use to tranfer data from SD Card to VS1011.
Code: |
for(ii=0;ii<8;ii++)
{
while(!input(DREQ));
output_low(XDCS);
for(i=0;i<32;i++)
{
spi_read(0xFF);
}
output_high(XDCS);
}
|
With ii=8 to equal with block_data = 256.
When I set ii= any value, it still got crash sound when play any bitrate Mp3.
Thanks for read my question, I hope someone can help me fix this crash. |
|
|
trungk
Joined: 02 Jul 2013 Posts: 1 Location: Viet Nam
|
Re: VS1011 got crash sound when play MP3 |
Posted: Tue Jul 02, 2013 9:59 am |
|
|
tidushuu wrote: | I can play mp3 with vs1011 up to 320kbit, it play smooth but after 1 or 2 sec it sometime interrupt zzz, it same with lowest bitrate 32kbit. It's strange because 320kbit and 32kbit still play OK but it got crash sound.
I using PIC16f887 with 20M OSC and vs1011 with 12.886M, I set CLOCKF = 0x9800.
First time, I set block_data = 64bytes, its same. Next I set to block_data = 256 its not different.
I so confused about that zzzz.
This is code I use to tranfer data from SD Card to VS1011.
Code: |
for(ii=0;ii<8;ii++)
{
while(!input(DREQ));
output_low(XDCS);
for(i=0;i<32;i++)
{
spi_read(0xFF);
}
output_high(XDCS);
}
|
With ii=8 to equal with block_data = 256.
When I set ii= any value, it still got crash sound when play any bitrate Mp3.
Thanks for read my question, I hope someone can help me fix this crash. |
Hello Dear!
I also program for PIC16F887 and VS1011e + SD Card
But it doesn't play.
Please give me your source code
My Email: [email protected]
Thanks so much! |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|