MCU - RT1170 custom board
SDK - 2.14
The SD card code works fine with a Class 6 SD card, but it doesn't work with a Class 4 SD card. Are there any configuration settings I might be missing?
@SDcardreader @i_MX51EVKSDCard
Thanks
Akhil
Hi @akhil__ ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
I think, it may related to your used class 4 SD card, as my side, all are class 4 sd card:
You also need to do the FAT32 format at first:
Then I run the SDK2.15.0 for RT1170-EVK board:
If you use the NXP MIMXRT1170-EVK board, you also need to solder R136.
This is my test result:
You can see, my class 4 SD card is working OK.
Maybe you also can find one sandisk micro sdhc class 4 to test it.
Wish it helps you!
if you still have question about it, please kindly let me know.
If your question is solved, please help me to mark the correct answer, just to close this case, thanks.
Any new issues, welcome to create the new case.
Best Regards,
kerry
Thanks for the reply
I am using an RT 1170 custom board. There is no card detect pin.
I have tried with two SD cards (formatted as FAT32 as you mentioned), but the process gets stuck in the function mentioned below.
Stuck in function SD_SendInterfaceCondition as mentioned below
However, it is working fine with the Samsung Class 6 SD card.
Thanks
akhil
Hi @akhil__ ,
Do you have the NXP MIMXRT1170-EVK board or not?
You can try the NXP RT1170-EVK board, at least, this works on my side with class 4, so I want you also test it with NXP board, just to check, whether it is also related to your customer board or not.
When you test the NXP board, please connect the card detection pin resistor
Best Regards,
kerry
Thanks for the fast reply
Since we don't have the RT 1170 EVK board, I am sharing the schematics of our custom board.
Do any software changes need to be made because our connector dont have the card detection feature?
When I created a custom project, it didn't get stuck, but it is showing an assert error like this:
ASSERT ERROR " card->usrParam.cd != NULL ": file "fsl_sd.c" Line "2129" function name "SD_HostInit"
Am I missing any settings?
Thanks
akhil
Hi @akhil__
You can comment the data, and the card detect data, then test it again, whether you can pass it or not?
As I also use sandisc class 4, it works on my side, I have a lot of class 4 SD card, that works OK.
Best Regards,
Kerry