参数资料
型号: M30880FHTGP
元件分类: 微控制器/微处理器
英文描述: 32-BIT, FLASH, 32 MHz, MICROCONTROLLER, PQFP100
封装: 14 X 14 MM, 0.50 MM PITCH, PLASTIC, LQFP-100
文件页数: 28/60页
文件大小: 458K
代理商: M30880FHTGP
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描述
M308B6FGGP 32-BIT, FLASH, 32 MHz, MICROCONTROLLER, PQFP100
M38039GCHKP 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
M38049MC-XXXHP 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
M38239GC-XXXHP 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP80
M38D59GF-XXXHP 8-BIT, MROM, 6.25 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
M30880FHUGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
M30880FJTGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
M30880FJUGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
M30880FWTGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
M30880FWTGP#U0 功能描述:IC M32C/88 MCU FLSH 320K 100LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:M16C™ M32C/80/88 标准包装:160 系列:S08 核心处理器:S08 芯体尺寸:8-位 速度:40MHz 连通性:I²C,LIN,SCI,SPI 外围设备:LCD,LVD,POR,PWM,WDT 输入/输出数:53 程序存储器容量:32KB(32K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1.9K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 12x12b 振荡器型:内部 工作温度:-40°C ~ 105°C 封装/外壳:64-LQFP 包装:托盘