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.

[参考译文] MSP432P401R:如何设置 microSD 卡的格式并获取其大小?

Guru**** 2616675 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/671429/msp432p401r-how-to-format-and-get-the-size-of-microsd-card

器件型号:MSP432P401R

您好!

我尝试了"fatsd"示例、我能够运行、它起作用了!!

在此示例中、我可以读取数据并将其写入 micro SD 卡、现在我想知道我是否可以在写入新数据之前格式化 SD 卡、并获取 SD 卡的可用和总大小。

是否有任何示例可以做到这一点?

提前感谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你好 Jose

    不支持通过 FAT 文件系统格式化。 您可以使用 f_getfree 获取驱动器上可用群集的数量