NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 392 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
RTC Frequency Compensation Register (RTC_FREQADJ)
Register
Offset
R/W
Description
Reset Value
RTC_FREQADJ
0x008
R/W
RTC Frequency Compensation Register
0x0000_0700
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
INTEGER
7
6
5
4
3
2
1
0
Reserved
FRACTION
Bits
Description
[31:12]
Reserved
Reserved.
[11:8]
INTEGER
Integer Part
Integer part of
detected value
RTC_FREQADJ[11:8]
Integer part of
detected value
RTC_FREQADJ[11:8]
32776
1111
32768
0111
32775
1110
32767
0110
32774
1101
32766
0101
32773
1100
32765
0100
32772
1011
32764
0011
32771
1010
32763
0010
32770
1001
32762
0001
32769
1000
32761
0000
[7:6]
Reserved
Reserved.
[5:0]
FRACTION
Fraction Part
Formula: FRACTION = (fraction part of detected value) X 60.
Note:
Digit in FCR must be expressed as hexadecimal number.
Frequency
Compensation
Example 1
Frequency Counter Measurement: 32773.65Hz
Integer Part: 32773 => RTC_FREQADJ[11:8] = 0xc
Fraction Part: 0.65 X 60 = 39(0x27) => RTC_FREQADJ[5:0]=0x27
Example 2
Frequency counter measurement: 32765.27Hz
Integer part: 32765=> RTC_FREQADJ[11:8] = 0x4