datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

M38500E5H-FP View Datasheet(PDF) - MITSUBISHI ELECTRIC

Part Name
Description
View to exact match
M38500E5H-FP
Mitsubishi
MITSUBISHI ELECTRIC  Mitsubishi
M38500E5H-FP Datasheet PDF : 86 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
MITSUBISHI MICROCOMPUTERS
3850 Group (Spec. H)
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PULSE WIDTH MODULATION (PWM)
The 3850 group (spec. H) has a PWM function with an 8-bit
resolution, based on a signal that is the clock input XIN or that
clock input divided by 2.
Data Setting
The PWM output pin also functions as port P44. Set the PWM
period by the PWM prescaler, and set the Hterm 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,count source selection bit = 0)
Output pulse Hterm = PWM period m / 255
= 0.125 (n+1) m µs
(when f(XIN) = 8 MHz,count source selection bit = 0)
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) µs
255
PWM output
T = [31.875 (n+1)] µs
m: Contents of PWM register
n : Contents of PWM prescaler
T : PWM period (when f(XIN) = 8 MHz,count source
selection bit = 0)
Fig. 27 Timing of PWM period
Data bus
PWM
prescaler pre-latch
PWM
register pre-latch
Transfer control circuit
XIN
(XCIN at low-speed mode)
PWM
prescaler latch
Count source
selection bit
0
PWM prescaler
1/2 1
PWM
register latch
PWM register
Port P44
Port P44 latch
PWM enable bit
Fig. 28 Block diagram of PWM function
29
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]