UPD78F0138HGK-9ET-A Renesas Electronics America, UPD78F0138HGK-9ET-A Datasheet - Page 559

no-image

UPD78F0138HGK-9ET-A

Manufacturer Part Number
UPD78F0138HGK-9ET-A
Description
MCU 8BIT 60K FLASH 64TQFP
Manufacturer
Renesas Electronics America
Series
78K0/Kx1+r
Datasheet

Specifications of UPD78F0138HGK-9ET-A

Core Processor
78K/0
Core Size
8-Bit
Speed
16MHz
Connectivity
3-Wire SIO, LIN, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
42
Program Memory Size
60KB (60K x 8)
Program Memory Type
FLASH
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Interrupt
Key
interrupt
function
Standby
function
Function
PR1H: Priority
specification
flag register
EGP, EGN:
External
interrupt
rising/falling
edge enable
registers
Software
interrupt
request
acknowledgement
Interrupt
request hold
KRM: Key
return mode
register
STOP mode,
HALT mode
STOP mode
OSTC:
Oscillation
stabilization
time counter
status register
Details of
Function
Be sure to set bits 4 to 7 of PR1H to 1.
Select the port mode by clearing EGPn and EGNn to 0 because an edge may be
detected when the external interrupt function is switched to the port function.
Do not use the RETI instruction for restoring from the software interrupt.
The BRK instruction is not one of the above-listed interrupt request hold
instructions. However, the software interrupt activated by executing the BRK
instruction causes the IE flag to be cleared. Therefore, even if a maskable
interrupt request is generated during execution of the BRK instruction, the
interrupt request is not acknowledged.
If any of the KRM0 to KRM7 bits used is set to 1, set bits 0 to 7 (PU70 to PU77) of
the corresponding pull-up resistor register 7 (PU7) to 1.
If KRM is changed, the interrupt request flag may be set. Therefore, disable
interrupts and then change the KRM register. After that, clear the interrupt
request flag and then enable interrupts.
The bits not used in the key interrupt mode can be used as normal ports.
The RSTOP setting is valid only when “Can be stopped by software” is set for
internal oscillator by the option byte.
STOP mode can be used only when CPU is operating on the high-speed system
clock or internal oscillation clock. HALT mode can be used when CPU is
operating on the high-speed system clock, internal oscillation clock, or subsystem
clock. However, when the STOP instruction is executed during internal oscillation
clock operation, the high-speed system clock oscillator stops, but internal
oscillator does not stop.
When shifting to the STOP mode, be sure to stop the peripheral hardware
operation before executing STOP instruction.
The following sequence is recommended for operating current reduction of the
A/D converter when the standby function is used: First clear bit 7 (ADCS) of the
A/D converter mode register (ADM) to 0 to stop the A/D conversion operation,
and then execute the HALT or STOP instruction.
If the internal oscillator is operating before the STOP mode is set, oscillation of
the internal oscillation clock cannot be stopped in the STOP mode. However,
when the internal oscillation clock is used as the CPU clock, the CPU operation is
stopped for 17/f
After the above time has elapsed, the bits are set to 1 in order from MOST11 and
remain 1.
If the STOP mode is entered and then released while the internal oscillation clock
is being used as the CPU clock, set the oscillation stabilization time as follows.
The oscillation stabilization time counter counts only during the oscillation
stabilization time set by OSTS. Therefore, note that only the statuses during the
oscillation stabilization time set by OSTS are set to OSTC after STOP mode has
been released.
Desired OSTC oscillation stabilization time
by OSTS
APPENDIX D LIST OF CAUTIONS
User’s Manual U16899EJ3V0UD
R
(s) after STOP mode is released.
Cautions
Oscillation stabilization time set
p. 366
p. 367
p. 371
p. 375
p. 377
p. 377
p. 377
p. 378
p. 379
p. 379
p. 379
p. 379
p. 380
p. 380
Page
(20/25)
557

Related parts for UPD78F0138HGK-9ET-A