Datasheet

PIC18F87J50 FAMILY
DS39775C-page 176 © 2009 Microchip Technology Inc.
11.2.2 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 lower 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 11-3. The polarity of the control signals
are configurable.
11.2.3 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 11-4.
FIGURE 11-3: PARALLEL SLAVE PORT WRITE WAVEFORMS
FIGURE 11-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