Differential mode

nRF54L15 | nRF54L10 | nRF54L05 Datasheet

In differential mode, the reference input VIN- is derived directly from one of the AINx pins.

Before enabling the comparator via the ENABLE register, the following registers must be configured for the differential mode:

Figure 2. Comparator in differential mode
Comparator in differential mode
Note: Depending on the device, not all the analog inputs may be available for each MUX. See definitions for PSEL and EXTREFSEL for more information about which analog pins are available on a particular device.

When HYST register is turned on while in this mode, the output of the comparator (and associated events) will change from ABOVE to BELOW whenever VIN+ becomes lower than VIN- - (VDIFFHYST / 2). It will also change from BELOW to ABOVE whenever VIN+ becomes higher than VIN- + (VDIFFHYST / 2). This behavior is illustrated in Hysteresis enabled in differential mode.

Figure 3. Hysteresis enabled in differential mode
Page-1 Dynamic connector.1356 Sheet.193 Sheet.194 Sheet.192 Sheet.197 Dynamic connector.1308 VIN+ VIN+ Dynamic connector.1309 Value Lifeline.1398 Below (VIN+ < (VIN- - VDIFFHYST /2)) Below (VIN+ < (VIN- - VDIFFHYST /2)) Value Lifeline.1399 Above (VIN+ > (VIN- + VDIFFHYST /2)) Above (VIN+ > (VIN- + VDIFFHYST /2)) Value Lifeline.1400 Below Below Value Lifeline.1498 Above (VIN+ > (VIN- + VDIFFHYST /2)) Above (VIN+ > (VIN- + VDIFFHYST /2)) Sheet.195 VIN- - (VDIFFHYST / 2) VIN- - (VDIFFHYST / 2) Sheet.196 VIN- + (VDIFFHYST / 2) VIN- + (VDIFFHYST / 2) Sheet.198 Output Output Sheet.199 t t Sheet.190