LPC2148 SD Card Driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC2148 SD Card Driver

1,859件の閲覧回数
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,533件の閲覧回数
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 件の賞賛
返信