would like to know are there any constrain in SD card memory size accessible with CC3000 over the SDIO interface.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
would like to know are there any constrain in SD card memory size accessible with CC3000 over the SDIO interface.
thanks Shlomi, you are right, Its typo error from my end, can cc3200 chip- support 32MB?
Hi,
You are in the wrong forum then. This is CC3000 forum.
In any case, you can take a look at the two examples of SDHost in CC3200 SDK (CC32xx SDHost and CC32xx SDHost FatFS).
The capacity is read by a command from the connected SD card. You can look into CardCapacityGet() API.
Depends on what the card version is, the capacity is decoded. It can be much higher then 32MB.
On version 1:
Capacity=(C_SIZE+1) × 2
(C_SIZE_MULT + 2 + READ_BL_LEN)
Where: 0 <= C_SIZE <= 4095, 0 <= C_SIZE_MULT <= 7, READ_BL_LEN is 9 (for 512 bytes/sector) or 10 (for 1024 bytes/sector)
On version 2/3:
Capacity=(C_SIZE+1)*524288 where for SDHC 4112<=C_SIZE<=65375 (approx. 2 GB) < capacity < 32 GiB for SDXC 65535<=C_SIZE 32 GiB <= capacity <= 2 TiB max.
Shlomi
Hi,
TI does not have an example to share on this subject.
If anyone else in the community has such, please share.
Shlomi
Hi,
I am closing the thread, if issue still exist please open a new thread and add a link to this one for reference.
Shlomi