RT1052,SD卡读写错误

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1052,SD卡读写错误

1,411 Views
littlecousin
Contributor II

自己使用RT1052设计的PCB,使用的是usdhc2接口,现在移植了freertos和fatfs,在启动时会出现SD卡文件读取失败,在keil中调试发现PRES_STATE寄存器中的CIHB置1,示波器查看到的现象为SD卡DATA3引脚电平被拉低,查看手册描述这是指令方面的错误,找了很久都没找到头绪。希望能为我解答一下,非常感谢!

附上原理图:

pastedImage_1.png

Labels (1)
0 Kudos
2 Replies

1,285 Views
jeremyzhou
NXP Employee
NXP Employee

Hi

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to refer to the sdcard_fatfs_freertos demo in the SDK library, this demo demonstrates how to use SDCARD driver
with FatFs and freeRTOS in SDK software to access the SD card.
So please refer to it for details.

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,285 Views
littlecousin
Contributor II

已经解决了,更换了最新的SDMMC支持包!

0 Kudos