Problems with SDHC and SDXC cards

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

Problems with SDHC and SDXC cards

867 次查看
Marek123
Contributor I

  Hi,

I am using a S32K3_T_BOX_BSP demo code and I have encountered a problem with trying to initialize SDHC and SDXC cards

I have 3 cards which one of them is 2Gb SD card formatted on FAT and it initializes just fine. Then I have 8Gb SDHC card formatted on FAT32 and after sending CMD0 it returns 255. Last card is 128Gb SDXC card formatted on exFAT and this one returns 5 for CMD0.

Has anyone dealt with this kind of problem or does anyone know what could cause this behavior in this demo code?

Thanks

Marek

0 项奖励
回复
2 回复数

814 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

According T-BOX user manual, there is certain size limitation:

"An up to 32GB SD Card can be implemented to store the vehicle data. The SDIO protocol is emulated by FlexIO."

However second card could possibly work.

801 次查看
Marek123
Contributor I

Hi,

Thank you so much I somehow totally ignored that limitation. But I still encounter problems with cards that have capacity within the limit. I have now tried two other cards one 16Gb and one 32Gb, they´re all from different manufacturers and still not one is initializing or even answering to CMD0 correctly. I receive 255 every time from all of them (only that 2Gb that I mentioned previously is initializing correctly).

Is there something else that I should be aware of or something that should be set so the bigger cards would work?

The only thing that is same for all of not initializing cards is that they´re SDHC cards with FAT32 and that working one is SD with FAT.

Could there be a problem related to this?

 

Thank you,

Marek

0 项奖励
回复