m38039g6hsp Renesas Electronics Corporation., m38039g6hsp Datasheet - Page 56
m38039g6hsp
Manufacturer Part Number
m38039g6hsp
Description
Single-chip 8-bit Cmos Microcomputer
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.M38039G6HSP.pdf
(92 pages)
- Current page: 56 of 92
- Download datasheet (2Mb)
3803 Group (Spec.H QzROM version)
Rev.1.10
REJ03B0166-0110
PULSE WIDTH MODULATION (PWM)
The 3803 group (Spec.H QzROM version) has PWM functions
with an 8-bit resolution, based on a signal that is the clock input
X
that clock input divided by 2 in low-speed mode.
• Data Setting
The PWM output pin also functions as port P5
period 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(X
Output pulse “H” term = PWM period × m / 255
Fig 46. Block diagram of PWM function
IN
speed mode)
(X
or that clock input divided by 2 or the clock input X
CIN
= 31.875 × (n+1) µs
(when f(X
= 0.125 × (n+1) × m µs
(when f(X
at low-
X
IN
Nov 14, 2005
IN
IN
) = 8 MHz, count source selection bit = “0”)
) = 8 MHz, count source selection bit = “0”)
Data bus
1/2
“0”
Count source
selection bit
“1”
IN
Page 56 of 91
)
prescaler pre-latch
PWM prescaler
prescaler latch
6
PWM
PWM
. Set the PWM
Transfer control circuit
CIN
or
register pre-latch
PWM register
• 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 45. Timing of PWM period
register latch
PWM output
PWM
PWM
m : Contents of PWM register
n : Contents of PWM prescaler
T : PWM period
(when f(X
31.875 × m × (n+1)
IN
) = 8 MHz, count source selection bit = “0”)
T = [31.875 × (n+1)] µ s
Port P5
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
255
PWM function enable bit
6
latch
µ s
Port P5
6
Related parts for m38039g6hsp
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
FLASH PROGRAMMER FOR RENESAS MICROCONTROLLERS
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet: