Does anyone know how the the RS485 driver IC circuit (U6) works on the Waveshare ESP32-S3-Touch-LCD-7 PCB?
The UART TX pin from ESP32 is connected to RO (receiver output). So what prevents damage from connecting two outputs together?
Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
Does anyone know how the the RS485 driver IC circuit (U6) works on the Waveshare ESP32-S3-Touch-LCD-7 PCB?
The UART TX pin from ESP32 is connected to RO (receiver output). So what prevents damage from connecting two outputs together?
SP3485EN is a half-duplex RS485 transceiver, which can either operate in transmitter mode or receiver mode at the same time; it cannot perform both simultaneously. The switching is controlled by the chip's DE/RE pin.
In receiver mode: the RO pin becomes an active output, and it sends data from the bus to the ESP32. The software must configure the UART TX pin as input mode to receive data from RO.
In transmitter mode: the RO pin is in a high-impedance state. At this time, the UART TX pin of the ESP32 is an output pin that sends data to the DI pin of U6. The RO pin appears as if it does not exist, so there is no conflict between the two outputs.
report