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.

[参考译文] RTOS/CC2640R2F:关于外设驱动程序文件

Guru**** 2563960 points
Other Parts Discussed in Thread: CC2640R2F

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/587825/rtos-cc2640r2f-about-eripherals-driver-files

器件型号:CC2640R2F

工具/软件:TI-RTOS

在外设驱动程序文件的三个路径下、有何区别和联系?我应该在驱动程序文件下使用哪个路径?

C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\source\ti\devices\cc26x0r2\driverlib

C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\source\ti\drivers

C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\source\ti\blestack\npi\src

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

    TI-RTOS UART 驱动程序现已推出。 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\source\ti\drivers。

    您可以从 UART 回波示例程序中学习。

    -克尔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我使用 TI - RTOS 和 blestrack、我应该使用该路径吗?
    C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\source\ti\blestack\npi\src
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    [引用 user="ke lu17"] C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\source\ti\blestack\npi\src

    根据我所知、只有当您的 TI CC2640R2F 配置为网络处理器或主机接口时、才会使用 UART 相关文件。

    我建议您使用 UART echo TI-RTOS 示例程序开始学习。 在 CCS 中、转到导入 CCS 项目、然后选择 CC2640R2 SDK 文件夹位置。 然后导入 UART echo TI-RTOS 示例程序。

    -克尔