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.

[参考译文] MSP432E401Y:并行 UART 操作

Guru**** 2524460 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/971282/msp432e401y-parallel-uart-operation

器件型号:MSP432E401Y

我想同时使用两个 MSP432E UART、一个读取、另一个正在写入、等等...   我不确定最好的起点。  我应该:

i)是否将所有 UART 呼叫转换为回叫、非阻塞呼叫?

ii)将 TI-RTOS 任务(UART0上的 R/W 和  UART7上的其他任务处理 R/W)转换 为线程?

III)我可以选择将其中一个输出更改为使用 CAN 端口。 对一个 UART R/W 和 CAN R/W 进行并行编码是否更容易?       如果具有回调功能的 UART R/W 是正确的答案、您能否给我举一个不仅仅是回声的示例?

谢谢!