This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Writing MCI FIFO - LPC2368

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.

Parents
  • 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?

Reply
  • 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?

Children
No data