參數資料
型號: M37516RSS
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數: 35/54頁
文件大小: 358K
代理商: M37516RSS
35/54
M37516M6-XXXHP
GNOK-M37516M6-XXXHP-50
(MSETSU 2)
PA
GE
PULSE WIDTH MODULATION (PWM)
The M37516M6-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) us
(when f(X
IN
) = 8 MHz, count source is f(X
IN
) )
Output pulse “H” term = PWM period
m / 255
= 0.125
(n+1)
m us
(when f(X
IN
) = 8 MHz, count source is f(X
IN
))
Fig. 36 Timing of PWM period
Fig. 37 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.
31.875
m
(n+1)
255
T = [31.875
(n+1)]
PWM output
m: Contents of PWM register
n : Contents of PWM prescaler
T : PWM period (when f(X
IN
) = 8 MHz,
count source is f(X
IN
))
us
us
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
相關PDF資料
PDF描述
M37516M6-A05 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37516M6-A05HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37516M6-A06HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37516M6-A14HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37531E8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關代理商/技術參數
參數描述
M37517F8HP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37530T-PTC 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Converter for Connecting 42-pin 1.778mm-pitch SDIP to a 40-pin Narrow-pitch Connector (for 7531, 7540, 7542 and 7544 Groups)
M37530T-PTCB 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Converter for Connecting 40-pin Narrow-pitch Connector to 32-pin 0.8mm-pitch LQFP (for 7531, 7532, 7534, 7540, 7542 and 7544 Groups)
M37530T-PTCC 功能描述:DEV 42-PIN RSS/MCU TO 32-PIN 1.7 RoHS:否 類別:編程器,開發(fā)系統 >> 配件 系列:- 標準包裝:1 系列:- 附件類型:適配器板 適用于相關產品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
M37531E4FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER