387
Chapter 13
Serial Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(c) Baud rate
The baud rate is the value obtained according to the following formula.
f
CLK
= Frequency [Hz] of basic clock selected according to TPS3 to TPS0 bits of CKSRm
register.
k = Value set according to MDL7 to MDL0 bits of BRGCm register (k = 8, 9, 10,..., 255)
(d) Baud rate error
The baud rate error is obtained according to the following formula.
Cautions: 1. Make sure that the baud rate error during transmission does not exceed the
allowable error of the reception destination.
2. Make sure that the baud rate error during reception is within the allowable baud
rate range during reception, which is described in chapter 13.2.6 (3)“Allowable
baud rate range during reception” on page 389.
Example:
Basic clock frequency = 10 MHz
Settings of MDL7 to MDL0 bits in BRGC0 register = 01000001B (k = 65)
Target baud rate = 76800 bps
Baud rate = 10 × 10
6
/ (2 × 65)
= 76923 bps
Error
= (76923/76800 - 1) × 100
= 0.160%
Baud rate
f
CLK
2 k
⋅
----------
=
bps
[
]
Error
Actual baud rate (baud rate with error)
Desired baud rate (normal baud rate)
-------------------------------------------------------------------------------------------------------
1
–
100
×
=
%
[ ]
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......