Hello,
I work on the example design MBDT AN13902. This motor algorithm works at 10kHz, so ADC and PWM are synchronous.
The AN13767 is the same SW without MBDT. And in this application note, we can see the ADC samples are processed directly during the ""FOC calculation". So, during the same 100µs time.

I added a comparator on the same ADC input to trig a GPIO when the signal is above its middle value. And see a delay of 224µs between the theoretical trigger (the physical signal) and the output GPIO signal, so more than 2 loop times. (We know a GPIO can rise and fall multiple times in the same 100µs, so its rise time is almost negligible)

This time is the minimal time achievable, because the input ADC signal is not synchronous to the ADC, the real delay varies from 224µs to 324µs. But keep in mind 224µs is the real delay.
Do you know a reason which could explain this ?
Best regards
Jérémy