SER-11 RS-485 DE / ~RE without a pull to the receive state¶
| Severity | Status | Implementation |
|---|---|---|
| error | planned | mid, depends on NET-7, NET-9 |
Looks at. Transceiver DE/~RE pins, pulls, the MCU pin's reset state.
What it catches. The driver-enable (DE) and receiver-enable (~RE) pins of an RS-485 transceiver driven by an MCU pin with no external pull-down (DE) or pull to the receive level.
Why it matters. During reset, boot and firmware updates the MCU pin is an input; a floating DE can turn the driver on and a half-duplex node then holds the whole bus, so every other node on the line stops talking while one board reboots. Internal pulls are too weak to rely on (THVD1450: 2 MΩ). The pin may also be driven by something other than the application: a ROM bootloader sets up its own UART pins while scanning for a host.
Example. On B153A the ST ROM bootloader of the STM32G0B1 drives PA9 (its USART1_TX) while it runs, which cut the DUT's USB data through DATA_CUT during every ROM update. A DE on such a pin would key the RS-485 driver for the whole update. A THVD1450 with DE on a plain GPIO and no resistor shows the simple case: its 2 MΩ internal pull-down loses against a few pF of coupling from the adjacent TX trace.
How to check. DE/~RE pins (NET-7) whose net reaches an MCU pin with no resistor to the receive level; whether the MCU pin floats in reset comes from NET-9, ROM bootloader pins from part data.
Fix. A 1-10 kΩ pull-down on DE (and on ~RE, which tied with DE gives receive at low); keep DE off pins the ROM bootloader uses (AN2606 lists them per part).
References. THVD1450 pin functions (DE 2-MΩ internal pull-down), §12.1 item 6 (1-10 kΩ pulls on enable lines); AN2606 §50.1 Table 111 (STM32G0B1: PA9 USART1_TX); B153 rev B change list (DATA_CUT on PA9).