TDGL007 Microchip Technology, TDGL007 Datasheet - Page 197

no-image

TDGL007

Manufacturer Part Number
TDGL007
Description
Development Boards & Kits - PIC / DSPIC DIGILENT CEREBOT MC7 MOTOR CONTROL BRD
Manufacturer
Microchip Technology
Datasheet

Specifications of TDGL007

Product
Development Boards
Interface Type
CAN, I2C
Operating Supply Voltage
5 V
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:
© 2011 Microchip Technology Inc.
Note 1: This data sheet summarizes the features
SDOx
SCKx
SDIx
SSx
2: Some registers and associated bits
SERIAL PERIPHERAL
INTERFACE (SPI)
of the dsPIC33FJXXXMCX06A/X08A/
X10A family of devices. However, it is not
intended to be a comprehensive refer-
ence source. To complement the infor-
mation in this data sheet, refer to Section
18. “Serial Peripheral Interface (SPI)”
(DS70206) in the “dsPIC33F/PIC24H
Family Reference Manual”, which is
available from the Microchip web site
(www.microchip.com).
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization”
this data sheet for device-specific register
and bit information.
Read SPIxBUF
Control
Sync
Transfer
SPI MODULE BLOCK DIAGRAM
dsPIC33FJXXXMCX06A/X08A/X10A
SPIxRXB
bit 0
SPIxBUF
SPIxSR
Control
Clock
Shift Control
SPIxTXB
Transfer
Write SPIxBUF
in
Select
Edge
peripheral devices may be serial EEPROMs, shift
registers, display drivers, ADC, 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 various status conditions.
The serial interface consists of 4 pins: SDIx (Serial Data
Input), SDOx (Serial Data Output), SCKx (Shift Clock
Input or Output) and SSx (Active-Low Slave Select).
In Master mode operation, SCK is a clock output, but in
Slave mode, it is a clock input.
16
Note:
Secondary
1:1 to 1:8
Prescaler
Internal Data Bus
In this section, the SPI modules are
referred to together as SPIx, or sepa-
rately as SPI1 and SPI2. Special Function
Registers will follow a similar notation.
For example, SPIxCON refers to the
control register for the SPI1 or SPI2
module.
1:1/4/16/64
Prescaler
Primary
F
SPIxCON1<1:0>
SPIxCON1<4:2>
Enable
Master Clock
DS70594C-page 197
CY
®
.

Related parts for TDGL007