EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 503

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...
© 2004 Microchip Technology Inc. DS70067C-page 20-13
Section 20. Serial Peripheral Interface (SPI)
Serial Peripheral
Interface (SPI)
20
Figure 20-6: SPI Mode Timing (Slave Mode w/CKE = 1)
SCK Input
(CKP =
1
SCK Input
(CKP =
0
Input
Sample
SDI Input
bit7
bit0
SDO
bit7
bit6
bit5 bit4
bit3
bit2
bit1 bit0
SPIxIF
(SMP =
0
)
CKE =
1
)
CKE =
1
)
(SMP =
0
)
Write to
SPIxBUF
SPISR to
SPIRXB
SSx
(see Note 1)
SPITBF
SPIxRBF
Output
Note 1: The SSx pin must be used for Slave mode operation when CKE = 1.
2: 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.
3: Transmit data is held in SPIxTXB and SPITBF remains set until all bits are transmitted.
4: Operation for 8-bit mode shown. The 16-bit mode is similar.

Table of Contents

Other manuals for Microchip Technology dsPIC30F