Hi Agustin,
In the demo, the MasterReload signal of the FlexPWM is used as the ADC trigger. For your requirement, please change the following item:
Vincent_Deng_0-1731999268024.png
For more details please refer to the Reference Manual, Chapter eFlexPWM, register Submodule a Control(SM0_CTRL-SM3_CTRL).
Vincent_Deng_0-1731999573769.png
Thanks,
Vincent