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.

CCS/TMS320F28379S: etherCAT issue: pdi interrupt is not stable

Part Number: TMS320F28379S

Tool/software: Code Composer Studio

Hi ti experts,

currently i am testing ethercat function based on ti's example code and now i am encountering an issue listed below in deails:

1. pdi interrupt measured by scope is stable when using TwinCAT as master and our developed controller card as slave, pls see attached figure1 as reference. pdi interrupt is phase lead by sync0 interrupt, which is correct.

2. pdi interrupt measured by scope is not stable and is sometimes overlapped with sync0 intterrupt , sometimes is phase lead by sync0 when using a product in market as master and our developed controller as slave, pls see attached figure2 as reference. pdi interrupt is overlapped with sync0 interrupt, but however my setting in master should be "pdi is phase lead by sync0".

i have not ideal how to debug this issue. pls kindly give your help on this. thanks a lot.

FIGURE1: pid stable

figure2: pid not stable