EasyManuals Logo
Home>Texas Instruments>Microcontrollers>TMS320F2837 D Series

Texas Instruments TMS320F2837 D Series Workshop Guide And Lab Manual

Texas Instruments TMS320F2837 D Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #290 background imageLoading...
Page #290 background image
Serial Peripheral Interface (SPI)
12 - 6 TMS320F2837xD Microcontroller Workshop - Communications
Since data is shifted out of the SPIDAT register MSB first, transmission characters of less than 16
bits must be left-justified by the CPU software prior to be written to SPIDAT.
Received data is shifted into SPIDAT from the left, MSB first. However, the entire sixteen bits of
SPIDAT is copied into SPIBUF after the character transmission is complete such that received
characters of less than 16 bits will be right-justified in SPIBUF. The non-utilized higher
significance bits must be masked-off by the CPU software when it interprets the character. For
example, a 9 bit character transmission would require masking-off the 7 MSB’s.
SPI Data Character Justification
Programmable data
length of 1 to 16 bits
Transmitted data of less
than 16 bits must be left
justified
MSB transmitted first
Received data of less
than 16 bits are right
justified
User software must
mask-off unused MSB’s
11001001XXXXXXXX
XXXXXXXX11001001
SPIDAT - Processor #1
SPIDAT - Processor #2

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320F2837 D Series and is the answer not in the manual?

Texas Instruments TMS320F2837 D Series Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320F2837 D Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals