English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (430/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 16 MANCHESTER CODE GENERATOR
(c) MCG control register 2 (MC0CTL2)
This register is used to set the transmit baud rate.
This register can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 1FH.
Address: FF4EH After reset: 1FH R/W
Symbol
7
6
5
MC0CTL2
0
0
0
4
MC0BRS4
3
MC0BRS3
2
MC0BRS2
1
MC0BRS1
0
MC0BRS0
MC0BRS4 MC0BRS3 MC0BRS2 MC0BRS1 MC0BRS0
0
0
0
×
×
0
0
1
0
0
0
0
1
0
1
0
0
1
1
0
0
0
1
1
1
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
1
1
1
0
0
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
k
Output clock selection of 5-bit
counter
4 fXCLK/4
4 fXCLK/4
5 fXCLK/5
6 fXCLK/6
7 fXCLK/7
•
•
•
•
•
•
•
•
•
•
28 fXCLK/28
29 fXCLK/29
30 fXCLK/30
31 fXCLK/31
Cautions 1. Clear bit 7 (MC0PWR) of the MC0CTL0 register to 0 before rewriting the MC0BRS4 to
MC0BRS0 bits.
2. The value from further dividing the output clock of the 5-bit counter by 2 is the baud
rate value.
Remarks 1. fXCLK: Frequency of the base clock selected by the MC0CKS2 to MC0CKS0 bits of the
MC0CTL1 register
2. k: Value set by the MC0BRS4 to MC0BRS0 bits (k = 4, 5, 6, 7, …., 31)
3. ×: Don’t care
<1> Baud rate
The baud rate can be calculated by the following expression.
•
fXCLK
Baud rate =
[bps]
2×k
fXCLK: Frequency of base clock selected by the MC0CKS2 to MC0CKS0 bits of the MC0CTL1 register
k: Value set by the MC0BRS4 to MC0BRS0 bits of the MC0CTL2 register (k = 4, 5, 6, ..., 31)
428
User’s Manual U18698EJ1V0UD