vrs51c1100 ETC-unknow, vrs51c1100 Datasheet - Page 29

no-image

vrs51c1100

Manufacturer Part Number
vrs51c1100
Description
Versa 8051 Mcu With 128kb Of Iap/isp Flash
Manufacturer
ETC-unknow
Datasheet
VRS51C1100
The following formula can be used to calculate the
baud rate in modes 1 and 3 using Timer 2:
Modes 1, 3 Baud Rate =
Oscillator Frequency
32x[65536 – (RCAP2H, RCAP2L)]
The formula below is used to define the reload value
written into the RCAP2h, RCAP2L registers to achieve
a given baud rate.
(RCAP2H, RCAP2L) = 65536 -
Fosc
32x[Baud Rate]
In the above formula, RCAP2H and RCAP2L are the
contents of RCAP2H and RCAP2L taken as a 16-bit
unsigned integer. Note that a rollover in TH2 does not
set TF2 and will not generate an interrupt. As such, the
Timer 2 interrupt does not have to be disabled when
Timer 2 is configured in baud rate generator mode.
Furthermore, when Timer 2 is configured as a UART
baud rate generator and is running (TR2 is set to 1),
the user should not try to perform read or write
operations to the TH2/TL2, RCAP2H and RCAP2L
registers.
______________________________________________________________________________________________
www.ramtron.com
page 29 of 50

Related parts for vrs51c1100