571
Clocked Serial Interface (CSIB)
Chapter 17
Preliminary User’s Manual U17566EE1V2UM00
17.7.2
Baud Rate Generator registers
The Baud Rate Generators BRGn are controlled and operated by means of the
following registers:
(1)
PRSMn - Prescaler mode registers
The PRSMn registers control generation of the baud rate signal for CSIB.
Access
This register can be read/written in 8-bit or 1-bit units.
Address
<BRG_base>
Initial Value
00
H
. This register is cleared by any reset.
Caution
1.
Do not rewrite the PRSMn register during operation.
2.
Set the BGCSn[1:0] bits before setting the BGCEn bit to 1.
Table 17-9
BRGn registers overview
Register name
Shortcut
Address
BRGn prescaler mode register
PRSMn
<BRG_base>
BRGn prescaler compare register
PRSCMn
<BRG_base> + 1
H
Table 17-10
BRGn register base address
Timer
Base address <BRG_base>
BRG0
FFFF FDC0
H
BRG1
FFFF FDE0
H
BRG2
FFFF FDF0
H
7
6
5
4
3
2
1
0
0
0
0
BGCEn
0
0
BGCSn1 BGCSn0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 17-11
PRSMn register contents
Bit position
Bit name
Function
4
BGCEn
Baud rate output
0: disabled
1: enabled
1 to 0
BGCSn[1:0]
Input clock selection
BGCSn1
BGCSn0 Input clock selection (f
BGCSn
)
Setting value k
0
0
f
SPCLK1
0
0
1
f
SPCLK1
/2
1
1
0
f
SPCLK1
/4
2
1
1
f
SPCLK1
/8
3
electronic components distributor