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.

TMS320F28388D: Interfacing to 3 EnDat2.2 encoders

Part Number: TMS320F28388D

Hello, we are designing a 3 axis motor driver and considering the TMS320F28388D target.

Is it possible to extend the EnDat2.2 implementation of Position Manager that uses SPI+CLB to connect to 3 EnDat2.2 encoders, preferably simultaneously?

Best, 

Thomas F.

  • Hi,

    Current library supports only 1 encoder. This cannot be extended to support multiple encoders.
    Later this year we are planning to release source code based on the CLB Tool
    http://www.ti.com/microcontrollers/c2000-real-time-control-mcus/overview.html#clb
    Customers can design their own custom interface or add more instances using this as a reference example.
    Also, CLB does not have enough resources to support 3 EnDat22 encoders simultaneously.
    You may be able to do 2 EnDat22 interfaces (again current library supports only 1 interface).

  • Thanks, so I understand that their is no hope for 3 EnDat22..

    Just to be sure, about the library for 2 EnDat22, is it possible, with the current implementation, to use one EnDat per control core of the TMS320F28388D runing different instances of the lib? Or are they using a fixed SPI and CLB? 

  • Hi,


    Thomas Flayols said:
    Just to be sure, about the library for 2 EnDat22, is it possible, with the current implementation, to use one EnDat per control core of the TMS320F28388D runing different instances of the lib? Or are they using a fixed SPI and CLB? 


    No. As I said above, current library is meant to interface 1 encoder only. 
    We you've the access to the source code (planned to be released later this year with the CLB tool) you'll be able to modify the CLB instances and use up to 2 encoder interfaces.