Hello,
Im trying to implement a SD Card Interface. I'm having a doubt..
I´m able to initialize and write and read data. But it is so crazy the data I'm reading!! I try to write 0,1,2,3.... And when I read I dont get this sequence.
I guess the problem is the way I'm writing in MCI_FIFO.
When I'm writing I set all necessary registers (lenght, timer..)
And then I initialize the transfer:
MCI_DATA_CTRL |= 0x91;
Then how should I write the code to put data in MCI_FIFO?
IF I do a for like this:
for(x=0; x<128;x++) { MCI_FIFO = x; }
but it makes no sense, what is the right way to do this?
Help me!
The purpose of this forum is stated here:
"The Keil Discussion Forum is an open forum where you may post questions and comments about Keil products"
http://www.keil.com/forum/
So, strictly speaking, it's not intended as a place to come for basic 'C' training, and it's not really a place to ask questions about the details of other manufacurer's products.
Take a look at the Support and Events sections - there are links to books, training providers, etc,...
There's also a consultants database: http://www.keil.com/condb