NEC V850E/IA1 mPD703116 User Manual page 439

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

Advertisement

(2) Serial clock generation
A serial clock can be generated according to the settings of the CKSR0 and BRGC0 registers.
The base clock to the 8-bit counter is selected according to the TPS3 to TPS0 bits of the CKSR0 register.
The 8-bit counter divisor value can be set according to the MDL7 to MDL0 bits of the BRGC0 register.
(a) Clock selection register 0 (CKSR0)
The CKSR0 register is an 8-bit register for selecting the base clock according to the TPS3 to TPS0 bits.
The clock selected by the TPS3 to TPS0 bits becomes the base clock of the transmission/reception
module. Its frequency is referred to as f
This register can be read/written in 8-bit units.
Cautions 1. The maximum allowable frequency of the base clock (f
when the system clock's frequency is 50 MHz, bits TPS3 to TPS0 cannot be set to
0000B.
To use 50 MHz, set the TPS3 to TPS0 bits to a value other than 0000B, and set the
UARTCAE0 bit of the ASIM0 register to 1.
2. If the TPS3 to TPS0 bits are to be overwritten, the UARTCAE0 bit of the ASIM0
register should be set to 0 first.
7
6
CKSR0
0
0
Bit Position
Bit Name
3 to 0
TPS3 to
TPS0
CHAPTER 10 SERIAL INTERFACE FUNCTION
.
CLK
5
4
3
0
0
TPS3
Specifies the base clock.
TPS3
TPS2
TPS1
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
1
1
Arbitrary Arbitrary Setting prohibited
Remark f
: Internal system clock
XX
User's Manual U14492EJ3V0UD
2
1
0
TPS2
TPS1
TPS0
Function
TPS0
Base Clock (f
0
0
f
XX
0
1
f
/2
XX
1
0
f
/4
XX
1
1
f
/8
XX
0
0
f
/16
XX
0
1
f
/32
XX
1
0
f
/64
XX
1
1
f
/128
XX
0
0
f
/256
XX
0
1
f
/512
XX
1
0
f
/1024
XX
1
1
f
/2048
XX
) is 25 MHz. Therefore,
CLK
Address
Initial value
FFFFFA06H
00H
)
CLK
439

Advertisement

Table of Contents
loading

Table of Contents