EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 502

Microchip Technology dsPIC30F
738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
dsPIC30F Family Reference Manual
DS70067C-page 20-12 © 2004 Microchip Technology Inc.
Figure 20-5: SPI Slave Mode Operation with Slave Select Pin Enabled
SCKx
(CKP = 1
SCKx
(CKP = 0
Input
Sample
SDIx
bit7
bit0
SDOx bit7
bit6
bit5 bit4
bit3
bit2
bit1 bit0
SPIxIF
(SMP = 0)
CKE = 0)
CKE = 0)
(SMP = 0)
User writes
SPIxBUF
SPIxSR to
SPIxBUF
SSx
Note 1: When the SSEN (SPIxCON<7>) bit is set to ‘1’, the SSx pin must be driven low so as to enable transmission and
reception in Slave mode.
2: Transmit data is held in SPIxTXB and SPITBF remains set until all bits are transmitted.
3: Operation for 8-bit mode shown. The 16-bit mode is similar.
User reads
SPIxBUF
SPIRBF
1 instruction
cycle latency
SPITBF
SPIxBUF
to
SPIxSR
to

Table of Contents

Other manuals for Microchip Technology dsPIC30F