Technical information
32
3886 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PULSE WIDTH MODULATION (PWM)
OUTPUT CIRCUIT
The 3886 group has two PWM output circuits, PWM0 and PWM1,
with 14-bit resolution respectively. These can operate indepen-
dently. When the oscillation frequency XIN is 10 MHz, the
minimum resolution bit width is 200 ns and the cycle period is
3276.8 µs. The PWM timing generator supplies a PWM control
signal based on a signal that is the frequency of the XIN clock.
Fig. 29 PWM block diagram (PWM0)
The following explanation assumes f(XIN) = 8 MHz.
1
4
1
/
2
P
W
M0
e
n
a
b
l
e
b
i
t
P
3
0
l
a
t
c
h
P
3
0/
P
W
M0
0
P
W
M
0
L
r
e
g
i
s
t
e
r
(
a
d
d
r
e
s
s
0
0
3
11
6)
P
W
M
0
H
r
e
g
i
s
t
e
r
(
a
d
d
r
e
s
s
0
0
3
0
1
6)
b
i
t
7
b
i
t
0
b
i
t
5
M
S
B L
S
B
P
W
M0
b
i
t
7
b
i
t
0
P
W
M
0
t
i
m
i
n
g
g
e
n
e
r
a
t
o
r
(
6
4
µs
p
e
r
i
o
d
)
(
4
0
9
6
µs
p
e
r
i
o
d
)
P
W
M
0
l
a
t
c
h
(
1
4
b
i
t
s
)
S
e
t
t
o
“
1
”
a
t
w
r
i
t
e
D
a
t
a
B
u
s
f
(
XI
N)
(
8
M
H
z
)
1
4
-
b
i
t
P
W
M
0
c
i
r
c
u
i
t
P
56
d
i
r
e
c
t
i
o
n
r
e
g
i
s
t
e
r
P
W
M
0
e
n
a
b
l
e
b
i
t
P
W
M
0
e
n
a
b
l
e
b
i
t
P
5
6
l
a
t
c
h
P
5
6/
D
A1/
P
W
M0
1
P
W
M0
o
u
t
p
u
t
s
e
l
e
c
t
i
o
n
b
i
t
P
30
d
i
r
e
c
t
i
o
n
r
e
g
i
s
t
e
r
(
4
M
H
z
)
P
W
M0
e
n
a
b
l
e
b
i
t
P
W
M0
o
u
t
p
u
t
s
e
l
e
c
t
i
o
n
b
i
t