Dear Petr,
I know it is an old post, but I would like to ask you one thing about the project you attached.
It helped me too, but I read that it is possibile to synchronize also PWM with ADCA and PWM with ADCB, with different conversion timing synchronization (using TMRA2 and TMRA3).
I tried to modifiy your project to do this, but I'm not sure that it is possible, maybe the high-level component doesn't cover this option?
My target controller is 56F8023, not sure if 8037 is the same, can you help me? Do you have an example of double-synchronization?
Thanks a lot,
Sandro