English
Language : 

PIC18F67J11T-I Datasheet, PDF (178/466 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Flash Microcontrollers
PIC18F87J11 FAMILY
12.2.3
ADDRESSABLE PARALLEL SLAVE
PORT MODE
In the Addressable Parallel Slave Port mode
(PMMODEH<1:0> = 01), the module is configured with
two extra inputs, PMA<1:0>, which are the Address
Lines 1 and 0. This makes the 4-byte buffer space
directly addressable as fixed pairs of read and write
buffers. As with Buffered Legacy mode, data is output
from PMDOUT1L, PMDOUT1H, PMDOUT2L and
PMDOUT2H, and is read in PMDIN1L, PMDIN1H,
PMDIN2L and PMDIN2H. Table 12-2 shows the buffer
addressing for the incoming address to the input and
output registers.
TABLE 12-2: SLAVE MODE BUFFER
ADDRESSING
PMADDR Output Register Input Register
<1:0>
(Buffer)
(Buffer)
00
PMDOUT1L (0)
PMDIN1L (0)
01
PMDOUT1H (1)
PMDIN1H (1)
10
PMDOUT2L (2)
PMDIN2L (2)
11
PMDOUT2H (3)
PMDIN2H (3)
FIGURE 12-6:
PARALLEL MASTER/SLAVE CONNECTION ADDRESSED BUFFER EXAMPLE
Master
PMA<1:0>
PMD<7:0>
PMA<1:0>
PIC18F Slave
PMD<7:0>
Read
Address
Decode
Write
Address
Decode
PMCS
PMRD
PMWR
Address Bus
Data Bus
Control Lines
PMCS1
PMRD
PMWR
PMDOUT1L (0)
PMDOUT1H (1)
PMDOUT2L (2)
PMDOUT2H (3)
PMDIN1L (0)
PMDIN1H (1)
PMDIN2L (2)
PMDIN2H (3)
DS39778E-page 178
 2007-2012 Microchip Technology Inc.