ANA-13 ADC input range exceeded without scaling¶
| Severity | Status | Implementation |
|---|---|---|
| error | planned | mid, depends on NET-5, NET-12, RPT-6, CFG-2 |
Looks at. ADC pins, voltage range of their nets, divider ratios.
What it catches. A signal whose maximum is above the ADC's full scale (its reference, or VDDA) reaching an ADC pin directly or through a divider that does not bring it under.
Why it matters. Above full scale the ADC saturates, so the top of the range is lost; above the pin's rating the clamp diodes conduct, the input injects current into the neighbouring channels (ANA-20), and the reference and supply rise with it. A 5 V sensor on a 3.3 V MCU is the classic case, often hidden behind a module or connector whose level nobody wrote down.
Example. A 0-10 V industrial input with a 10 kΩ / 10 kΩ divider into an STM32: 5 V at the pin, far above the 3.3 V full scale. B153A's VBUS sense is sized right: × 0.139 gives 2.79 V at 20 V and reaches the 3.3 V full scale only above 23.7 V, just under the 24 V over-voltage limit of its load switch.
How to check. For each ADC pin, the maximum voltage of the net it is on: rail voltages from the power structure (NET-5), divider ratios (RPT-6), and connector pin ranges from the project (CFG-2); compare with the ADC reference.
Fix. A divider (with the source impedance of ANA-1 in mind), an op-amp scaling stage, or an external reference that covers the range.
References. AN2834 §3.2.6 and §4.2.5 (matching the ADC range to the signal amplitude); DS13560 Table 21 (VIN); AoE3 chapter 13.