M38513E4FP#U0 Renesas Electronics America, M38513E4FP#U0 Datasheet - Page 34

IC 740 MCU ROM 16K 42SSOP

M38513E4FP#U0

Manufacturer Part Number
M38513E4FP#U0
Description
IC 740 MCU ROM 16K 42SSOP
Manufacturer
Renesas Electronics America
Series
740/38000r
Datasheets

Specifications of M38513E4FP#U0

Core Processor
740
Core Size
8-Bit
Speed
8MHz
Connectivity
SIO, UART/USART
Peripherals
PWM, WDT
Number Of I /o
34
Program Memory Size
16KB (16K x 8)
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-20°C ~ 85°C
Package / Case
42-SSOP
Package
42SSOP
Family Name
740
Maximum Speed
8 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
34
Interface Type
I2C-BUS
On-chip Adc
5-chx10-bit
Number Of Timers
4
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
PULSE WIDTH MODULATION (PWM)
The 3851 group has a PWM function with an 8-bit resolution,
based on a signal that is the clock input X
vided by 2.
Data Setting
The PWM output pin also functions as port P4
riod 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
Output pulse “H” term = PWM period
Fig. 33 Block diagram of PWM function
X
f(X
= 31.875
= 0.125
IN
(when f(X
IN
))
Data bus
(n+1)
1/2
IN
(n+1) s (when f(X
) = 8 MHz, count source = f(X
(n+1) / f(X
“0”
“1”
Count source
selection bit
m s
IN
)
prescaler pre-latch
IN
PWM prescaler
prescaler latch
m / 255
) = 8 MHz, count source =
IN
PWM
PWM
or that clock input di-
4
. Set the PWM pe-
Transfer control circuit
IN
))
register pre-latch
PWM register
register latch
PWM
PWM
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. 32 Timing of PWM period
m : C o n t e n t s o f P W M r e g i s t e r
n : C o n t e n t s o f P W M p r e s c a l e r
T : P W M p e r i o d ( w h e n f ( X
PWM output
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Port P4
3 1 . 8 7 5
MITSUBISHI MICROCOMPUTERS
4
T = [ 3 1 . 8 7 5
latch
2 5 5
PWM enable bit
I N
m
) = 8 M H z , c o u n t s o u r c e = f ( X
(Built-in 16 KB ROM)
( n + 1 )
( n + 1 ) ] s
s
3851 Group
Port P4
4
I N
) )
31

Related parts for M38513E4FP#U0