Hi,
Sorry but I have difficulties to understand. Could you reformulate the question?
The GTB function allows synchronization of multiple FTMs, but you want to use just one FTM.
Regards,
Daniel
Hi,
GTB is used to have the same timebase for more FTM modules. All FTM channels are connected to the same timebase, so this feature won't help you.
I don't understand exactly your usecase, but why you need to know the value of the duty cycle( which is stored in CnV, not in MOD)? The application knows the value configured as duty and you can compare it with the value obtained by FTM channel configured as input capture.
Best regards,
Razvan
Hi,
Sorry, I don't see any way to connect internally FTM0_ch0 PWM output with FTM0_Ch1 IC input.
Regards,
Daniel