Renesas RL78/G1P Hardware User Manual page 160

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Address: F01B6H, F01B7H (TPS0)
Symbol
15
14
TPSm
0
0
PRS
PRS
m21
m20
0
0
0
1
1
0
1
1
PRS
PRS
m31
m30
0
0
0
1
1
0
1
1
When changing the clock selected for f
Note
stop timer array unit (TTm = 00FFH).
The timer array unit must also be stopped if the operating clock (f
CKSmn1 bits or the valid edge of the signal input from the TImn pin is selected as the count clock (f
Caution Be sure to clear bits 15, 14, 11, and 10 to "0".
By using channels 1 and 3 in the 8-bit timer mode and specifying CKm2 or CKm3 as the operation clock, the
interval times shown in Table 6-3 can be achieved by using the interval timer function.
Table 6-3. Interval Times Available for Operation Clock CKSm2 or CKSm3
Clock
CKm2
f
/2
CLK
2
f
/2
CLK
4
f
/2
CLK
f
/2
6
CLK
CKm3
f
/2
8
CLK
10
f
/2
CLK
12
f
/2
CLK
f
/2
14
CLK
Note The margin is within 5 %.
Remarks 1. f
: CPU/peripheral hardware clock frequency
CLK
2. For details of a signal of f
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 6-10. Format of Timer Clock Select register m (TPSm) (2/2)
After reset: 0000H
13
12
11
10
PRS
PRS
0
0
m31
m30
f
/2
CLK
2
f
/2
CLK
f
/2
4
CLK
6
f
/2
CLK
8
f
/2
CLK
f
/2
10
CLK
12
f
/2
CLK
f
/2
14
CLK
10
s
/2
CLK
R/W
9
8
7
6
PRS
PRS
PRS
PRS
m21
m20
m13
m12
Selection of operation clock (CKm2)
f
= 2 MHz
f
= 5 MHz f
CLK
CLK
1 MHz
2.5 MHz
500 kHz
1.25 MHz
125 kHz
312.5 kHz
31.25 kHZ
78.1 kHz
Selection of operation clock (CKm3)
f
= 2 MHz
f
= 5 MHz f
CLK
CLK
7.81 kHz
19.5 kHz
1.95 kHz
4.88 kHz
488 Hz
1.22 kHz
122 HZ
305 Hz
(by changing the system clock control register (CKC) value),
CLK
Interval Time
Note
100
s
j
selected with the TPSm register, see 6.5.1 Count clock (f
CHAPTER 6 TIMER ARRAY UNIT
5
4
3
2
PRS
PRS
PRS
PRS
m11
m10
m03
m02
Note
= 10 MHz f
= 20 MHz f
CLK
CLK
5 MHz
10 MHz
2.5 MHz
5 MHz
625 MHz
1.25 MHz
156.2 kHz
312.5 kHz
Note
= 10 MHz f
= 20 MHz f
CLK
CLK
39.1 kHz
78.1 kHz
9.76 kHz
19.5 kHz
2.44 kHz
4.88 kHz
610 Hz
1.22 kHz
) specified by using the CKSmn0, and
MCK
(f
= 32 MHz)
CLK
1 ms
1
0
PRS
PRS
m01
m00
= 32 MHz
CLK
16 MHz
8 MHz
2 MHz
500 kHZ
= 32 MHz
CLK
125 kHz
31.25 kHz
7.81 kHz
1.95 kHZ
).
TCLK
10 ms
).
TCLK
141

Advertisement

Table of Contents
loading

Table of Contents