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 向 BLE FW 发送和接收数据。
文件://C:/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/docs/tidrivers/doxygen/html/_u_a_r_t_8h.html
https://github.com/ti-simplelink/ble_examples/blob/ble_examples-2.2/docs/spp_ble.md
uartecho 示例代码
http://dev.ti.com/tirex/explore/node?node=AP24VgJ7gbuZWQrdF16tIg__pTTHBmu__LATEST
陈爱丽
您好、Ariel、
您可以查看 BLE5-Stack 用户指南 的 NPI 部分:https://dev.ti.com/tirex/content/simplelink_cc13x2_26x2_sdk_4_20_00_35/docs/ble5stack/ble_user_guide/html/ble-stack-common/npi-index.html
主机测试项目是已启用双向 UART 的 BLE 应用的示例: https://dev.ti.com/tirex/explore/node?node=AABc.DyqTiE3F4dl32lXcA__pTTHBmu__LATEST
然后、您已经找到了要参考的 uartecho 示例以及几个有用的 E2E 线程。
此致、
Ryan
您好、Ryan、
感谢您的回复。
您好 Ariel、
网络处理器接口(NPI)使用 UART 驱动 程序在 TI SoC 和外部 MCU/PC 之间建立串行数据链路、以发送/接收 BLE 数据包信息。
此致、
Ryan
您好、Ryan、
我想知道何时应该使用 NPI 以及何时应该直接使用 UART 驱动程序?
NPI 是连接 UART 的更高级别接口、但如果您实际上没有使用 UART 进行网络处理、则禁用 NPI 并改用 TI 驱动程序。 我提到国家预防家庭和家庭方案是一个参考,而不是一个建议。
此致、
Ryan