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: Source Code of EnDat 22 PM Library

Part Number: TMS320F28379D

Tool/software:

Hello,

I would like to inquire if it’s possible to obtain the source code for the EnDat 2.2 PM Library ("endat22_v2_00_00beta") and the BiSS-C PM Library.

We are particularly interested in the CLB configuration within these libraries.

Thank you in advance for your assistance.

Regards,

Wilko

  • Unfortunately we do not have this available in a useful/documented form at this time. 

  • Hello Lori,

    An undocumented form could be useful for me as well. However, perhaps you could alternatively describe a few specific points. In the document "C2000 Position Manager EnDat22 Library Module -- User's Guide", the tasks of the CLB are outlined as follows:

    Could you clarify the following statements?

    1. "Identification of the critical delay between the clock edges sent to the encoder and the received data"

      My interpretation: This could involve determining the maximum allowable frequency.

    2. "Ability to adjust the delay between the two clocks mentioned above"

      My interpretation: 1-Possibly adjusting the frequency based on what is achievable for stable communication.

                                   2-Alternatively this could be the delay between the two clock signals ENC CLK and SPI CLK which I meassured at about 18ns. 
    3. "Ability to configure the block and adjust the delay via software"

      My interpretation: Adjusting propagation delay via software compensation.

    Any additional context you can provide regarding the CLB's tasks would be very helpful.

    Thank you!

    Regards,


    Wilko

  • Wilko, 

    I find the language in the guide a bit confusing myself. 

    In general, the CLB is responsible for:

    - Controlling the TxEN for the RS485 interface

    - Generating the encoder clock

    - Generating the SPI clock for xmit and receive

    - Properly align the SPI clock to the received data

    - Compensating for the propagation delay