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
  • Hi
    I has Question in C code.
    in code(URL) from John Linq message
    >> www.standardics.nxp.com/.../code.bundle.lpc23xx.lpc24xx.uvision.zip

    I test it in LPC2368 board.and I want to change code to write data in Block#1 and Block#2 in different data.(in this code Your data will be same every block that 0-ff twice per block>>include 512 )
    But now I can't do it.

    So that I test to write Block#1 in First time then finished I start init SD card again and write Block#2. but can't to do. SD card response back to host in Timeout or fail in sometime.

    I don't know how to test more,Please introduce me or help to see NXP code in above URL.

    Thank you

Reply
  • Hi
    I has Question in C code.
    in code(URL) from John Linq message
    >> www.standardics.nxp.com/.../code.bundle.lpc23xx.lpc24xx.uvision.zip

    I test it in LPC2368 board.and I want to change code to write data in Block#1 and Block#2 in different data.(in this code Your data will be same every block that 0-ff twice per block>>include 512 )
    But now I can't do it.

    So that I test to write Block#1 in First time then finished I start init SD card again and write Block#2. but can't to do. SD card response back to host in Timeout or fail in sometime.

    I don't know how to test more,Please introduce me or help to see NXP code in above URL.

    Thank you

Children
No data