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.

[参考译文] CC2541:合并 SimpleBLEBroadcaster 上的 UART_ISR

Guru**** 2589810 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/607367/cc2541-merge-uart_isr-on-simpleblebroadcaster

器件型号:CC2541

您好!

我已经在 SimpleBLEBroadcaster Main.c 的主周期内测试了中断(ISR)上的 UART,它已经足够了(需要做一些修复)。

现在、我尝试通过 OSAL "合并"。

根据编程指南 http://www.ti.com/lit/ug/swru271g/swru271g.pdf 、我已经创建了_Init 和 _ProcessEvent 函数、并在  pTaskEventHandlerFn 中将自己的任务添加到 OSAL_SimpleBLEBroadcaster .c 中、并添加到  osalInitTasks 中。

现在模块正在运行 simpleBLEBroadcaster 示例、但 UART 中断不起作用。

缺少什么 AMI?

e2e.ti.com/.../SimpleBLEBroadcaster.zip