Technical Reference Manual
002-29852 Rev. *B
12.12.6 EVTGEN_RATIO_CTL
Description:
Ratio control
Address:
0x403F0020
Offset:
0x20
Retention:
Retained
IsDeepSleep:
No
Comment:
Default:
0x0
Bit-field Table
Bits
7
6
5
4
3
2
1
0
Name
None [7:0]
Bits
15
14
13
12
11
10
9
8
Name
None [15:8]
Bits
23
22
21
20
19
18
17
16
Name
None [23:19]
DYNAMIC_MODE [18:16]
Bits
31
30
29
28
27
26
25
24
Name
VALID
[31:31]
DYNAMIC
[30:30]
None [29:24]
Bit-fields
Bits Name
SW
HW
Default or
Enum
Description
16:18 DYNAMIC_MODE
RW
R
0
Weighted average calculation (only used when
DYNAMIC is '1'):
'0': new RATIO value = (RATIO + measu 1) /
2.
'1': new RATIO value = (3*RATIO + measu 2)
/ 4.
'2': new RATIO value = (7*RATIO + measu 4)
/ 8.
'3': new RATIO value = (15*RATIO + measu
8) / 16.
'4': new RATIO value = (31*RATIO + measu
16) / 32.
'5': new RATIO value = (63*RATIO + measu
32) / 64.
'6': new RATIO value = (127*RATIO + measu
64) / 128.
'7': new RATIO value = (255*RATIO + measu
128) / 256.
Note: 'measurement' (integer component only) is
defined as: 256 * 'number of measured clk_ref_div
cycles per clk_lf cycle'. The RATIO value (integer and
fractional component) is defined as: 256*RATIO.INT16
+ RATIO.FRAC8 (RATIO.INT16 = RATIO >> 8 and
RATIO.FRAC8 = RATIO percent 256).
30
DYNAMIC
RW
R
0
Specifies if RATIO_CTL.VALID and RATIO are under
SW or HW control:
'0': SW control.
'1: HW control. Auto calibration is used to derive the
RATIO value. HW measures the number of clk_ref_div
cycles per clk_lf cycle. This measurement is combined
with the current ratio value to calculate a new ratio
value.
900
2022-04-18
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers