Skip to content

DBG-6 Power rails not monitored by an ADC

Severity Status Implementation
suggestion planned mid, depends on NET-5, NET-10, NET-12

Looks at. Rails (NET-5), dividers to ADC-capable pins (NET-10, NET-12).

What it catches. Rails, especially the input and any rail the firmware switches or selects, that no ADC channel can measure (directly or through a divider).

Why it matters. With an ADC on a rail the firmware can log brown-outs, refuse to start a motor on a weak supply, report a shorted output and tell support what the input voltage really was. It also turns many field returns into a log reading instead of a bench session.

Example. On B200A the IO reference +VREF is selected by firmware from three sources (or fed externally) but cannot be measured, so the firmware has to trust that the level it set is the level on the pins; the review proposed an ADC measurement or at least a "VREF present" input on the free GPIO24.

How to check. For each rail, follow resistors from it to an MCU pin that has an analog function (NET-12); none is a finding for the input rail and for firmware-switched rails.

Fix. A divider into a free ADC pin (high-impedance with a small cap at the pin), or a supply monitor with an I2C interface (INA2xx class) where current is wanted too.

References. AoE3 chapter 13 (ADC inputs); B200A schematic review §5 (+VREF not measured).