COMP — Comparator

nRF54L15 | nRF54L10 | nRF54L05 Datasheet

The comparator peripheral (COMP) compares one input voltage (VIN+) against another input voltage (VIN-). VIN+ can be derived from an analog input pin (AIN0 to AIN7). VIN- can be derived from multiple sources depending on the operation mode of the comparator.

The main features of COMP are the following:

  • Input range from 0 V to VDD
  • Single-ended mode
    • Fully flexible hysteresis using a 64-level reference ladder
  • Differential mode
    • Configurable hysteresis
  • Reference inputs (VREF)
    • External reference from AIN0 to AIN7 (between 0 V and VDD)
    • Internal VDD reference
    • 1.2 V internal reference
  • Two speed/power consumption modes, low-power and high-speed
  • Single-pin capacitive sensor support
  • Event generation on output changes
    • UP event when VIN+ rises above VIN- (VIN+ > VIN-)
    • DOWN event when VIN+ falls below VIN- (VIN+ < VIN-)
    • CROSS event on VIN+ and VIN- crossing
    • READY event on core and internal reference (if used) ready
Figure 1. COMP overview
Page-1 Dynamic connector.30 UP UP Dynamic connector.31 CROSS CROSS Dynamic connector.91 DOWN DOWN Dynamic connector.68 Dynamic connector.96 VIN- VIN- Dynamic connector.71 AIN7 AIN7 Dynamic connector.99 AIN6 AIN6 Dynamic connector.100 AIN5 AIN5 Dynamic connector.101 AIN4 AIN4 Dynamic connector.75 AIN3 AIN3 Dynamic connector.103 AIN2 AIN2 Dynamic connector.104 AIN1 AIN1 Dynamic connector.105 AIN0 AIN0 Dynamic connector.79 VIN+ VIN+ Dynamic connector.108 Dynamic connector.88 Dynamic connector.424 READY READY Dynamic connector.429 Output 0 = BELOW (VIN+ < VIN-) 1 = ABOVE (VIN+ > VIN-) Output 0 = BELOW (VIN+ < VIN-) 1 = ABOVE (VIN+ > VIN-) Dynamic connector.630 HYST HYST Rectangle.94 MODE MODE Rectangle.70 MUX MUX Rectangle.80 PSEL PSEL Rectangle.87 RESULT RESULT Sheet.146 Rectangle.28 Comparator core Comparator core Sheet.140 + + Sheet.141 - - Dynamic connector.51 START START Dynamic connector.52 STOP STOP Dynamic connector.72 SAMPLE SAMPLE