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.

AM6421: EtherCAT subdevice: Callback for Mapping changed is not triggered for PDOs with padding entries

Part Number: AM6421

Tool/software:

Hi TI team,

for my EtherCAT device I have PDOs > 30 bytes.

I register them at the stack using additional padding bytes EC_API_SLV_PDO_addPadding().

I am able to go to operational state and exchange process data.

In our product we also use callback for mapping changes EC_API_SLV_PDO_CBMappingChanges_t to reconfigure Process data sizes.

The problem occurs when the master changes a mapping of a PDO e.g:

from 0x1A00: Index 0x7000, subindex: 0 Size: 128 bit

to     0x1A00: Index 0x7000, subindex 0 Size: 256 bit

This is what TwinCAT sends: 

The value in the object dictionary looks also as expected:

The Error is that in this case the callback function is not triggered.