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
  • So what is the right way to put data in MCI FIFO?
    If I cant assign a direct data like this:
    MCI_FIFO = 0xFF;

    How can I do?

    Now my status is no longer 0

    It is 0x45000
    bits
    12 - TxActive
    14 - TxFIFO Half Empty
    18 - TxFIFO Empty
    are asserted

    So the problem Im having is with this damn FIFO.
    I dont understand how I can write in FIFO
    If I have to write a full 512B block and FIFO size its smaller.

Reply
  • So what is the right way to put data in MCI FIFO?
    If I cant assign a direct data like this:
    MCI_FIFO = 0xFF;

    How can I do?

    Now my status is no longer 0

    It is 0x45000
    bits
    12 - TxActive
    14 - TxFIFO Half Empty
    18 - TxFIFO Empty
    are asserted

    So the problem Im having is with this damn FIFO.
    I dont understand how I can write in FIFO
    If I have to write a full 512B block and FIFO size its smaller.

Children
No data