Part Number: AM2432
Other Parts Discussed in Thread: SYSCONFIG
Hello,
currently we experience issues with the Triple-Buffer of the EtherCAT sub-device (I strongly assume there is a triple-buffer implemented in the PRU code).
- We are sending FSoE frames embedded in normal EtherCAT PDO data.
- For the FSoE protocol the following scenario is not allowed:
- Frame X (e.g. 0x360ace080100) is sent (from EtherCAT slave to EtherCAT master).
- Then frame Y (0x360aa71b0100).
- Then in the cycle directly after frame Y, frame X is sent again.
- So the order is:
0x360ace080100
0x360ace080100
0x360aa71b0100
0x360ace080100
0x360aa71b0100
0x360aa71b0100 - This is not allowed by the FSoE standard.
- When we check the log what our application on ARM R5 core writes to the EtherCAT input buffer (in function APPL_InputMapping()), it looks like the following:
0x360ace080100
0x360ace080100
0x360aa71b0100
0x360aa71b0100
0x360aa71b0100
0x360aa71b0100 - So this seems like a typical triple-buffer fail to me. The value 0x360ace080100 is repeated, because it is still present in an older buffer of the triple-buffer, despite the new value 0x360aa71b0100 was already present and sent to the EtherCAT master.
- Apart from our logging in APPL_InputMapping(), our application code on ARM R5 does not include any double or triple buffers or similar, so the application on R5 has no way to even remember that 0x360ace080100 was sent before 0x360aa71b0100. Therefore to us it is very likely that the triple buffer inside the PRU code is the culprit.
- The failure is very rare. Sometimes we waited multiple weeks for it to happen. However, it is serious, because the FSoE connection is in error state afterwards.
Our setup is the following:
- AM2432BSFFHIALXR
- EtherCAT Sub-Device on ICSSG1 has Revision/Type : x0690, Build : x0542, Firmware Version : 6.5.66
- However, for other drivers we still use ind_comms_sdk_am243x_09_02_00_24, but we already placed the newest version of the EtherCAT Sub-Device code from ind_comms_sdk_am243x_2025_00_00_08 into it.
- We use the beckhoff_stack.
We would be grateful for any support here. Are you aware of any issues like ours?
Please feel free to ask, if you need further information.
Kind regards,
Martin









