Baud Rate Generator Compare Registers 0 To 3 (Brgc0 To Brgc3) - NEC V854 UPD703006 User Manual

32/16-bit single-chip microcontroller hardware
Table of Contents

Advertisement

(c) Error of baud rate
The error of the baud rate is calculated as follows:
Actual baud rate (baud rate with error)
Error [%] =
Desired baud rate (normal baud rate)
Example: (9520/9600 – 1) x 100 = –0.833 [%]
(5000/4800 – 1) x 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.

8.5.2 Baud rate generator compare registers 0 to 3 (BRGC0 to BRGC3)

These are 8-bit compare registers that set a timer/count value for the dedicated baud rate generator.
These registers can be read/written in 8- or 1-bit units.
7
6
BRGC0
BRG07
BRG06
BRGC1
BRG17
BRG16
BRGC2
BRG27
BRG26
BRGC3
BRG37
BRG36
Caution
The internal timer (TMBRGn) is cleared by writing the BRGC registers. Therefore, do not
rewrite or program the BRGCn registers during transmission/reception operation.
Remark
n = 0 to 3
CHAPTER 8 SERIAL INTERFACE FUNCTION
5
4
3
BRG05
BRG04
BRG03
BRG02
BRG15
BRG14
BRG13
BRG12
BRG25
BRG24
BRG23
BRG22
BRG35
BRG34
BRG33
BRG32
User's Manual U11969EJ3V0UM00
– 1
x 100
2
1
0
BRG01
BRG00
FFFFF084H
BRG11
BRG10
FFFFF094H
BRG21
BRG20
FFFFF0A4H
BRG31
BRG30
FFFFF0B4H
Address
After reset
Undefined
Address
After reset
Undefined
Address
After reset
Undefined
Address
After reset
Undefined
291

Advertisement

Table of Contents
loading

Table of Contents