LPC2148 SD Card Driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC2148 SD Card Driver

1,871 次查看
sambha
Contributor I

Hi, I am trying to get SD Card working on my LPC2148 Board. 

I came across this link

https://www.nxp.com/docs/en/application-note/AN10406.pdf  (which is pretty old). I compiled it but I dont see any file creation or LED blinking  to indicate anything is hapenning. 

My SD Card is connected on the SPI1 interface. 

Is there an updated Driver ?

Thanks

Sam

0 项奖励
回复
1 回复

1,545 次查看
CarlosCasillas
NXP Employee
NXP Employee

Hi Sam,

When using legacy SD card drivers, it is common that they will have some issues when trying to communicate with newer SD cards, like SDHC.

In this case, you could try using the driver as is with Standard Capacity cards (2GB or less), or applying some modifications to the driver to be able to communicate with High Capacity cards (4 to 32 GB), as the mentioned on the following link:

https://stackoverflow.com/questions/8080718/sdhc-microsd-card-and-spi-initialization

This is more common with SPI-based drivers rather than SD Host Controller drivers.

Hope this will be useful for you.

Best regards!

/Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复