Skip to content

RF-5 RF switch, LNA or PA control pins floating

Severity Status Implementation
error planned mid, depends on NET-7, NET-9

Looks at. Control pin roles of RF parts (library), MCU reset state.

What it catches. The control inputs of an RF switch, front-end module, LNA or PA (CTRL, V1/V2, PA_EN, LNA_EN, HGM, TX/RX) left unconnected, or driven only by MCU pins that are high-impedance in reset, with no pull resistor.

Why it matters. These are plain CMOS inputs with no defined default. Floating, they pick a random mode: the switch connects the antenna to the wrong port, the PA is enabled while the radio receives, or the LNA sits in the wrong gain. Since the MCU's pins float during reset and until firmware configures them, the front end can transmit noise or draw PA current at every boot, and a radio that drives the switch itself (SX1262 DIO2) only does so after firmware has enabled that function.

Example. A CC2592 range extender on a CC2530: PA_EN and LNA_EN select power down (both 0), RX (LNA_EN 1) or TX (PA_EN 1), HGM selects 11 dB or 6 dB of RX gain. With HGM left open the gain is undefined; with PA_EN and LNA_EN on GPIOs without pull-downs the part is not in power down while the CC2530 is in reset. A PE4259 switch with CTRL floating connects RFC to RF1 or RF2 at random.

How to check. Find control-role pins of RF parts (NET-7); report them when unconnected, or when the only drivers are MCU pins that tristate in reset (NET-9) and no resistor to a rail or ground is on the net.

Fix. A pull to the safe state on every control line (usually receive or power down: 10-100 kΩ to ground), or tie unused controls to a fixed level per the truth table.

References. CC2592 §8 (control terminal levels), Table 9-1 (control logic); PE4259 Table 5 and Table 6 (control logic truth tables); SX1261/2 DS §13.3.5 (SetDIO2AsRfSwitchCtrl).