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.

  • Resolved

TM4C123GH6PGE: Implementing multi-slave SPI with TM4c123 parts

Prodigy 10 points

Replies: 1

Views: 32

Part Number: TM4C123GH6PGE

See: https://ticsc.service-now.com/csm?id=csm_ticket&table=sn_customerservice_case&sys_id=bf3e537adb4e541056e4d7b2f3961980&view=csp

Basically, I want to use SPI for a couple of devices. That means I need 2 chip selects. The TM4C provides:
SSInClk

SSInRx

SSInTx

SSInFss

SSInFss is available to use as a dedicated chip select (CS) for each port, with timing to enable/disable as needed. But, if I want to use 2 chip selects, it doesn't look like I can use the SSInFss, because it gets activated automatically, and would not allow me to use a 2nd GPIO for CS. Can I just use two GPIO's and bit-bang the levels as needed?, ignoring the  
Is there a better way?

  • Hi Brett,

      Of course you can manipulate (e.g. bit-bang) two GPIOs as your custom CS. Just leave the SSInFss unconnected. I have seen quite some customers use GPIO as the CS in the forum. However, you are the first one to require two CS.

    regards,

    Charles

     

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.