Other Parts Discussed in Thread: AM625
Tool/software:
Hi Sitara support Team,
We are encountering issues with the RS485 reception on the AM3352.
Environment:
- SDK version:rt-am335x-evm-04.03.00.05
- kernel version:linux-rt 4.9.69
- rs485(High level enables transmission, low level enables reception.)
issue description:
After sending data via RS485, the direction signal is pulled low too slowly, causing the received data to be incomplete.
The blue pin is for transmission, the purple pin is the direction control (high enables transmission, low enables reception), and the green pin is for reception. Normally, the direction control should be pulled low immediately after transmission, but in this case, it is pulled low too late, during the middle of reception, causing some data to be missed.
I have one question:
The AM3352 emulates RS485 in the serial port driver, requiring manual control of the direction signal in 8250_port.c. There is an issue where increased CPU load causes the direction signal to change slowly. Can this be optimized?
Because I know that the AM625 serial port can be directly configured into RS485 mode, allowing hardware to directly change the direction pin.