dspic33fj16gs404t-i-pt Microchip Technology Inc., dspic33fj16gs404t-i-pt Datasheet - Page 219

no-image

dspic33fj16gs404t-i-pt

Manufacturer Part Number
dspic33fj16gs404t-i-pt
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet
16.0
The Serial Peripheral Interface (SPI) module is a
synchronous serial interface useful for communicating
with other peripheral or microcontroller devices. These
peripheral devices can be serial EEPROMs, shift
registers, display drivers, analog-to-digital converters
and so on. The SPI module is compatible with SPI and
SIOP from Motorola
FIGURE 16-1:
© 2009 Microchip Technology Inc.
Note:
SDOx
SCKx
SDIx
SSx
SERIAL PERIPHERAL
INTERFACE (SPI)
This data sheet summarizes the features
of
dsPIC33FJ16GSX02/X04
devices. It is not intended to be a
comprehensive reference source.
complement the information in this data
sheet, refer to the “dsPIC33F Family
Reference Manual”, Section 18. “Serial
Peripheral Interface (SPI)” (DS70206),
which is available on the Microchip
web site (www.microchip.com).
Read SPIxBUF
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
the
Control
Sync
®
Transfer
.
dsPIC33FJ06GS101/X02
SPI MODULE BLOCK DIAGRAM
SPIxRXB
bit 0
SPIxBUF
SPIxSR
Control
Clock
Shift Control
SPIxTXB
families
Transfer
Write SPIxBUF
and
Preliminary
To
of
Select
Edge
The SPI module consists of a 16-bit shift register,
SPIxSR (where x = 1), used for shifting data in and out,
and a buffer register, SPIxBUF. A control register,
SPIxCON, configures the module. Additionally, a status
register, SPIxSTAT, indicates status conditions.
The serial interface consists of the following four pins:
• SDIx (Serial Data Input)
• SDOx (Serial Data Output)
• SCKx (Shift Clock Input Or Output)
• SSx (Active-Low Slave Select).
In Master mode operation, SCK is a clock output; in
Slave mode, it is a clock input.
16
Secondary
1:1 to 1:8
Prescaler
Internal Data Bus
1:1/4/16/64
Prescaler
Primary
F
SPIxCON1<1:0>
SPIxCON1<4:2>
Enable
Master Clock
DS70318D-page 217
CY

Related parts for dspic33fj16gs404t-i-pt