Help with MP3 project. I treing to make a MP3 Player but I h

Status
Not open for further replies.

EShring

Newbie level 1
Joined
Apr 14, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
Help with MP3 project.
I treing to make a MP3 Player but I have a problem with the file.
I use SD/MMC card and vs1002 decoder and micro at89c51ed2.
The code is in C, and the problem is some where here:

unsigned char MmcWaitForData(){

unsigned char c;
unsigned int i;

DebugMessage("<t:"); //Token Wait

i = 60000; //try max. 60000 bus cycles
// Wait until something else than 0xff is read from the bus
do {
c=SPIGetChar();
--i;
} while ((c == 0xff) && (i));

It shold be FEh in tje responed (in C).
I use SPI here.
The all code is in here:
https://www.vlsi.fi/player_vs1011_1002_1003/modularplayer/files.html

tnx for the help.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…