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.

TMS320F28069M: how to configure SPI - SPISTE pin to Active High state in TMS320F28069M

Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F28069, DRV8711,

Hi, 

I am interfacing DRV8711 with TMS320F28069. I have configured SPI as master mode to talk with DRV8711 and this driver will response only on "Active High" state, But SPI's SPISTE pin in TMS320F28069M only works as "Active low" state, so i could not communicate with DRV8711 driver. 

How do configure SPISTE for "Active High" state?.

Thanks.

  • SivaKumar,

    Try configuring the SPISTE pin as a regular GPIO Output pin and pull the pin HIGH manually in your driver SW before any SPI transaction. From the TRM it looks like the STEINV is for when the SPI is in slave mode, I'm not sure if it works for the master mode. I will ask one of my team members to review this after holidays.

    Using the SPISTE pin under normal GPIO ouput control instead of being in a SPI peripheral control should work for you.


    Best Regards
    Santosh Athuru
  • Yes, I have used a GPIO for transaction. Would be good if it resolved.
    Thanks Santhosh.
  • SivaKumar,

    Santosh is correct. The STEINV setting is only applicable in slave mode. It is recommended that the application drives the slave chip select signal with a standard GPIO if different polarity or patterns are needed.

    Thanks,
    Mark