Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top