This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: How to adjust SPI timing?

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: AWR2243

Hi,  we use TM4C1294NCPDT control AWR2243 by SPI interface.

We send data from TM4C1294NCPDT to AWR2243 based on mmwavelink, but AWR2243 has no response; then we captured SPI signal, found the sent data is right(0x56788765), but the timing is abnormal, the follow two requirments(mmWave-Radar-Interface-Control.pdf 3.2.4) are not met:

1 Host should ensure that there is a delay of at least 2 SPI clocks between CS going low and start of SPI clock

2 There should be a delay of at least 2 SPI Clocks between consecutive CS

How to adjust the two timing?

  • Hi,

      The SPI module hardware does not have a means to control the delay between CS and SPICLK. You will need to use a GPIO as the CS for AWR2243. With GPIO, you can have better control of the relationship between CS and SPICLK. You simply set a GPIO pin low first and then start a SPI transfer. After the SPI transfer is complete, you then set the GPIO pin high. Many people use GPIO instead of the Fss pin for similar reason.