Functional Overview
www.ti.com
46
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Architecture Overview
1.3.7 Serial Peripheral Interface (SPI)
The serial peripheral interface (SPI) is a 4-wire bidirectional communications interface that converts data
between parallel and serial. The SPI module performs serial-to-parallel conversion on data received from
a peripheral device, and parallel-to-serial conversion on data transmitted to a peripheral device. The SPI
allows a duplex serial communication between a local host and SPI-compliant external devices.
The CC32xx includes one SPI port dedicated to the application. Key features are:
• Programmable interface operation for Freescale SPI, MICROWIRE, or TI synchronous serial interfaces
master and slave modes
• 3-pin and 4-pin mode
• Full duplex and half duplex
• Serial clock with programmable frequency, polarity, and phase
• Up to 20-MHz operation
• Programmable chip select polarity
• Programmable delay before the first SPI word is transmitted
• Programmable timing control between chip select and external clock generation
• No dead cycle between two successive words in slave mode
• SPI word lengths of 8, 16, and 32 bits
• Efficient transfers using the µDMA controller
1.3.8 Inter-Integrated Circuit (I2C) Interface
The inter-integrated circuit (I2C) bus provides bidirectional data transfer through a 2-wire design (a serial
data line SDA and a serial clock line SCL). The I2C bus interfaces to a wide variety of external I2C
devices such as sensors, serial memory, control ports of image sensors, and audio codecs. Multiple slave
devices can be connected to the same I2C bus. The CC32xx microcontroller includes one I2C module
with the following features:
• Master and slave modes of operation
• Master with arbitration and clock synchronization
• Multimaster support
• 7-bit addressing mode
• Standard (100 kbps) and fast (400 kbps) modes
1.3.9 Universal Asynchronous Receiver/Transmitter (UART)
A universal asynchronous receivers/transmitter (UART) is an integrated circuit used for RS-232 serial
communications. UARTs contain a transmitter (parallel-to-serial converter) and a receiver (serial-to-parallel
converter), each clocked separately.
The CC32xx device includes two fully programmable UARTs. The UART can generate individually-
masked interrupts from the RX, TX, modem status, and error conditions. The module generates a single
combined interrupt when any of the interrupts are asserted and unmasked.
The UARTs include the following features:
• Programmable baud-rate generator, allowing speeds up to 3 Mbps
• Separate 16 × 8 transmit (TX) and receive (RX) FIFOs to reduce CPU interrupt service loading
• Programmable FIFO length, including 1-byte-deep operation providing conventional double-buffered
interface
• FIFO trigger levels of 1/8, 1/4, 1/2, 3/4, and 7/8
• Standard asynchronous communication bits for start, stop, and parity
• Line-break generation and detection