Hello,
I am using an ICE board with full ethercat application: Ecat_appl.
The Ethercat configuration is in distributed clock mode with subordinated cycles:
- the master generates an SM2 event with 500us of periodicity.
- the slave Pru generates a tick with 62.5us of periodicity (sync0), I use it to control a control the position and current of the brushless motor.It's OK...
My question: Is it possible to program the ADC register to force the measure of the the values according to the Sync0 interrupt.
Later, for example, to be sure that IU and IV (coil currents) are synchronised with the 62.5us tick ?