English
Language : 

PIC18F67J11-IPT Datasheet, PDF (164/448 Pages) Microchip Technology – 64/80-Pin High-Performance, 1-Mbit Flash Microcontrollers with nanoWatt Technology
PIC18F87J11 FAMILY
11.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 11-2 shows the buffer
addressing for the incoming address to the input and
output registers.
TABLE 11-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 11-6:
PARALLEL MASTER/SLAVE CONNECTION ADDRESSED BUFFER EXAMPLE
Master
PMA<1:0>
PMD<7:0>
PMA<1:0>
PIC18F Slave
PMD<7:0>
Write
Address
Decode
Read
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)
DS39778D-page 164
© 2009 Microchip Technology Inc.