|
PER Firmware
|
G4 ADC loopback test verifying end-to-end conversion accuracy. More...
#include "g4_testing.h"G4 ADC loopback test verifying end-to-end conversion accuracy.
PA4 (DAC1_OUT1) must be wired to PA0 (ADC1_IN1). The test sweeps 12-bit DAC codes, reads each back with an asynchronous DMA conversion, and checks the error against a fixed tolerance. Green LED = pass, red LED = failure.