ATtiny1624/1626/1627

CALIB

Crystal Frequency Calibration

This register stores the error value and the type of correction to be done. The register is written by software with an error value based on external calibration and/or temperature correction/s.
  0x06 8 - 0x00    

Crystal Frequency Calibration

Bit  7 6 5 4 3 2 1 0  
  SIGN ERROR[6:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

Bit 7 – SIGN: Error Correction Sign Bit

Error Correction Sign Bit

This bit shows the direction of the correction.
Value Description
0x0 Positive correction causing the prescaler to count slower
0x1 Negative correction causing the prescaler to count faster. This requires that the minimum prescaler configuration is DIV2

Bits 6:0 – ERROR[6:0]: Error Correction Value

Error Correction Value

The number of correction clocks for each million RTC clock cycles interval (PPM).