RAIL-20 Reference input without its own decoupling, or from a noisy rail¶
| Severity | Status | Implementation |
|---|---|---|
| warning | planned | mid, depends on NET-5, NET-7, RPT-1 |
Looks at. Reference pins (VREF+, REF, VREFIN), their decoupling and source.
What it catches. A converter or MCU reference input with no capacitor of its own at the pin, or sourced from a rail with switching noise and no filter.
Why it matters. Every ADC reading is a ratio to the reference: reference noise and droop during the sampling current spikes are conversion errors, one for one. A shared capacitor three centimetres away does not hold the reference during the charge-redistribution spikes.
Example. An STM32 in a 100-pin package with an external reference on VREF+ and no capacitor at the pin: AN2834 asks for 10 nF and 1 µF on VREF+ (and 10 nF + 1 µF on VDDA). On B200A the RP2350's reference is its ADC_AVDD, +3V3_VDDA, which has decoupling but no filter from the buck (RAIL-19).
How to check. Reference pins by role; a capacitor directly on the pin net to ground (RPT-1); its source rail traced back for a filter (RAIL-19).
Fix. The decoupling the datasheet gives at the pin; for accuracy an external reference (ANA) or a filtered rail.
References. AN2834 §3.2.1 (reference voltage noise), §3.2.3 (reference decoupling and impedance), §4.2.1 (VDDA and VREF+ decoupling, Figure 20).