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

SD/MMC MCI interface in LPC2368

Hi All, LPC2368 uController has SPI intarface and SD/MMC MCI intarface, where SD card supports both SD and SPI protocol modes.

If We want to work in SPI mode with SD card then what are the changes we need to do in examples source code provided by the KEIL.

Parents
  • Hello embeddedusb Device,

    If you want to use the SPI mode to access the SD card you must replace the MCI_LPC23xx.c file with a file that contains the functions spi_init, spi_ss, spi_send and spi_hi_speed. Take a look at file SPI_LPC214x.c in folder C:\Keil\ARM\RL\FlashFS\Drivers to see how the functions are implemented.

    Best Regards,
    Martin Guenther

Reply
  • Hello embeddedusb Device,

    If you want to use the SPI mode to access the SD card you must replace the MCI_LPC23xx.c file with a file that contains the functions spi_init, spi_ss, spi_send and spi_hi_speed. Take a look at file SPI_LPC214x.c in folder C:\Keil\ARM\RL\FlashFS\Drivers to see how the functions are implemented.

    Best Regards,
    Martin Guenther

Children