SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
To achieve the maximum rated speeds, the following settings must be made. This example assumes that the device is operating at 100MHz.
Set LSPCLK equal to SYSCLK:
ClkCfgRegs.LOSPCP.bit.LSPCLKDIV = 0;
Select the appropriate Pin Mux options in GPIO_CTRL_REGS.
During the SPI configuration procedure:
Set HS_MODE to 1.
SpiaRegs.SPICCR.bit.HS_MODE = 0x1;
Set SPIBRR to 3. SPICLK = LSPCLK/(SPIBRR+1) = 25MHz
SpiaRegs.SPIBRR = 0x3;
There are no other differences in the configuration from normal SPI operation. Sending and receiving data, DMA operation, and interrupts operates without change.