mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 32

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
11.3. Baud Rate Setting
All the four operation modes of the serial port are the same as those of the standard 8051 except the baud rate
setting. Three registers, PCON, AUXR and AUXR2, are related to the baud rate setting:
PCON (Address=87H, Power Control Register)
SMOD: Double baud rate control bit.
AUXR (Address=8EH, Auxiliary Register)
BRADJ: Baud rate adjustment index. Set to upgrade the baud rate of the Serial Port. The selection is as
following table:
AUXR2 (Address=A6H, Auxiliary Register 2)
T1X12: Timer 1 clock source select. Set to select Fosc as the clock source, and clear to select Fosc/12.
URM0X6: Serial Port mode 0 baud rate select. Set to select Fosc/2.
Bits T1X12 and URM0X6 provide a new option for the baud rate setting, as listed below.
Baud Rate in Mode 0
32
SMOD
T0X12
7
7
7
-
(The same as standard 8051)
SMOD0
T1X12
BRADJ0
6
6
6
-
B.R. =
0
1
URM0X6 = 0
URM0X6
BRADJ
Fosc
12
5
5
5
-
Enhanced Baud Rate Setting
Default Baud Rate
Double Baud Rate
POF
MG84FL54B Data Sheet
4
4
4
-
-
T2X12
GF1
3
3
3
-
GF0
2
2
2
-
-
B.R. =
URM0X6 = 1
PD
1
1
1
-
-
Fosc
2
T0CKOE
DPS
IDL
0
0
0
MEGAWIN

Related parts for mg84fl54b