工具/软件:Code Composer Studio
大家好、我如何将 UART 传入数据写入与 cc2652连接的 SD 卡中。 代码行正确。
char str = UART_read (UART、INPUT、1)
fwrite (str、1、strlen (str)、src)
请向我提供输入。
谢谢、
Shivam
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.
工具/软件:Code Composer Studio
大家好、我如何将 UART 传入数据写入与 cc2652连接的 SD 卡中。 代码行正确。
char str = UART_read (UART、INPUT、1)
fwrite (str、1、strlen (str)、src)
请向我提供输入。
谢谢、
Shivam
请看一下我们在 SD 卡中写入/读取的两个示例:
https://dev.ti.com/tirex/explore/node?node=ANVH9beEds77i7cDbHxqNg__pTTHBmu__LATEST
https://dev.ti.com/tirex/explore/node?node=AB3d59IBueXW8YI4K0Kfdg__pTTHBmu__LATEST
此外、请查看 SD 驱动程序文档、了解如何直接执行基本的 SD 卡传输。
BR
Siri
我不熟悉 fwrite。 它在 SDK 中的什么位置定义?
为什么不使用我们的 SDRAW 示例作为起点?
Siri