424
Chapter 13
Serial Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(2)
Configuration
BRGn is configured of an 8-bit timer counter that generates the baud rate signal, a prescaler mode
register n (PRSMn) that controls baud rate signal generation, a prescaler compare register n
(PRSCMn) that sets the value of the 8-bit timer counter, and a prescaler (n = 0 to 2).
(a) Input clock
The internal peripheral clock (f
PCLK
) is input to BRGn.
(b) Prescaler mode registers 0, 1 (PRSM0, PRSM1)
The PRSMn register controls the generation of the CSI00 to CSI02 baud rate signals respectively.
This register can be read/written in 8-bit or 1-bit units (n = 0 to 2).
Figure 13-43:
Prescaler Mode Registers 0, 1 (PRSM0, PRSM1)
Cautions: 1. Do not change the value of the BGCS1, BGCS0 bits during transmission/
reception operation.
2. Set the PRSMn register prior to setting the CE bit to 1.
7
6
5
4
3
2
1
0
Address
Initial
value
PRSM0
0
0
0
CE
0
0
BGCS1
BGCS0 FFFF FDC0H
00H
7
6
5
4
3
2
1
0
Address
Initial
value
PRSM1
0
0
0
CE
0
0
BGCS1
BGCS0
FFFF FDE0H
00H
Bit Position
Bit Name
Function
4
CE
Enables baud rate counter operation.
0: Stop baud rate counter operation and fix baud rate output signal to 0.
1: Enable baud rate counter operation and start baud rate output operation.
1, 0
BGCS1,
BGCS0
Selects count clock for baud rate counter.
BGCS1
BGCS0
Count Clock Selection
0
0
f
PCLK
/2
0
1
f
PCLK
/4
1
0
f
PCLK
/8
1
1
f
PCLK
/16
Remarks: 1.
f
PCLK
: internal peripheral clock.
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......