M38D59GCHP#U0 Renesas Electronics America, M38D59GCHP#U0 Datasheet - Page 65
![IC 740/38D5 MCU QZ-ROM 80LQFP](/photos/12/37/123728/m38d59gchp_u0_sml.jpg)
M38D59GCHP#U0
Manufacturer Part Number
M38D59GCHP#U0
Description
IC 740/38D5 MCU QZ-ROM 80LQFP
Manufacturer
Renesas Electronics America
Series
740/38000r
Datasheet
1.M38D58G8FPU0.pdf
(144 pages)
Specifications of M38D59GCHP#U0
Core Processor
740
Core Size
8-Bit
Speed
12.5MHz
Connectivity
SIO, UART/USART
Peripherals
LCD, LED, PWM, WDT
Number Of I /o
59
Program Memory Size
48KB (48K x 8)
Program Memory Type
QzROM
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
80-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
38D5 Group
Rev.3.04
REJ03B0158-0304
CLOCK GENERATING CIRCUIT
The oscillation circuit of 38D5 Group can be formed by
connecting an oscillator, capacitor and resistor between X
X
input it to the X
that are externally generated cannot be directly input to X
Use the circuit constants in accordance with the oscillator
manufacturer's recommended values. No external resistor is
needed between X
on-chip. (An external feed-back resistor may be needed
depending on conditions.) However, an about 10 MΩ external
feedback resistor is needed between X
The 38D5 Group operation mode immediately after reset
depends on the OSCSEL pin state in the QzROM version.
When the OSCSEL pin state is GND level, the only on-chip
oscillator starts oscillating. The X
oscillating, and X
Flash memory version as same.
When the OSCSEL pin state is V
oscillation divided by 8 starts oscillating. The on-chip oscillator
stops oscillating, and the X
ports.
Note the following in each mode.
• X
The X
oscillation stop bit is set to “1”.
• Low-Speed Mode
The X
to “0”.
• On-Chip Oscillator Mode
Even if the on-chip oscillator stop bit is set to “1”, the on-chip
oscillator oscillation does not stop in the flash memory version,
but stops in the QzROM version.
OUT
IN
Mode
CIN
IN
(X
-X
CIN
-X
OUT
COUT
and X
May 20, 2008 Page 63 of 134
IN
oscillation does not stop even if the X
oscillation stops if the port X
IN
pin and make the X
CIN
COUT
and X
and X
). To supply a clock signal externally,
OUT
CIN
COUT
and X
since a feed-back resistor exists
pins function as I/O ports.
IN
CC
CIN
COUT
OUT
-X
level, the X
and X
OUT
pin open. The clocks
pins function as I/O
oscillation stops
C
COUT
switch bit is set
.
IN
IN
-X
-X
IN
OUT
CIN
OUT
and
.
• Frequency Control
(1) On-chip oscillation mode
The system clock φ is the on-chip oscillator oscillation divided
by 32.
(2) X
Frequency/2 mode, frequency/4 mode, and frequency/8 mode are
collectively referred as X
(3)Low-speed Mode
The system clock φ is half the frequency of sub clock.
After reset and when system returns from the stop mode, the
operation mode depends on the OSCSEL pin state in the
QzROM version and the flash memory version operation mode is
the on-chip oscillator mode.
When the RESET pin changes from “L” to “H” and when the
STP instruction is executed, determine the input level applied to
the OSCSEL pin.
Refer to the clock state transition diagram for the setting of
transition to each mode.
The X
the sub-clock oscillation is controlled by the bit 4 of CPUM and
the on-chip oscillator oscillation is controlled by the bit 0 of
CPUM2.
In the on-chip oscillator mode, the oscillation by the oscillator
can be stopped. In the low-speed mode, the power consumption
can be reduced by stopping the X
In low-speed mode, the on-chip oscillator stops in the QzROM
version regardless of the on-chip oscillator stop bit value. The
on-chip oscillator does not stop in the flash memory version, so
set the on-chip oscillator stop bit to “1” to stop the oscillation.
Set enough time for oscillation to stabilize by programming to
restart the stopped oscillation and switch the operation mode.
Also, set enough time for oscillation to stabilize by programming
to switch the timer count source.
<Notes on Clock Generating Circuit>
If you switch the mode between on-chip oscillator mode, X
mode and low-speed mode, stabilize both X
oscillations. Especially be careful immediately after power-on
and at returning from stop mode. Refer to the clock state
transition diagram for the setting of transition to each mode. Set
the frequency in the condition that f(X
When the X
external clock input are not performed), connect X
through a resistor.
- Frequency/8 Mode
- Frequency/4 Mode
- Frequency/2 Mode
IN
The system clock φ is half the frequency of X
The system clock φ is the frequency of X
The system clock φ is the frequency of X
IN
mode
-
OUT
IN
oscillation is controlled by the bit 5 of CPUM, and
mode is not used (X
IN
mode.
IN
−X
IN
IN
OUT
) > 3
-X
oscillation.
OUT
•
f(X
IN
IN
oscillation and
divided by 8.
divided by 4.
CIN
IN
IN
).
.
and X
IN
to V
CIN
CC
IN