35.16 AC

Table 35-21. Analog Comparator Specifications
Operating conditions:
  • VDD = 3.0V
  • TA = 25°C
SymbolDescriptionMin.Typ.✝Max.UnitConditions
VIN *Input voltage range-0.2—VDDV
ILInput leakage current—5—nA
VOFF *Input offset voltage-30±1030mV0.1V < VIN < (VDD - 0.1V)

CTRLA.HYSMODE = 0x0

CMRR Common Mode Rejection Ratio—60—dB

VCM = VDD / 2

VHYSTHysteresis—5—mVCTRLA.HYSMODE = 0x1
—10—CTRLA.HYSMODE = 0x2
—15—CTRLA.HYSMODE = 0x3
tRESP Response time, rising edge—180—ns

VCM = VDD / 2

Response time, falling edge—240—ns
tSTARTAC Start-up time—10—usOSC32K enabled and running

✝ Data in the “Typ.” column is measured at TA = 25°C and VDD = 3.0V unless otherwise specified. These parameters are for design guidance only and are not tested.

* These parameters are characterized but not tested in production.

Table 35-22. REFSCALE Specifications
SymbolDescriptionMin.Typ.✝Max.UnitConditions
VREFSCALE Reference Scaler Max Voltage —VREF - REFSCALE_LSB—VREFSCALE = 0xFF
REFSCALE_RNGReference Scaler Range0—VREFSCALEV
REFSCALE_LSBReference Scaler Resolution—1/ (256*VREF)—V
EREFSCALE(1)Reference Scaling Error -2—+2%Excluding error from VREF
tREADY*Ready Time ——100μs

✝ Data in the “Typ.” column is measured at TA = 25°C and VDD = 3.0V unless otherwise specified. These parameters are for design guidance only and are not tested.

* These parameters are characterized but not tested in production.

Note:
  1. Error given as a percentage of the selected REFSCALE reference voltage. Calculate the total accuracy of the comparator trip point when using a scaled reference voltage as follows:

    ErrorMin(negative) = VREFMin * (1 + 0.01*EREFSCALE_Min) - VREFTyp - | VOFF |

    ErrorMax (positive) = VREFMax * (1 + 0.01*EREFSCALE_Max) - VREFTyp + | VOFF |

    VREFMin and VREFMax represent the minimum and maximum values of the reference voltage. If VREF is obtained from the device's internal VREF source, refer to the VREF section to calculate the minimum and maximum VREF values. If VREF is obtained externally, the characteristics of the external VREF source must be used to determine the minimum and maximum VREF values.

    When input hysteresis is enabled, add ±VHYST/2 to the rising and falling trip point.