333
Chapter 12
Serial Interface Function
Preliminary User’s Manual U14913EE1V0UM00
(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 allow-
able 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 12.2.6 (3) Allowable
baud rate range during reception.
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 V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...