Microchip Technology IC PIC MCU PIC18F65J15-I/PT TQFP-64 MCP PIC18F65J15-I/PT Data Sheet

Product codes
PIC18F65J15-I/PT
Page of 410
© 2009 Microchip Technology Inc.
DS39663F-page 103
PIC18F87J10 FAMILY
8.7
8-Bit Mode
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 8-6 shows an example of 8-Bit Multiplexed
mode for 80-pin 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 sequen-
tially fetched within one instruction cycle (T
CY
).
Therefore, the designer must choose external memory
devices according to timing calculations based on
1/2 T
CY
 (2 times the instruction rate). For proper mem-
ory 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, AD<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
second byte will be enabled to form the 16-bit instruc-
tion 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.
During a TBLWT instruction cycle, the TABLAT data is
presented on the upper and lower bytes of the
AD<15:0> bus. The appropriate level of the BA0 control
line is strobed on the LSb of the TBLPTR.
FIGURE 8-6:
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 only used 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 7.1 “Table Reads and Table Writes”.
WRL
D<7:0>
PIC18F8XJ10
AD<15:8>
(1)
Address Bus
Data Bus
Control Lines
CE
A0
BA0