NEC 78K0 Series User Manual page 358

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

(4) Clock selection register 6 (CKSR6)
This register selects the base clock of serial interface UART6.
CKSR6 can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 00H.
Remark CKSR6 can be refreshed (the same value is written) by software during a communication operation
(when bit 7 (POWER6) and bit 6 (TXE6) of ASIM6 = 1 or bit 7 (POWER6) and bit 5 (RXE6) of ASIM6 =
1).
Address: FF56H After reset: 00H R/W
Symbol
7
CKSR6
0
TPS63
0
0
0
0
0
0
0
0
1
1
1
1
Note Note the following points when selecting the TM50 output as the base clock.
• Mode in which the count clock is cleared and started upon a match of TM50 and CR50 (TMC506 = 0)
Start the operation of 8-bit timer/event counter 50 first and then enable the timer F/F inversion operation
(TMC501 = 1).
• PWM mode (TMC506 = 1)
Start the operation of 8-bit timer/event counter 50 first and then set the count clock to make the duty =
50%.
It is not necessary to enable the TO50 pin as a timer output pin in any mode.
Caution Make sure POWER6 = 0 when rewriting TPS63 to TPS60.
Remarks 1. f
: Peripheral hardware clock frequency
PRS
2. TMC506: Bit 6 of 8-bit timer mode control register 50 (TMC50)
TMC501: Bit 1 of TMC50
358
CHAPTER 15 SERIAL INTERFACE UART6
Figure 15-8. Format of Clock Selection Register 6 (CKSR6)
6
5
0
0
TPS62
TPS61
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
Other than above
Preliminary User's Manual U17260EJ3V1UD
4
3
0
TPS63
TPS62
TPS60
Base clock (f
f
=
PRS
2 MHz
0
f
2 MHz
PRS
1
f
/2
1 MHz
PRS
2
0
f
/2
500 kHz
PRS
3
1
f
/2
250 kHz
PRS
4
0
f
/2
125 kHz
PRS
5
1
f
/2
62.5 kHz
PRS
6
0
f
/2
31.25 kHz 78.13 kHz 156.25 kHz 312.5 kHz
PRS
7
1
f
/2
15.625 kHz 39.06 kHz 78.13 kHz 156.25 kHz
PRS
8
0
f
/2
7.813 kHz 19.53 kHz 39.06 kHz 78.13 kHz
PRS
9
1
f
/2
3.906 kHz 9.77 kHz
PRS
10
0
f
/2
1.953 kHz 4.88 kHz
PRS
Note
1
TM50 output
Setting prohibited
2
1
0
TPS61
TPS60
) selection
XCLK6
f
=
f
=
f
PRS
PRS
PRS
5 MHz
10 MHz
20 MHz
5 MHz
10 MHz
20 MHz
2.5 MHz
5 MHz
10 MHz
1.25 MHz
2.5 MHz
5 MHz
625 kHz
1.25 MHz
2.5 MHz
312.5 kHz 625 kHz
1.25 MHz
156.25 kHz 312.5 kHz 625 kHz
19.53 kHz 39.06 kHz
9.77 kHz
19.53 kHz
=

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents