SNLA494 February   2026 DP83826E , DP83826I , TMS320F28P650DH , TMS320F28P650DK

 

  1.   1
  2.   Summary
  3.   Revision History
  4. 1Overview of EtherCAT and Communication Model
  5. 2EtherCAT Slave Frame Transmission and Diagnostics
    1. 2.1 Frame Processing at EtherCAT Slaves
    2. 2.2 ESC Diagnostics
  6. 3EtherCAT Frame Error Fault Cases and Investigation Methods
    1. 3.1 Frame Error Fault Case
    2. 3.2 Frame Error Investigation Case – Fault Isolation Analysis
      1. 3.2.1 ESC PHY0 or PHY1 Fault Isolation Analysis
      2. 3.2.2 ESC F28P65 and MII Fault Isolation Analysis
    3. 3.3 Frame Error Investigation Case – ESC Fault Investigation Within F28P65
      1. 3.3.1 EtherCAT Clock Configuration Failure Analysis
      2. 3.3.2 Recommendations for EtherCAT Clock Configuration
      3. 3.3.3 Addressing Metastability Issue During Clock Domain Crossing Using DCC
  7. 4Summary
  8. 5References

EtherCAT Clock Configuration Failure Analysis

To analyze the root cause of any EtherCAT clock configuration failure, the design team created a test environment and performed simulations, as shown in Figure 3-8, where two writes to the ETHERCATCLKCTL register were executed within approximately 40 cycles. As shown in Figure 3-8, the first and second writes are marked in red (VBUS32_REQ: Yellow waveform). This write operation must configure the value of the EtherCAT clock divider, which operates in a slower clock domain (INTOSC1). Therefore, a pulse transmission from 200MHz to 10MHz is required. Under the pulse transmission signal “Pulse sync”, signals i_src_clk (source clock), i_src_pulse (source pulse), i_des_clk (destination clock), o_des_pulse (destination pulse), and des_ack (acknowledge signal from destination domain) are displayed. Any other write to this register is missed as long as the ACK signal is high. In this case, a second write to the register occurs when the des_ack signal (magenta or pink signal) is high. However, the divider never receives this value; it is only configured with the old value.

 RTL Simulation for ESC Clock ConfigurationFigure 3-8 RTL Simulation for ESC Clock Configuration