ATtiny1624/1626/1627

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.
Name:
CALIB
Offset:
0x06
Reset:
0x00
Access:
-
Bit76543210
SIGNERROR[6:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

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).