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.

[FAQ] [参考译文] 【常见问题解答】MSPM0-SDK:【常见问题解答】MSPM0C1104 /MSPM0G3507:软件 UART 示例

Guru**** 2925550 points

Other Parts Discussed in Thread: MSPM0C1104, MSPM0G3507

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1652908/faq-mspm0-sdk-faq-mspm0c1104-mspm0g3507-software-uart-example

器件型号: MSPM0-SDK
主题中讨论的其他器件: MSPM0C1104MSPM0G3507

小型封装 MSPM0 器件由于引脚限制、通常会遇到硬件 UART 计数限制。 如果您需要的串行接口比片上 UART 模块可以提供的更多、基于软件的 UART 是一个很好的回退。 该线程为 MSPM0 分享了一种计时器驱动的软件 UART 实现、可使用普通的 GPIO 引脚仿真 TX 和 RX。 该器件支持半双工操作、具有自动波特率检测功能(无需手动配置)、并可补偿 ISR 延迟、以保持采样计时的准确性。 该实施已在 MSPM0C1104(高达 230400 波特)和 MSPM0G3507(高达 460800 波特)上进行了测试。  

Software_uart.rar