參數(shù)資料
型號: M38507M8-XXXSP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 39/99頁
文件大小: 1384K
代理商: M38507M8-XXXSP
39
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3850 Group (Spec. H/A)
PULSE WIDTH MODULATION (PWM)
The 3850 group (spec. H/A) has a PWM function with an 8-bit
resolution, based on a signal that is the clock input X
IN
or that
clock input divided by 2.
Data Setting
The PWM output pin also functions as port P4
4
. Set the PWM
period by the PWM prescaler, and set the
H
term of output pulse
by the PWM register.
If the value in the PWM prescaler is n and the value in the PWM
register is m (where n = 0 to 255 and m = 0 to 255) :
PWM period = 255
(n+1) / f(X
IN
)
= 31.875
(n+1)
μ
s
(when f(X
IN
) = 8 MHz,count source selection bit =
0
)
Output pulse
H
term = PWM period
m / 255
= 0.125
(n+1)
m
μ
s
(when f(X
IN
) = 8 MHz,count source selection bit =
0
)
Fig. 35 Timing of PWM period
Fig. 36 Block diagram of PWM function
PWM Operation
When bit 0 (PWM enable bit) of the PWM control register is set to
1
, operation starts by initializing the PWM output circuit, and
pulses are output starting at an
H
.
If the PWM register or PWM prescaler is updated during PWM
output, the pulses will change in the cycle after the one in which
the change was made.
3
1
.
8
7
5
2
m
5
(
n
+
1
)
5
μ
s
T
=
[
3
1
.
8
7
5
(
n
+
1
)
]
μ
s
P
W
M
o
u
t
p
u
t
m
n
T
:
:
:
C
C
P
s
o
o
W
e
l
n
n
t
t
M
e
c
e
e
n
n
p
t
i
t
t
s
s
e
n
r
o
o
i
b
f
f
d
i
t
P
P
=
W
W
(
w
M
M
h
0
r
p
n
e
r
g
e
f
(
i
s
X
I
s
t
e
a
N
)
r
l
c
e
r
o
e
)
=
8
M
H
z
,
c
o
u
n
t
s
o
u
r
c
e
o
D
a
t
a
b
u
s
Count source
selection bit
0
1
PWM
prescaler pre-latch
P
t
e
W
r
M
p
r
r
e
g
i
s
e
-
l
a
t
c
h
PWM
prescaler latch
P
i
s
W
t
e
M
r
a
r
e
g
l
t
c
h
T
r
a
n
s
f
e
r
c
o
n
t
r
o
l
c
i
r
c
u
i
t
P
W
M
r
e
g
i
s
t
e
r
1
/
2
X
IN
P
o
r
t
P
4
4
l
a
t
c
h
P
W
M
e
n
a
b
l
e
b
i
t
P
o
r
t
P
4
4
P
W
M
p
r
e
s
c
a
l
e
r
(X
CIN
at low-speed mode)
相關PDF資料
PDF描述
M38504E6-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38507E8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38503E4SS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38503M4 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38503MXH SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關代理商/技術參數(shù)
參數(shù)描述
M3851 BK001 制造商:Alpha Wire Company 功能描述:CBL 7COND 14AWG BLK 1000'
M3851 BK002 制造商:Alpha Wire Company 功能描述:CBL 7COND 14AWG BLK 500'
M3851 BK005 制造商:Alpha Wire Company 功能描述:CBL 7COND 14AWG BLK 100'
M38510/00102BCB 制造商:n/a 功能描述:38510/00102 S6I6B 制造商: 功能描述: 制造商:undefined 功能描述:
M38510/00103BCA 制造商:QP Semiconductor 功能描述:NAND GATE, TRIPLE 3-INPUT