English
Language : 

PIC17C7XX_13 Datasheet, PDF (45/306 Pages) Microchip Technology – High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
7.1.2 EXTERNAL MEMORY INTERFACE
When either Microprocessor or Extended Microcontrol-
ler mode is selected, PORTC, PORTD and PORTE are
configured as the system bus. PORTC and PORTD are
the multiplexed address/data bus and PORTE<2:0> is
for the control signals. External components are
needed to demultiplex the address and data. This can
be done as shown in Figure 7-4. The waveforms of
address and data are shown in Figure 7-3. For com-
plete timings, please refer to the electrical specification
section.
FIGURE 7-3:
EXTERNAL PROGRAM
MEMORY ACCESS
WAVEFORMS
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
AD
<15:0>
ALE
Address out Data in
OE
'1'
WR
Read Cycle
Address out Data out
Write Cycle
The system bus requires that there is no bus conflict
(minimal leakage), so the output value (address) will be
capacitively held at the desired value.
As the speed of the processor increases, external
EPROM memory with faster access time must be used.
Table 7-2 lists external memory speed requirements for
a given PIC17C7XX device frequency.
In Extended Microcontroller mode, when the device is
executing out of internal memory, the control signals
will continue to be active. That is, they indicate the
action that is occurring in the internal memory. The
external memory access is ignored.
The following selection is for use with Microchip
EPROMs. For interfacing to other manufacturers mem-
ory, please refer to the electrical specifications of the
desired PIC17C7XX device, as well as the desired
memory device to ensure compatibility.
TABLE 7-2: EPROM MEMORY ACCESS
TIME ORDERING SUFFIX
PIC17C7XX Instruction
Oscillator Cycle Time
Frequency
(TCY)
EPROM Suffix
8 MHz
500 ns
-25
16 MHz
250 ns
-15
20 MHz
200 ns
-10
25 MHz
160 ns
-70
Note: The access times for this requires the use
of fast SRAMs.
The electrical specifications now include timing specifi-
cations for the memory interface with PIC17LCXXX
devices. These specifications reflect the capability of
the device by characterization. Please validate your
design with these timings.
FIGURE 7-4:
TYPICAL EXTERNAL PROGRAM MEMORY CONNECTION DIAGRAM
AD15-AD0
AD7-AD0
PIC17CXXX
AD15-AD8
ALE
I/O(1)
373(3)
373(3)
A15-A0
Memory(3)
(MSB)
Ax-A0
D7-D0
CE
OE WR(2)
138(1)
OE
WR
Note 1: Use of I/O pins is only required for paged memory.
2: This signal is unused for ROM and EPROM devices.
3: 16-bit wide devices are now common and could be used instead of 8-bit wide devices.
Memory(3)
(LSB)
Ax-A0
D7-D0
CE
OE WR(2)
 1998-2013 Microchip Technology Inc.
DS30289C-page 45