
Mini57
Apr. 06, 2017
Page 405 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
USCI Baud Rate Generator Register (UI2C_BRGEN)
Register
Offset
R/W
Description
Reset Value
UI2C_BRGEN
U0x08
R/W
USCI Baud Rate Generator Register
0x0000_3C00
31
30
29
28
27
26
25
24
Reserved
CLKDIV
23
22
21
20
19
18
17
16
CLKDIV
15
14
13
12
11
10
9
8
Reserved
DSCNT
PDSCNT
7
6
5
4
3
2
1
0
Reserved
TMCNTSRC
TMCNTEN
SPCLKSEL
PTCLKSEL
RCLKSEL
Bits
Description
[31:26]
Reserved
Reserved.
[25:16]
CLKDIV
Clock Divider
This bit field defines the ratio between the protocol clock frequency f
PROT_CLK
and the clock
divider frequency f
DIV_CLK
(fDIV_CLK = fPROT_CLK / (1) ).
Note:
In UART function, it can be updated by hardware in the 4
th
falling edge of the input
data 0x55 when the auto baud rate function (ABREN(UI2C_PROTCTL[6])) is enabled. The
revised value is the average bit time between bit 5 and bit 6. The user can use revised
CLKDIV and new BRDETITV (UI2C_PROTCTL[24:16]) to calculate the precise baud rate.
[15]
Reserved
Reserved.
[14:10]
DSCNT
Denominator for Sample Counter
This bit field defines the divide ratio of the sample clock f
SAMP_CLK
.
The divided frequency f
DS_CNT
= f
PDS_CNT
/ (DSCNT+1).
Note:
The maximum value of DSCNT is 0xF on UART mode and suggest to set over 4 to
confirm the receiver data is sampled in right value.
[9:8]
PDSCNT
Pre-divider for Sample Counter
This bit field defines the divide ratio of the clock division from sample clock f
SAMP_CLK
. The
divided frequency f
PDS_CNT
= f
SAMP_CLK
/ (1).
[7:6]
Reserved
Reserved.
[5]
TMCNTSRC
Time Measurement Counter Clock Source Selection
0 = Time measurement counter with f
PROT_CLK.
1 = Time measurement counter with f
DIV_CLK.
[4]
TMCNTEN
Time Measurement Counter Enable Bit
This bit enables the 10-bit timing measurement counter.
0 = Time measurement counter Disabled.
1 = Time measurement counter Enabled.
[3:2]
SPCLKSEL
Sample Clock Source Selection