Usart peripheral interface, spi mode, Chapter 13 – Texas Instruments MSP430x1xx User Manual

Page 247

Advertising
background image

13-1

USART Peripheral Interface, SPI Mode

USART Peripheral Interface, SPI Mode

The universal synchronous/asynchronous receive/transmit (USART) serial-
communication peripheral supports two serial modes with one hardware
configuration. These modes shift a serial-bit stream in and out of the MSP430
at a programmed rate or at a rate defined by an external clock. The first mode
is the universal asynchronous-receive/transmit (UART) communication
protocol (discussed in Chapter 12); the second is the serial peripheral-
interface (SPI) protocol.

Bit SYNC in control register UCTL selects the required mode:

SYNC = 0:

UART—asynchronous mode selected

SYNC = 1:

SPI—synchronous mode selected

This chapter describes the SPI mode.

Topic

Page

13.1 USART Peripheral Interface

13-2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13.2 USART Peripheral Interface, SPI Mode

13-3

. . . . . . . . . . . . . . . . . . . . . . . . .

13.3 Synchronous Operation

13-4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13.4 Interrupt and Control Functions

13-9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13.5 Control and Status Registers

13-15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Chapter 13

Advertising