Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

2014 Microchip Technology Inc. DS70005185A-page 21
Serial Peripheral Interface (SPI) Module
Figure 3-5: SPIx Slave Mode Timing (CKE = 1)
(
4
)
SCK Input
(CKP = 1
SCK Input
(CKP = 0
Input
Sample
SDI Input
bit 7 bit 0
SDO
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
SPIxIF
(SMP = 0)
CKE = 1)
CKE = 1)
(SMP = 0)
Write to
SPIxBUF
SPIxSR to
SPIxRXB
SSx
(1,2)
SPITBF
(3)
SPIRBF
Output
Note 1: The SSx
pin must be used for Slave mode operation when CKE = 1.
2: When the SSEN bit is set (SPIxCON1<7> = 1), the SSx
pin must be driven low to enable transmission and
reception in Slave mode.
3: Transmit data is held in the SPIxTXB register and the SPITBF bit remains set until all bits are transmitted.
4: Operation for 8-bit mode is shown; the operation for 16-bit mode is similar.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh