Hi lethuer2,
In regards with your questions:
In my opinion one PWM period is from INIT to VAL1.
This would mean that with a duty cycle of 50 percent the on time starts at INIT and ends at VAL0 ?
Indeed the PWM Counter starts at INIT and rolls over at VAL1 measuring the one PWM period.
The diagram you are referring to represent the "center aligned" PWM generation when the PWM high and low are aligned in the center to the VAL0.
Your description is valid for edge-aligned PWM generation.
So for starting the adc conversation at each on time from the PWM I have to set VAL1 ?
It depends on with VALx you choose as Output trigger. If you select VAL1 then YES, the ADC conversion will start when FTM counter value = VAL1 (end of PWM period in this particular case)
So the PWM_A and PWM_B above are only the timers and not the configured output pins in the block you can see in the picture blow. Is that correct so far ?
No, that PWM_A and PWM_B are the actual PWM signals that drives the power transitors. PWM_A = A[1] output pin and PWM_B = B[1] output pin.
Hope it helps!
Daniel