Thread 中讨论的其他器件: SysConfig
您好!
在哪里可以找到 关断 和唤醒 SPI 外部闪存的代码? 我希望在初始化时关闭 SPI 外部闪存、然后在需要使用时将其唤醒。
-kel
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.
您好!
在哪里可以找到 关断 和唤醒 SPI 外部闪存的代码? 我希望在初始化时关闭 SPI 外部闪存、然后在需要使用时将其唤醒。
-kel
尊敬的 Markel:
在 SDK 中 LAUNCHXL-CC1352R1的示例中、有一个名为 Board_shutDownExtFlash ()的函 数关闭 SPI 外部闪存、还有另一个名为 Board_wakeupExtFlash ()的函数唤醒外部闪存。
您可以在 ti_drivers_config.c 中找到这些函数 若要查看首先必须编译工程的函数、因为源代码是由 SysConfig 生成的。
您还可以查看 nvs 外部 示例、 其中显示了如何读取、写入和擦除外部闪存存储器。