參數(shù)資料
型號(hào): M37515M4
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁(yè)數(shù): 30/54頁(yè)
文件大?。?/td> 749K
代理商: M37515M4
30
M37515M4-XXXHP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PULSE WIDTH MODULATION (PWM)
The M37515M4-XXXHP has a PWM function with an 8-bit resolu-
tion, 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 pe-
riod 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)
Output pulse “H” term = PWM period
m / 255
= 0.125
(n+1)
m
μ
s
(when f(X
IN
) = 8 MHz)
Fig. 31 Timing of PWM period
Fig. 32 Block diagram of PWM function
31.875
m
(n+1)
255
μ
s
T = [31.875
(n+1)]
μ
s
PWM output
m: Contents of PWM register
n : Contents of PWM prescaler
T : PWM period (when f(X
IN
) = 8
MHz)
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.
Data bus
Count source
selection bit
“0”
“1”
PWM
prescaler pre-latch
PWM
register pre-latch
PWM
prescaler latch
PWM
register latch
Transfer control circuit
PWM register
1/2
X
IN
Port P4
4
latch
PWM enable bit
Port P4
4
PWM prescaler
相關(guān)PDF資料
PDF描述
M37515 Single Chip 8 Bits CMOS Microcomputer(8位單片機(jī))
M37515M4-A04HP CAPACITOR, CLASS X2 33NF 275VAC CAPACITOR, CLASS X2 33NF 275VAC; CAPACITANCE:33NF; VOLTAGE RATING, AC:275V; VOLTAGE RATING, DC:760V; CAPACITOR DIELECTRIC TYPE:POLYPROPYLENE; SERIES:B81130; TOLERANCE, :20%; TOLERANCE, -:20%; TEMP, OP. RoHS Compliant: Yes
M37516F8HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37516 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37516M6-A30HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37515M4-608HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37515M4-A04HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37515M4-A44HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37515M4-C05HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37515M4-C07HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER