CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U12688EJ4V0UM00
313
(c) Baud rate error
The baud rate generator error is calculated as follows:
Error [%] =
−
1
rate)
baud
(normal
rate
baud
Desired
error)
with
rate
(baud
rate
baud
Actual
×
100
Example:
(9,520/9,600 – 1)
×
100 = –0.833 [%]
(5,000/4,800 – 1)
×
100 = +4.167 [%]
(2) Allowable error range of baud rate
The allowable error range depends on the number of bits of one frame.
The basic limit is ±5% of baud rate error and ±4.5% of sample timing with an accuracy of 16 bits. However,
the practical limit should be ±2.3% of baud rate error, assuming that both the transmission and reception sides
contain an error.
10.4.2 Baud rate generator compare registers 0 to 2 (BRGC0 to BRGC2)
These are 8-bit compare registers used to set the timer count value for the BRG0 to BRG2.
These registers can be read/written in 8- or 1-bit units.
Address
FFFFF084H
7
BRG07
BRGC0
6
BRG06
5
BRG05
4
BRG04
3
BRG03
2
BRG02
1
BRG01
0
BRG00
After reset
Undefined
FFFFF094H
BRG17
BRGC1
BRG16
BRG15
BRG14
BRG13
BRG12
BRG11
BRG10
Undefined
FFFFF0A4H
BRG27
BRGC2
BRG26
BRG25
BRG24
BRG23
BRG22
BRG21
BRG20
Undefined
Caution Do not change the values in the BRGCn (n = 0 to 2) register by software during a
transmit/receive operation, because writing this register causes the internal timer (TMBRGn) to
be cleared.
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...