Datasheet

PIC18F87J11 FAMILY
DS39778E-page 176 2007-2012 Microchip Technology Inc.
12.2.1.1 WRITE TO SLAVE PORT
When chip select is active and a write strobe occurs
(PMCS = 1 and PMWR = 1), the data from PMD<7:0>
is captured into the PMDIN1L register. The PMPIF and
IBF flag bits are set when the write ends. The timing for
the control signals in Write mode is shown in
Figure 12-3. The polarity of the control signals are
configurable.
12.2.1.2 READ FROM SLAVE PORT
When chip select is active and a read strobe occurs
(PMCS = 1 and PMRD = 1), the data from the
PMDOUTL1 register (PMDOUTL1<7:0>) is presented
onto PMD<7:0>.The timing for the control signals in
Read mode is shown in Figure 12-4.
FIGURE 12-3: PARALLEL SLAVE PORT WRITE WAVEFORMS
FIGURE 12-4: PARALLEL SLAVE PORT READ WAVEFORMS
PMCS1
| | | | | | | Q4 | Q1 | Q2 | Q3 | Q4
PMWR
PMRD
PMD<7:0>
IBF
OBE
PMPIF
PMCS1
| | | | | | | Q4 | Q1 | Q2 | Q3 | Q4
PMWR
PMRD
PMD<7:0>
IBF
OBE
PMPIF