NEC V850E/IA1 mPD703116 User Manual page 475

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

(2) Dedicated baud rate generators 1, 2 (BRG1, BRG2)
BRGn is configured of an 8-bit timer counter for baud rate signal generation, a prescaler mode register that
controls the generation of the baud rate signal (PRSMn), a prescaler compare register that sets the value of
the 8-bit timer counter (PRSCMn), and a prescaler (n = 1, 2).
(a) Input clock
The internal system clock (f
(b) Prescaler mode registers 1, 2 (PRSM1, PRSM2)
The PRSMn register controls generation of the UARTn baud rate signal (n = 1, 2).
These registers can be read/written in 8-bit or 1-bit units.
Cautions 1. Do not change the values of the BGCS1 and BGCS0 bits during transmission/
reception operations.
2. Set PRSMn register other than the UARTCEn bit prior to setting the UARTCEn bit to
1 (n = 1, 2).
<7>
6
PRSM1
UARTCE1
0
<7>
6
PRSM2
UARTCE2
0
Bit Position
Bit Name
7
UARTCEn
1, 0
BGCS1,
BGCS0
Remark
n = 1, 2
CHAPTER 10 SERIAL INTERFACE FUNCTION
) is input to BRGn.
XX
5
4
3
0
0
0
5
4
3
0
0
0
Enables baud rate counter operation.
0: Stop baud rate counter operation and fix baud rate output signal to "0".
1: Enable baud rate counter operation and start baud rate output operation.
Selects count clock to baud rate counter.
BGCS1
BGCS0
0
0
0
1
1
0
1
1
Remark f
: Internal system clock
XX
User's Manual U14492EJ3V0UD
2
1
0
0
BGCS1
BGCS0
FFFFFA2EH
2
1
0
0
BGCS1
BGCS0
FFFFFA4EH
Function
Count Clock Selection
f
/2
XX
f
/4
XX
f
/8
XX
f
/16
XX
Address
Initial value
00H
Address
Initial value
00H
475

Advertisement

Table of Contents
loading

Table of Contents