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: Endat solution sequence issue

Part Number: TMS320F28388D

Tool/software:

Hi Experts,

My customer migrated the Endat solution from F28379 to F28388. They only changed the pinmux and CLB logics are untouched.

However, They find the CLB sequence mismatched to Endat protocol.

Purple: RS485

Green: SPI clock

Yellow: Encoder clock

The issues are:

  1. Some of the SPI clock is missing (starting from the second falling edge of the green)
  2. The data were sent about four clocks later than the first encoder clock, From the endat document it should be two clocks

Regards,

Hang

  • Hi Hang - it will take me some time to understand and investigate. Is the purple the command or the response?

    Things to check -

    • Make sure the synchronizers are enabled at the CLB boundary when needed. The SysCfg will show a warning if the synchronizer is not enabled when it should be.
    • A customer reported the data received was correct, but shifted.
    • Check that the CLB is not running at 200MHz. That is out of specification. It should be 100 if clocked from SYSCLK or 150 if clocked from AUXCLOCK + pipeline mode enabled.