您好、专家:
我客户的 soc 不再有 UART 接口。 因此、他们只能使用 SPI 接口对 CC2340进行编程。
在哪里可以找到 SPI 引导加载程序主机示例? 基于 Linux 的系统更好。
是否有有关如何通过 SPI 接口对 cc2340进行编程的文档?
Linux 中的任何 SPI 工具都可以进行测试?
Br、
弗兰克
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.
您好、专家:
我客户的 soc 不再有 UART 接口。 因此、他们只能使用 SPI 接口对 CC2340进行编程。
在哪里可以找到 SPI 引导加载程序主机示例? 基于 Linux 的系统更好。
是否有有关如何通过 SPI 接口对 cc2340进行编程的文档?
Linux 中的任何 SPI 工具都可以进行测试?
Br、
弗兰克
尊敬的 Frank:
请参考此处提供的串行引导加载程序工具: https://github.com/TexasInstruments/ble_examples/tree/simplelink_low_power_f3_sdk-7.40/tools/TI_CC2340_Linux_SBL
您会注意到、该工具基于 UART。 这可以通过更改 Source/SPI.c 的内容 并通过用 Linux_Serial 替换 UART/COM 端口操作来进行更改。
我希望这将有所帮助、
此致、
尊敬的 Frank:
以下驱动程序是否有帮助? https://www.kernel.org/doc/html/v4.14/driver-api/spi.html
此致、