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.

TMS320F28379D: F28379 launchpad SPI issue

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello All,

I would like to use F28379 launchpad to communication with LTC6811 demo board via SPI. I would like to configure the SPI clock line to be active high when there is no SPI communication.

Here is what I want:

However, here is what I get:

Do you know how to configure SPI clock line to be the one LTC6811 requires?

Thanks

Fei

  • You can take "18.3.6 SPI Clocking Schemes" in TMS320F2837xD Dual-Core Delfino Microcontrollers Technical Reference Manual for a reference, it described how to configure the SPI clock line to be active high when idle.

  • Hi Haizhu,

    Thanks for your reply. I look at SPI clocking schemes in the technical reference manual as you mentioned, but I didn't see anything about how to configure the SPI clock line to be active high when idle. Can you be more specific?

    Fei

  • The figure 18-7 described how the four situation of SPI clocking schemes, and for you, you can choose Falling edge with/without delay(depend on your device). In Falling edge mode, SPI clock line is active high when idle.

  • Hi,

    As Haizhu Li mentioned, please refer to the chapter SPI Clocking Schemes (18.3.6).

    If you are using C2000ware driverlib, refer to the SPI_TransferProtocol parameter used in SPI_setConfig function

    Regards,

    veena