EasyManua.ls Logo

Texas Instruments C28 Series

Texas Instruments C28 Series
342 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
Loading...
Serial Peripheral Interface (SPI)
SPI-A Baud Rate Register
SPIBRR @ 0x007044
15-7 6-0
reserved
SPI BIT RATE
SPICLK signal =
LSPCLK
(SPIBRR + 1)
LSPCLK
4
, SPIBRR = 3 to 127
, SPIBRR = 0, 1, or 2
Need to set this only when in master mode!
Baud Rate Determination: The Master specifies the communication baud rate using its baud rate
register (SPIBRR.6-0):
For SPIBRR = 3 to 127:
SPI Baud Rate =
)1( +SPIBRR
CLKOUT
bits/sec
For SPIBRR = 0, 1, or 2:
SPI Baud Rate =
4
CLKOUT
bits/sec
From the above equations, one can compute
Maximum data rate = 37.5 Mbps @ 150 MHz
Character Length Determination:
The Master and Slave must be configured for the same
transmission character length. This is done with bits 0, 1, 2 and 3 of the configuration control
register (SPICCR.3-0). These four bits produce a binary number, from which the character length
is computed as binary + 1 (e.g. SPICCR.3-0 = 0010 gives a character length of 3).
11 - 8 C28x - Communications

Table of Contents

Other manuals for Texas Instruments C28 Series

Related product manuals