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

LPC23xx and SD card wiht MCI interface,please help

Hello,everyone

I want to connect LCP23xx and SD Card with MCI interface but i didn't understand flow of them.
Now,I founded library coding in SPI mode only. who has it in MCI bus,please help
or
give information about flow of operation?
when i will write data(i just only single block)
what i will do first time?
---------------------------------------
now, i think(i don't know,is it true?)

In the first(before set pinsel in arm)

i must send command in CMD line from host to card in Card identification mode?
(i don't know how to set register,now i try to coding this step)

thank you everyone (sorry if has wrong english:) )

Parents Reply Children
  • Hi sunshine day,

    Those mentioned KEIL information is not 100% suitable for your/this case.

    You only need to know:

    The memory organization of a Flash Device is divided into flash sectors. The Flash Sector is typically a 64 KB memory page and is written cell after cell. The memory cell size depends on the device architecture and is 8-bit wide (byte), 16-bit wide (half word) or 32-bit wide (word). When you want to erase the flash data, you need to erase the whole flash sector at once. Flash Sectors are named Blocks in RL-FlashFS.

  • Thank you,John Linq
    Now,I'm reading NXP code :)Try to understand
    have many word in C i don't know.but i try to know.

    I think interface in MCI card has 1bit(if not select wide bus) and sorry,I don't understand your introduce in above massage.

    now, I set port and power up and on in SD card ready
    but don't know what's code of NXP i will programme next step.