12.5.2.8 SPI Serial Data (SPIDAT) Register (Offset = 9h) [reset = 0h]
SPIDAT is the transmit and receive shift register. Data written to SPIDAT is shifted out (MSB) on subsequent
SPICLK cycles. For every bit (MSB) shifted out of the SPI, a bit is shifted into the LSB end of the shift register.
Figure 12-20. SPI Serial Data (SPIDAT) Register
15
14
13
12
11
10
9
8
SDATn
R/W-0h
7
6
5
4
3
2
1
0
SDATn
R/W-0h
Table 12-16. SPI Serial Data (SPIDAT) Register Field Descriptions
Bit
Field
Type
Reset
Description
15-0
SDATn
R/W
0h
Serial Data Shift Register
- It provides data to be output on the serial output pin if the TALK bit
(SPICTL.1) is set.
- When the SPI is operating as a master, a data transfer is
initiated. When initiating a transfer, check the CLOCK POLARITY bit
(SPICCR.6) described in Section 10.2.1.1 and the CLOCK PHASE
bit (SPICTL.3) described in Section 10.2.1.2, for the requirements.
In master mode, writing dummy data to SPIDAT initiates a receiver
sequence. Since the data is not hardware-justified for characters
shorter than sixteen bits, transmit data must be written in left-justified
form, and received data read in right-justified form.
Reset type: SYSRSn
Serial Peripheral Interface (SPI)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
791
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......