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: How to read the encoder value

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

I want to use the output of the incremental encoder and the absolute encoder at the same time to read the position of the encoder.

I would appreciate any advice on how to use this.

 - For incremental encoders, is it recommended to read using QEP?

    I would like you to advice  how to use the index and strobe signals of QEP. How do you use these signals?

 - When using BiSS, should I use the SPI port?

    Also, do I need to make any settings to use BiSS?

 - Can I use SSI as well as BiSS?

 - If the SPI port is used for BiSS communication, can the SPI port be connected to other uses (eg SPI EEPROM)?

  • Hi,

    Naoki.N said:
    For incremental encoders, is it recommended to read using QEP?



    Yes - you can use eQEP to interface the incremental encoder generating quadrature outputs

    Naoki.N said:

        I would like you to advice  how to use the index and strobe signals of QEP. How do you use these signals?



    Index and strobe signals are supported by eQEP. If the encoder generates these signals (not all encoders do) - you can connect them to the corresponding strobe and index inputs of eQEP.

    Naoki.N said:
     - When using BiSS, should I use the SPI port?

    For absolute encoders you need to use PositionManager library.
    C:\ti\controlSUITE\development_kits\BOOSTXL_POSMGR\v01_01_00_00\bissc-F28379DLpad-S2

    Naoki.N said:
     - Can I use SSI as well as BiSS?


    Currently there is no C2000 library that supports SSI interface - you could potentially use SPI interaface, if necessary with additional logic externally.

    Naoki.N said:

    - If the SPI port is used for BiSS communication, can the SPI port be connected to other uses (eg SPI EEPROM)?


    In the current library - it's dedicated interface to encoder. you can not dynamically share the SPI port between EEPROM and Encoder.

  • Hi 

    Thank you for answering questions.

    Please let me ask additional questions.

     - I found the description of the sample code using SPI-B in the controlSUITE that you taught me.

       Is it correct that BiSS can only be used with SPI-enabled IOs? Can BiSS be used with SPI-A, -B, and -C?

     - I would like to see multiple encoder information. Is there a library to see multiple encoder information with BiSS?

     Is it only possible to connect multiple lines of BiSS to see the information of multiple encoders?

    Best regards

    Naoki

  • Hi,

    Naoki.N said:

       Is it correct that BiSS can only be used with SPI-enabled IOs? Can BiSS be used with SPI-A, -B, and -C?



    The hardware uses SPIB pins. But you can change the instance of the SPI used based on your hardware.

    Naoki.N said:
    I would like to see multiple encoder information. Is there a library to see multiple encoder information with BiSS?


    There is no multi-encoder library available. Currently it supports one encoder only.

    Naoki.N said:
     Is it only possible to connect multiple lines of BiSS to see the information of multiple encoders?

    Sorry - it is not possible to connect multiple BiSS encoders using this library. It is meant for one encoder only.

  • Hi

    Thank you for answering the question.
    I would like to ask additional questions in a format that will not be opened on the E2E site.

    Would you please give me your email address?

    Best regards

    Naoki

  • Hi,

    Sure - i'll connect through private contact request.
    Please close this thread.