Z8 Encore!® Motor Control Flash MCUs
Product Specification
142
The baud rate error relative to the appropriate baud rate is calculated using the following
equation:
Actual Data Rate – Desired Data Rate
----------------------------------------------------------------------------------------------------
UART Baud Rate Error (%) = 100 ×
Desired Data Rate
For reliable communication, the LIN-UART baud rate error must never exceed 5 percent.
Tables 78 through 82 provide error data for popular baud rates and commonly-used crystal
oscillator frequencies for normal UART modes of operation.
Table 78. LIN-UART Baud Rates, 20.0 MHz System Clock
BRG
BRG
Applicable
Divisor
ActualRate Error(
Applicable
Divisor
ActualRate Error(
Rate (kHz) (Decimal)
(kHz)
1250.0
625.0
250.0
113.64
56.82
37.88
19.23
%)
Rate (kHz) (Decimal)
(kHz)
9.62
%)
1250.0
625.0
250.0
115.2
57.6
1
2
0.00
9.60
4.80
2.40
1.20
0.60
0.30
130
260
0.16
0.00
4.81
0.16
5
0.00
521
2.399
1.199
0.60
–0.03
–0.03
0.02
11
22
33
65
–1.19
–1.36
–1.36
0.16
1042
2083
4167
38.4
0.299
–0.01
19.2
Table 79. LIN-UART Baud Rates, 10.0MHz System Clock
BRG
BRG
Applicable
Divisor
ActualRate Error(
Applicable
Divisor
ActualRate Error(
Rate (kHz) (Decimal)
(kHz)
N/A
%)
N/A
Rate (kHz) (Decimal)
(kHz)
9.62
4.81
2.40
1.20
0.60
0.30
%)
1250.0
625.0
250.0
115.2
57.6
N/A
1
9.60
4.80
2.40
1.20
0.60
0.30
65
0.16
0.16
–0.03
–0.03
–0.03
0.2
625.0
208.33
125.0
56.8
0.00
130
3
–16.67
8.51
260
5
521
11
16
33
–1.36
1.73
1042
2083
38.4
39.1
19.2
18.9
0.16
LIN-UART
P R E L I M I N A R Y
PS024604-1005