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.

[参考译文] LAUNCHCC3235MOD:采用 FreeRTOS 的 UART 非阻塞应用程序

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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1181878/launchcc3235mod-uart-non-blocking-application-with-freertos

器件型号:LAUNCHCC3235MOD

您好!

我正在尝试实现下面图表中给出的应用:

1.您能指导我创建 UART ISR 吗?

2.我尝试使用 UART 非阻塞示例代码。 当我调用 UART_Read()函数时,它在超时周期后从该函数中退出。 然后等待预期在回调函数中设置的信号量。 但是、由于外部 MCU 没有数据、因此它会不断等待信标、并且永远不会调用回调函数。 我不确定这是否是将此示例代码用于上述应用的正确方法。

3.如果我使用 UART 阻塞代码示例,则当调用 UART_readPolling()时,它会阻止 UART 任务和云任务。  

请建议、我应如何继续实施上述应用。

谢谢、

Pradeep