参数资料
型号: M38267E8GP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP100
封装: 14 X 14 MM, 0.50 MM PITCH, PLASTIC, LQFP-100
文件页数: 32/82页
文件大小: 1377K
代理商: M38267E8GP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3826 Group
35
PULSE WIDTH MODULATION (PWM)
The 3826 group has a PWM function with an 8-bit resolution,
based on a signal that is the clock input XIN or that clock input di-
vided by 2.
Data Setting
The PWM output pin also functions as ports P50 and P51. Set the
PWM period by the PWM prescaler, and set the period during
which the output pulse is an “H” by the PWM register.
If PWM count source is f(XIN) and 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” period = PWM period m/255
= 0.125 (n+1) m
s
(when f(XIN) = 8 MHz)
PWM Operation
When at least either bit 1 (PWM0 function enable bit) or bit 2
(PWM1 function 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”. When one PWM output is en-
abled and that the other PWM output is enabled, PWM output
which is enabled to output later starts pulse output from halfway.
When 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.
Fig. 32 Timing of PWM cycle
Fig. 33 Block diagram of PWM function
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 circuit
1/2
XIN
PWM0 function
enable bit
Port P51
PWM prescaler
PWM1 function
enable bit
Port P50
Port P51
lacth
Port P50
lacth
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 cycle (when f(XIN) = 8 MHz)
相关PDF资料
PDF描述
MPC8323ECVRADDCA 32-BIT, 266 MHz, RISC PROCESSOR, PBGA516
MB96F347ASAXXXPQC-GSE2 16-BIT, FLASH, 56 MHz, RISC MICROCONTROLLER, PQFP100
M30221MC-XXXFP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP120
M37471M4-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP56
M37478M8TXXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
相关代理商/技术参数
参数描述
M38267RLFS 功能描述:DEV EMULATOR CHIP MCU/8BIT CMOS RoHS:否 类别:编程器,开发系统 >> 内电路编程器、仿真器以及调试器 系列:- 产品变化通告:Development Systems Discontinuation 19/Jul/2010 标准包装:1 系列:* 类型:* 适用于相关产品:* 所含物品:*
M3826AEFFP#U0 制造商:Renesas 功能描述:MCU 8-bit 740 CISC 60KB EPROM 5V 100-Pin PQFP Tray
M3826AMFA-221FP#U0 制造商:Renesas Electronics Corporation 功能描述:
M3826-BK001 制造商:Alpha Wire 功能描述:
M3826-BK002 制造商:Alpha Wire 功能描述: