saf-xc878m-16ffi5v Infineon Technologies Corporation, saf-xc878m-16ffi5v Datasheet - Page 98

no-image

saf-xc878m-16ffi5v

Manufacturer Part Number
saf-xc878m-16ffi5v
Description
8-bit Single-chip Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
saf-xc878m-16ffi5vAC
Manufacturer:
INFINEON/英飞凌
Quantity:
20 000
Table 32
24 MHz
12 MHz
8 MHz
6 MHz
3.13.2
In UART modes 1 and 3 of UART module, Timer 1 can be used for generating the
variable baud rates. In theory, this timer could be used in any of its modes. But in
practice, it should be set into auto-reload mode (Timer 1 mode 2), with its high byte set
to the appropriate value for the required baud rate. The baud rate is determined by the
Timer 1 overflow rate and the value of SMOD as follows:
3.14
Setting bit FDM in register FDCON to 1 configures the fractional divider to normal divider
mode, while at the same time disables baud rate generation (see
fractional divider is enabled (FDEN = 1), it functions as an 8-bit auto-reload timer (with
no relation to baud rate generation) and counts up from the reload value with each input
clock pulse. Bit field RESULT in register FDRES represents the timer value, while bit
field STEP in register FDSTEP defines the reload value. At each timer overflow, an
overflow flag (FDCON.NDOV) will be set and an interrupt request generated. This gives
an output clock f
The output frequency in normal divider mode is derived as follows:
Data Sheet
f
PCLK
Baud Rate Generation using Timer 1
Normal Divider Mode (8-bit Auto-reload Timer)
Deviation Error for UART with Fractional Divider enabled
Prescaling Factor
(2BRPRE)
1
1
1
1
MOD
that is 1/n of the input clock f
Mode 1, 3 baud rate
f
MOD
Reload Value
(BR_VALUE + 1)
6 (6
3 (3
2 (2
6 (6
=
H
H
H
H
f
)
)
)
)
DIV
91
=
---------------------------------------------------- -
32 2
×
----------------------------- -
256 STEP
2
×
SMOD
DIV
×
, where n is defined by 256 - STEP.
1
(
256 TH1
×
STEP
59 (3B
59 (3B
59 (3B
236 (EC
f
PCLK
H
H
H
Functional Description
)
)
)
H
)
)
Figure
Deviation
Error
+0.03 %
+0.03 %
+0.03 %
+0.03 %
26). Once the
XC87xCLM
V1.5, 2011-03
(3.6)
(3.7)

Related parts for saf-xc878m-16ffi5v