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 SSI encoder interface

Other Parts Discussed in Thread: TMS320F28379D, CONTROLSUITE

Hello guys,

Does TMS320F28379D support SSI encoders? I could not find anything in the documentation, but in practice BISS and SSI are very similar, so it could be. Does anyone have any idea?

Thanks.

Hakan

 

  • Hi Hakan,

    The F28379D can support communication with an SSI encoder.  We just have not officially built any software within controlSUITE to interface with it at this point.

    SSI is a relatively simple protocol and for short cable lengths utilizing the SPI peripheral can be adequate.  You'd configure the SPI as a master and connect the SPICLK and SPIMISO to a transceiver before bringing it to a connector.  You'd transmit a dummy set of words to get the SPI to generate a certain number of clocks and would receive data from the encoder via the MISO line (and then be able to get the data via the SPI registers).  The SPI loopback example could be a good starting point and getting something working shouldn't be too difficult:
    \controlSUITE\device_support\F2837xD\v180\F2837xD_examples_Cpu1\spi_loopback\

    Another approach, which TI admittedly has not tried, would be to utilize the BiSS PM example directly and see if you can interface with the encoder this way.  Because BiSS is a superset of SSI, I think this should be feasible provided that you edit some of the code (SSI doesn't necessarily have a CRC on the data, so you would comment out the code that does this, etc).  As I mentioned, we have not tried this though...


    Thank you,
    Brett