UPD78F0386GK-8EU-A Renesas Electronics America, UPD78F0386GK-8EU-A Datasheet - Page 91

no-image

UPD78F0386GK-8EU-A

Manufacturer Part Number
UPD78F0386GK-8EU-A
Description
MCU 96KB FLASH 5KB RAM
Manufacturer
Renesas Electronics America
Series
78K0/Lx2r
Datasheet

Specifications of UPD78F0386GK-8EU-A

Core Processor
78K/0
Core Size
8-Bit
Speed
20MHz
Connectivity
3-Wire SIO, I²C, LIN, UART/USART
Peripherals
LCD, LVD, POR, PWM, WDT
Number Of I /o
26
Program Memory Size
96KB (96K x 8)
Program Memory Type
FLASH
Ram Size
5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
3.7.4 Instruction branch to bank area by interrupt
vector table, but it is difficult to identify the BANK register when the interrupt occurs.
7FFFH), specify the memory bank at the branch destination by using the BANK register in the common area, and
execute the CALL instruction. At this time, save the BANK register value before the change to RAM, and restore the
value of the BANK register before executing the RETI instruction.
When an interrupt occurs, instructions can branch to the memory bank specified by the BANK register by using the
Therefore, specify the branch destination address specified by the vector table in the common area (0000H to
Remark Allocate interrupt servicing that requires a quick response in the common area.
VCTBL
RAMD
R_BNKRN: DS
BNKC
BNKITM000:
BN3
TEST:
END
Software example (when using interrupt request of 16-bit timer/event counter 00)
CSEG
DW
DSEG
CSEG
PUSH
MOV
MOV
MOV
CALL
MOV
MOV
POP
RETI
CSEG
MOV
RET
Common
area
Bank
area
:
:
AT
SADDR
AT
A,BANK
R_BNKRN,A
BANK,#BANKNUM TEST
!TEST
A,R_BNKRN
BANK,A
AX
BANK3
BNKITM000
1
AX
0020H
7000H
Memory bank m
Vector table
CHAPTER 3 CPU ARCHITECTURE
User’s Manual U17504EJ2V0UD
; Specifies an address at the timer interrupt destination.
; Secures RAM for saving the memory bank number before the interrupt occurs.
; Inter-memory bank interrupt servicing routine
; Saves the contents of the AX register.
; Saves the memory bank number before the interrupt to RAM.
; Specifies the memory bank number of the interrupt routine.
; Calls the interrupt routine.
; Restores the contents of the AX register.
; Interrupt servicing routine
; Restores the memory bank number before the interrupt.
Instruction branch
Save the original memory bank number.
Specify the address and memory bank
at the destination, and execute the call
instruction.
Memory bank n
89

Related parts for UPD78F0386GK-8EU-A