Hi
Im trying to write in MCI FIFO but without success..
Im doing like: MCI_DATA_CTRL = 0x11; _printf("\r\nFIFO_COUNTER = 0x%X", MCI_FIFO_CNT); MCI_FIFO |= 0xFFFFFFFF; _printf("\r\nFIFO = 0x%X", MCI_FIFO); _printf("\r\nFIFO_COUNTER = 0x%X", MCI_FIFO_CNT);
The answer I got is: 0 0 0 Do not show up the data that i wrote in MCI FIFO! Im using LPC2368.
Waiting for a help!
Thank you,
Fabio.
And the datasheet is confuse.. We have Command Path State Machine (CPSM) and Data Path State Machine (DPSM). But dont help to the sequence..
So..I follow CPSM steps and send the write command. I wait for an answer and if it's OK I go to DPSM? And then I prepare all registers, lenght, timer, FIFO.. Then I put 0x1 in Data_Control and the data is sent?