Example Of Ppg Output Using Tm2; Ppg Output On To2 - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series
Fig. 7-90 shows an example of PPG output using 8-bit timer 2 (TM2). Fig. 7-91 shows an example of PPG output
when CR20 = CR21. Fig. 7-92 shows an example of PPG output when CR20 = 00H.
TM2
count value
Count starts
0H
INTC20
INTC21
TO2
(PPG output)
TO3
(timer output)
Remark ALV2 = 0, ALV3 = 0
Count clock
f
/16
CLK
f
/32
CLK
f
/64
CLK
f
/128
CLK
f
/256
CLK
f
/512
CLK
Note
The case where CR20 = 0 is excluded.
186
Fig. 7-90 Example of PPG Output Using TM2
CR21
CR20
T
Pulse
width
Table 7-18 PPG Output on TO2 (f
Note
Minimum pulse width
2.67 µ s
5.33 µ s
10.7 µ s
21.3 µ s
42.7 µ s
85.3 µ s
CR21
CR20
Pulse period
= 6 MHz)
CLK
PPG frequency
PPG period
5.33 µ s to 683 µ s
187.5 kHz to 1.46 kHz
10.7 µ s to 1.37 ms
93.75 kHz to 732 Hz
21.3 µ s to 2.73 ms
46.9 kHz to 366 Hz
42.7 µ s to 5.46 ms
23.4 kHz to 183 Hz
85.3 µ s to 10.9 ms
11.7 kHz to 91.6 Hz
171 µ s to 21.8 ms
5.86 kHz to 45.8 Hz
CR21
CR20

Advertisement

Table of Contents
loading

Table of Contents