You can set the following parameters for the serial peripheral interface (SPI):
Configure the SPI module as
Specify the desired baud.
The value used to calculate the baud. To set the Baud rate factor, search for “Baud Rate Determination” and “SPI Baud Rate Register (SPIBRR) Bit Descriptions” in TMS320x28xx, 28xxx DSP Serial Peripheral Interface (SPI) Reference Guide, Literature Number: SPRU059, available on the Texas Instruments™ website.
The closest achievable baud rate calculated based on LSPCLK and SPIBRR.
The type of suspension to be used while debugging your program with Code Composer Studio™. When your program encounters a breakpoint, the selected suspension mode determines whether to perform the program instruction. The available options are:
Hard_abort—Stops the program
Soft_abort—Stops when the current
receive/transmit sequence is complete.
regardless of the breakpoint.
Enable the loopback function for self-test and diagnostics. When this function is enabled, the Tx pin on a C28x DSP is internally connected to its Rx pin, and the DSP can transmit data from its output port to its input port to check the integrity of the transmission.
Enable SPI communication over three pins instead of the normal four pins.
Enable SPI transmit interrupt operation.
Enable high speed SPI mode for supported pins.
This option is available for specific processors.
Set level for transmit FIFO interrupt.
Enable SPI receive interrupt operation.
Set level for receive FIFO interrupt.
FIFO transmit delay (in processor clock cycles) to pause between data transmissions. Enter an integer.
Assign the SPI (SIMO) to a GPIO pin.
Assign the SPI value (SOMI) to a GPIO pin.
Assign the CLK pin to a GPIO pin.
CLK pin assignment is not available for TI Concerto F28M35x/F28M36x processors.
Assign the SPI value (STE) to a GPIO pin.
STE pin assignment is not available for TI Concerto F28M35x/ F28M36x processors.