mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 34

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
(2) Using Timer 2 as the Baud Rate Generator
When Timer 2 is used as the baud rate generator (either TCLK or RCLK in T2CON is ‘1’), the baud rate is as
follows.
BRADJ = 0
BRADJ = 1
Fosc
1
Fosc
1
x
x
B.R. =
B.R. =
32
8
65536-[RCAP2H,RCAP2L]
65536-[RCAP2H,RCAP2L]
(The same as standard 8051)
Note2
Note2:
For Fosc=12MHz, if BRADJ=1 and [RCAP2H,L]=65523, then we can get:
Baud Rate = (12MHz/8) x 1/(65536-65523) = 115385 bps.
Where, the deviation to the standard 115200 bps is +0.16%, which is acceptable in UART communication.
34
MG84FL54B Data Sheet
MEGAWIN

Related parts for mg84fl54b