Texas Instruments CC2650DK ユーザーズマニュアル

ページ / 1570
Functional Overview
1.3.8.1
UART
A UART is an integrated circuit used for RS-232C serial communications. A UART contains a transmitter
(parallel-to-serial converter) and a receiver (serial-to-parallel converter); each is clocked separately.
The CC26xx microcontroller includes one fully programmable UART. The UART can generate individually
masked interrupts from the receive (RX), transmit (TX), modem flow control, and error conditions. The
module generates one combined interrupt when any of the interrupts are asserted and are unmasked.
The UART has the following features:
Programmable baud-rate generator allows speeds up to 2 Mbps for regular speed (divide by 16) and
4 Mbps for high speed (divide by 8)
Separate 32 × 8 TX FIFOs and 32 × 16 RX FIFOs reduce CPU interrupt service loading
Programmable FIFO length, including 1-byte deep operation that provides 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
Fully programmable serial interface characteristics:
Five, six, seven, or eight data bits
Even, odd, stick, or no-parity bit generation and detection
One or two stop-bit generation
Full modem-handshake support
Programmable HW flow control
Standard FIFO-level and end-of-transmission (EoT) interrupts
Efficient transfers using the µDMA controller:
Separate channels for TX and RX
Receive single request asserted when data is in the FIFO; burst request asserted at programmed
FIFO level
Transmit single request asserted when there is space in the FIFO; burst request asserted at
programmed FIFO level
1.3.8.2
I
2
C
The I
2
C bus provides bidirectional data transfer through a 2-wire design (a serial data line SDA and a
serial clock line SCL). The I
2
C bus interfaces to external I
2
C devices such as serial memory (RAMs and
ROMs), networking devices, LCDs, tone generators, and so on. The I
2
C bus may also be used for system
testing and diagnostic purposes in product development and manufacturing.
Each device on the I
2
C bus can be designated as a master or a slave. Each I
2
C module supports both
sending and receiving data (as either a master or a slave) and can operate simultaneously (as both a
master and a slave). Both the I
2
C master and slave can generate interrupts.
The CC26xx microcontroller includes an I
2
C module with the following features:
Devices on the I
2
C bus can be designated as either a master or a slave:
Supports both transmitting and receiving data as either a master or a slave
Supports simultaneous master and slave operation
Four I
2
C modes:
Master transmit
Master receive
Slave transmit
Slave receive
22
Architectural Overview
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated