Chapter 23 External Device Expansion Function; External Device Expansion Functions; Pin Functions In External Memory Expansion Mode; State Of Port 4 To Port 6 Pins In External Memory Expansion Mode - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 23 EXTERNAL DEVICE EXPANSION FUNCTION

23.1 External Device Expansion Functions

The external device expansion functions connect external devices to areas other than the internal ROM, RAM,
and SFR.
The external device expansion function can be used in the following two modes:
• Multiplexed bus mode
• Separate bus mode
(1) Multiplexed bus mode
External devices are connected via the multiplexed address/data bus. Connecting external devices using
this mode may reduce the number of ports to be used. In this mode, ports 4 through 6 are used for control
of address/data, reafd/write strobe, wait, address strobe as shown below.
Table 23-1. Pin Functions in External Memory Expansion Mode
Pin function at external device connection
Name
AD0 to AD7
A8 to A15
RD
WR
WAIT
ASTB
Table 23-2. State of Port 4 to Port 6 Pins in External Memory Expansion Mode
Ports and bits
Modes
Single-chip mode
256-byte expansion mode
4-Kbyte expansion mode
16-Kbyte expansion mode
Full address mode
Caution When the external wait function is not used, the WAIT pin can be used as a port in all modes.
Function
Multiplexed address/data bus
Upper Address bus
Read strobe signal
Write strobe signal
Wait signal
Address strobe signal
Port 4
0 to 7
0
1
Port
Address/data
Address/data
Address
Address/data
Address/data
Alternate function
P40 to P47
P50 to P57
P64
P65
P66
P67
Port 5
2
3
4
5
6
7
0 to 3
Port
Port
Port
Port
Port
Port
Address
Port
Port
Address
Port
Port 6
4 to 7
Port
RD, WR, WAIT, ASTB
RD, WR, WAIT, ASTB
RD, WR, WAIT, ASTB
RD, WR, WAIT, ASTB
527

Advertisement

Table of Contents
loading

Table of Contents