DSPIC33FJ32MC202 Microchip Technology Inc., DSPIC33FJ32MC202 Datasheet - Page 180
DSPIC33FJ32MC202
Manufacturer Part Number
DSPIC33FJ32MC202
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet
1.DSPIC33FJ32MC202.pdf
(292 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC33FJ32MC202-E/SO
Manufacturer:
Microchip
Quantity:
299
Part Number:
DSPIC33FJ32MC202-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
DSPIC33FJ32MC202-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
DSPIC33FJ32MC202-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Company:
Part Number:
DSPIC33FJ32MC202-I/MM
Manufacturer:
Microchip
Quantity:
1 485
Part Number:
DSPIC33FJ32MC202-I/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
DSPIC33FJ32MC202-I/SO
Manufacturer:
ADI
Quantity:
129
- Current page: 180 of 292
- Download datasheet (5Mb)
16.5
To set up the SPI module for the Slave mode of operation:
1.
2.
FIGURE 16-1:
DS70283B-page 178
Clear the SPIxBUF register.
If using interrupts:
a)
b)
c)
SDOx
SCKx
SDIx
SSx
SPI Setup: Slave Mode
Clear the SPIxIF bit in the respective IFSn
register.
Set the SPIxIE bit in the respective IECn
register.
Write the SPIxIP bits in the respective IPCn
register to set the interrupt priority.
Read SPIxBUF
Control
Sync
Transfer
SPI MODULE BLOCK DIAGRAM
SPIxRXB
bit 0
SPIxBUF
SPIxSR
Control
Clock
Shift Control
SPIxTXB
Transfer
Write SPIxBUF
Preliminary
Select
Edge
3.
4.
5.
6.
7.
The SPI module generates an interrupt indicating com-
pletion of a byte or word transfer, as well as a separate
interrupt for all SPI error conditions.
16
Write the desired settings to the SPIxCON1 and
SPIxCON2
(SPIxCON1<5>) = 0.
Clear the SMP bit.
If the CKE bit is set, then set the SSEN bit
(SPIxCON1<7>) to enable the SSx pin.
Clear the SPIROV bit (SPIxSTAT<6>).
Enable SPI operation by setting the SPIEN bit
(SPIxSTAT<15>).
Secondary
Prescaler
1:1 to 1:8
Internal Data Bus
registers
1:1/4/16/64
Prescaler
Primary
© 2007 Microchip Technology Inc.
F
SPIxCON1<1:0>
SPIxCON1<4:2>
Enable
Master Clock
with
CY
MSTEN
Related parts for DSPIC33FJ32MC202
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 256KB FL32KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology