参数资料
型号: M38207M8-XXXHP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP80
封装: 0.50 MM PITCH, PLASTIC, QFP-80
文件页数: 61/69页
文件大小: 944K
代理商: M38207M8-XXXHP
Rev.4.01
Nov 14, 2003
page 64 of 136
3803/3804 Group
PULSE WIDTH MODULATION (PWM)
The 3803/3804 group has PWM functions with an 8-bit resolution,
based on a signal that is the clock input XIN or that clock input di-
vided by 2 or the clock input XCIN or that clock input divided by 2
in low-speed mode.
Data Setting
The PWM output pin also functions as port P56. 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(XIN)
= 31.875 (n+1)
s (when f(XIN) = 8 MHz)
Output pulse “H” term = PWM period m / 255
= 0.125 (n+1) m
s
(when f(XIN) = 8 MHz)
Fig. 53 Timing of PWM period
Fig. 54 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
s
T = [31.875 (n+1)]
s
PWM output
m: Contents of PWM register
n : Contents of PWM prescaler
T : PWM period (when f(XIN) = 8 MHz, count source
is f(XIN))
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
XIN
or
XCIN
Port P56 latch
PWM enable bit
Port P56
PWM prescaler
相关PDF资料
PDF描述
M38254M4DXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
MB90341EPFV MICROCONTROLLER, PQFP100
MB90F345ESPF MICROCONTROLLER, PQFP100
M30102M2T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
M30302M8L-XXXGP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
M38207RFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M3821 BK001 制造商:Alpha Wire 功能描述:CBL 25COND 18AWG BLK 1000'
M3821 BK002 制造商:Alpha Wire 功能描述:CBL 25COND 18AWG BLK 500'
M3821 BK005 制造商:Alpha Wire 功能描述:CBL 25COND 18AWG BLK 100'
M38220E1DFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER