dspic33fj128mc204 Microchip Technology Inc., dspic33fj128mc204 Datasheet - Page 225

no-image

dspic33fj128mc204

Manufacturer Part Number
dspic33fj128mc204
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
dspic33fj128mc204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
dspic33fj128mc204-E/PT
Quantity:
20
Part Number:
dspic33fj128mc204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
dspic33fj128mc204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
18.0
The Serial Peripheral Interface (SPI) module is a
synchronous serial interface useful for communicating
with other peripheral or microcontroller devices. These
FIGURE 18-1:
© 2009 Microchip Technology Inc.
Note:
SDOx
SCKx
SDIx
SSx
SERIAL PERIPHERAL
INTERFACE (SPI)
This data sheet summarizes the features
of
dsPIC33FJ64MCX02/X04,
dsPIC33FJ128MCX02/X04
devices. It is not intended to be a
comprehensive
complement the information in this data
sheet, refer to the “dsPIC33F Family
Reference Manual”, Section 18. “Serial
Peripheral Interface (SPI)” (DS70206),
which is available from the Microchip
website (www.microchip.com).
Read SPIxBUF
Control
the
Sync
Transfer
SPI MODULE BLOCK DIAGRAM
dsPIC33FJ32MC302/304,
SPIxRXB
bit 0
reference
SPIxBUF
SPIxSR
Control
Clock
Shift Control
SPIxTXB
families
source.
Transfer
Write SPIxBUF
and
Preliminary
To
of
Select
Edge
peripheral devices can be serial EEPROMs, shift regis-
ters, display drivers, analog-to-digital converters, etc.
The SPI module is compatible with SPI and SIOP from
Motorola
Each SPI module consists of a 16-bit shift register,
SPIxSR (where x = 1 or 2), 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 4 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
DS70291C-page 223
CY

Related parts for dspic33fj128mc204