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.

[参考译文] TM4C129ENCPDT:UART &用于 DE/RE 的 RS485 RTS 引脚驱动器

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1483819/tm4c129encpdt-uart-rs485-rts-pin-driver-for-de-re

器件型号:TM4C129ENCPDT

工具与软件:

大家好!

我目前在使 UART 的 RTS 引脚在传输时激活时遇到一些困难(因此它可以驱动 RS485收发器的 DE/RE 输入)。 数据的实际 Rx 正常工作。

我将使用 UART3、并将引脚 PP4用于 U3RTS。 我已将引脚设置为输出、并已通过"UARTModemControlSet (UART3_base、UART_OUTPUT_RTS)"设置调制解调器控制。

当将该引脚作为 RTS/CTS 的常规流控引脚工作时、效果会很好、但由于某种原因、数据表的第19.3.6节中详细介绍的功能似乎不起作用



UART_CTL 寄存器设置了 UART_CTL_RTS 和 UART_CTL_RTSEN 未设置、我是否应该检查任何其他寄存器设置?

如果可能、我更不想在 Tx 中断中将该引脚作为 GPIO 引脚手动驱动。

非常感谢您的任何帮助!

此致、
Gerard。