Information

PIC18F8722 FAMILY
DS39646C-page 106 © 2008 Microchip Technology Inc.
7.6 8-Bit Data Width Modes
In 8-Bit Data Width mode, the External Memory Bus
operates only in Multiplexed mode; that is, data shares
the 8 least significant bits of the address bus.
Figure 7-7 shows an example of 8-bit Multiplexed
mode for PIC18F8527/8622/8627/8722 devices. This
mode is used for a single 8-bit memory connected for
16-bit operation. The instructions will be fetched as two
8-bit bytes on a shared data/address bus. The two
bytes are sequentially fetched within one instruction
cycle (T
CY). Therefore, the designer must choose
external memory devices according to timing calcula-
tions based on 1/2 TCY (2 times the instruction rate).
For proper memory speed selection, glue logic
propagation delay times must be considered along with
setup and hold times.
The Address Latch Enable (ALE) pin indicates that the
address bits A<15:0> are available on the External
Memory Interface bus. The Output Enable signal (OE)
will enable one byte of program memory for a portion of
the instruction cycle, then BA0 will change and the sec-
ond byte will be enabled to form the 16-bit instruction
word. The least significant bit of the address, BA0,
must be connected to the memory devices in this
mode. The Chip Enable signal (CE
) is active at any
time that the microcontroller accesses external
memory, whether reading or writing; it is inactive
(asserted high) whenever the device is in Sleep mode.
This generally includes basic EPROM and Flash
devices. It allows table writes to byte-wide external
memories.
The appropriate level of BA0 control line is strobed on
the LSb of the TBLPTR.
FIGURE 7-7: 8-BIT MULTIPLEXED MODE EXAMPLE
AD<7:0>
A<19:16>
(1)
ALE
D<15:8>
373
A<19:0>
A<x:1>
D<7:0>
OE
OE WR
(2)
CE
Note 1: Upper-order address bits are used only for 20-bit address width. The upper AD byte is used
for all address widths except 8-bit.
2: This signal only applies to table writes. See Section 6.1 “Table Reads and Table Writes”.
WRL
D<7:0>
PIC18F8X27/8X22
AD<15:8>
(1)
Address Bus
Data Bus
Control Lines
CE
A0
BA0