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.

RTOS/CC3220: MSP432

Part Number: CC3220


Tool/software: TI-RTOS

Good afternoon, 

I am having the same problem and your solution does partially work. Now when I call SDFatFS_open it returns an object if there is a sd and NULL if there is not. The problem is that if I plug the SD and call SDFatFS_open it fails to access it if this is not the first time SDFatFS_open is called. Do you know why? Thank you.

  • Hi,

    Are you using the CC3220 to access the SD card, or are you using the MSP432? While the driver APIs are the same, the underlying SD card hardware peripherals are not which makes this a crucial distinction. The CC3220 has a dedicated SD card peripheral while the MSP432 uses SPI to interface with the SD card.

    Also, if you step through SDFatFS_open() in debug mode, are you able to determine where your error occurs? On the MSP432, if you step through the SDFatFS_open() function, I suspect that SD_open() fails since it has already opened the underlying SPI peripheral, and reopening that SPI peripheral is not allowed.

    Regards,
    Michael
  • I am using MSP432P4111 and as Deep as I was able to get into the problema happens when f_mount is called inside SDFatFS_open(). As I said the first time this function is called can return OK or not OK but I cannot plug the microSD after the function is called for the first time.

  • Hi,

    My colleague Sai has responded to your issue in this thread:
    e2e.ti.com/.../2842322

    Please try his suggestion, and continue discussion of your issue in that thread if that fix does not resolve your problem.

    Regards,
    Michael