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.

AM3359 - EtherCAT with SOEM

Other Parts Discussed in Thread: AM3359

Hi Team,

Trying my EtherCAT network using TI slave and a SOEM master, I'm struggling communicating to the TI board Leds.

Initialisation and SDOs seem to be working as the master can detect slave(or even slaves as i have 2 TI boards) but as soon as I'm trying to stimulate RxPDOs, not much is happening.

I have studied TI Slave Code and can actually see that I should get my sent data (i.e. 0x55) as an input parameter in APPL_OutputMapping so the LEDs could be controlled.

I'm not quite sure where things go wrong and would like advise on where to look first.

I have used the EBox example from the SOEM package and modified the EBox structure so it represents the AM3359 i/o layout. and used ec_send_processdata().

Working Counter come back as 0.

Would you have a sample code that just controls AM3359 LEDs from a SOEM base master?

Thanks a lot,

Jeremie