参数资料
型号: M38027M8DXXXFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
封装: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, QFP-64
文件页数: 20/54页
文件大小: 590K
代理商: M38027M8DXXXFP
MITSUBISHI MICROCOMPUTERS
3802 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
24
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
Port P56 latch
PWM enable bit
Port P56
PWM prescaler
PULSE WIDTH MODULATION (PWM)
The 3802 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 port P56. Set the PWM pe-
riod by the PWM prescaler, and set the period during which the
output pulse is an “H” 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)
= 51 ! (n+1)
s (when XIN = 5 MHz)
Output pulse “H” period = PWM period ! m/255
= 0.2 ! (n+1) ! m
s
(when XIN = 5 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.
Fig. 18 Timing of PWM cycle
Fig. 19 Block diagram of PWM function
51 ! m ! (n+1)
255
s
T = [51 ! (n+1)]
s
PWM output
m: Contents of PWM register
n : Contents of PWM prescaler
T : PWM cycle (when X IN = 5 MHz)
相关PDF资料
PDF描述
MB90549GPMC 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
MB90347CESPMC 16-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
MB90348ESPMC 16-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
MB90F343ESPMC 16-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP100
MB90F423GCPMC 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
M3802-BLACK-100 制造商:Alpha Wire 功能描述:
M3803 BK005 制造商:Alpha Wire 功能描述:CBL 5COND 18AWG BLK 100'
M38037M5H-175HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays
M38037M8108F 制造商:Panasonic Industrial Company 功能描述:IC
M38037M8H-194HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays