English
Language : 

PIC24FJ256DA210 Datasheet, PDF (219/408 Pages) Microchip Technology – 64/100-Pin, 16-Bit Flash Microcontrollers with Graphics Controller and USB On-The-Go (OTG)
PIC24FJ256DA210 FAMILY
FIGURE 15-3:
SPI MASTER/SLAVE CONNECTION (STANDARD MODE)
Processor 1 (SPI Master)
Processor 2 (SPI Slave)
SDOx
Serial Receive Buffer
(SPIxRXB)
SDIx
Serial Receive Buffer
(SPIxRXB)(2)
Shift Register
(SPIxSR)
MSb
LSb
SDIx
Serial Transmit Buffer
(SPIxTXB)
SDOx
Shift Register
(SPIxSR)(2)
MSb
LSb
Serial Transmit Buffer
(SPIxTXB)(2)
SPIx Buffer
(SPIxBUF)(2)
SCKx Serial Clock SCKx
SSx(1)
SPIx Buffer
(SPIxBUF)(2)
MSTEN (SPIxCON1<5>) = 1)
SSEN (SPIxCON1<7>) = 1 and MSTEN (SPIxCON1<5>) = 0
Note 1: Using the SSx pin in Slave mode of operation is optional.
2: User must write transmit data to read received data from SPIxBUF. The SPIxTXB and SPIxRXB registers are
memory mapped to SPIxBUF.
FIGURE 15-4:
SPI MASTER/SLAVE CONNECTION (ENHANCED BUFFER MODES)
Processor 1 (SPI Enhanced Buffer Master)
SDOx
Processor 2 (SPI Enhanced Buffer Slave)
SDIx
Shift Register
(SPIxSR)
MSb
LSb
SDIx
SDOx
Shift Register
(SPIxSR)
MSb
LSb
8-Level FIFO Buffer
8-Level FIFO Buffer
SPIx Buffer
(SPIxBUF)(2)
Serial Clock
SCKx
SCKx
SSx
SSx(1)
SPIx Buffer
(SPIxBUF)(2)
MSTEN (SPIxCON1<5>) = 1 and
SPIBEN (SPIxCON2<0>) = 1
SSEN (SPIxCON1<7>) = 1,
MSTEN (SPIxCON1<5>) = 0 and
SPIBEN (SPIxCON2<0>) = 1
Note 1: Using the SSx pin in Slave mode of operation is optional.
2: User must write transmit data to read received data from SPIxBUF. The SPIxTXB and SPIxRXB registers are
memory mapped to SPIxBUF.
 2010 Microchip Technology Inc.
DS39969B-page 219