I have PWM modules being switched at 20Khz.
1. I want to Sample ADC at 10Khz, (synchronized with PWM) and I can achieve that by ADC and CTU. (Achieved)
2. I want to Etimer at 20Khz sysced with PWM(toggle up and down at 10 kHz) (need help)
My problem is that I want ETIMER at 20Khz, which has to be synced with the same PWM and seems to be impossible to have both, ADC at 10KHz and ETIMER at 20KHz.
Is it possible to have ADC Sampling at 10Khz and Etimer at 20Khz synced with the same PWM (switched at 20Khz)?
Constantin Razvan Chivu -> for you maybe.