Example Of Pwm Output Using Tm2; Pwm Output On To2 And To3 - NEC PD78212 User Manual

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

Advertisement

Count clock
f
/16
CLK
f
/32
CLK
f
/64
CLK
f
/128
CLK
f
/256
CLK
f
/512
CLK
Fig. 7-86 shows an example of 2-channel PWM output. Fig. 7-87 shows PWM output when FFH is set in the CR20
compare register.
FFH
TM2
count value
0H
INTC20
INTC21
TO2
TO3
Table 7-17 PWM Output on TO2 and TO3 (f
Minimum pulse width
2.7
5.3
10.7
21.3
42.7
85.3
Fig. 7-86 Example of PWM Output Using TM2
FFH
CR21
CR20
Remark ALV2 = 0, ALV3 = 0
Chapter 7 Timer/Counter Units
= 6 MHz)
CLK
PWM frequency (Hz)
PWM period (ms)
0.7
1.4
2.7
5.5
10.9
21.8
FFH
CR21
CR20
1465
732
366
183
92
46
CR20
183
7

Advertisement

Table of Contents
loading

Table of Contents