Digital output

nRF54LM20A | nRF54LM20B Datasheet

ADC output depends on the settings in the registers CH[n].CONFIG and RESOLUTION registers as follows:

RESULT=[V(P) – V(N) ] * GAIN/REFERENCE * 2(RESOLUTION - m)
V(P) = voltage at input P, 
V(N) = voltage at input N, 
GAIN = the selected gain setting 
m = the mode setting (use m=0 if CONFIG.MODE=SE, or m=1 if CONFIG.MODE=Diff)
REFERENCE = selected reference voltage

The result generated by the ADC will deviate from what is expected due to DC errors like offset, gain, differential non-linearity (DNL), and integral non-linearity (INL). See Electrical specification for details on these parameters. The result can also vary due to AC errors like non-linearities in the GAIN block, settling errors due to high source impedance and sampling jitter. For battery measurement, the DC errors are most noticeable.

The ADC has a wide selection of gains controlled in the GAIN field of the register CH[n].CONFIG. If CH[n].CONFIG.REFSEL=0, the input range of the ADC core is nominally ±0.9 V differentially, and the input must be scaled accordingly with proper gain setting.

The ADC has a temperature dependent offset. If the ADC is to operate over a large temperature range, it is recommended to run CALIBRATEOFFSET at regular intervals. The CALIBRATEDONE event will be generated when the calibration has been completed. The DONE and RESULTDONE events will also be generated.