Hi Allen,
Thanks for your swift response.
I code attached isn't using SIM->FTMOPT1=SIM_FTMOPT1_FTM3_OUTSEL(0x01);
I analyzed the code you shared above, FTM0 with 40Hz, and both FTM1 & FTM2 with 1KHz. Also FTM1 & FTM2, CH0 are provided with 50% duty cycle .
1. I would like to know the reason why 50% duty cycle @ 1KHz on FTM1_CH1, though FTM1 doesn't support Modulation. Is this CnV registers in FTM1 support in generating the signals D2 and D3 on FTM0_CH0? In that case, what is the duty during the modulation period of D2 & D3? Is the modulating frequency is same as FTM1_CH1? Is this 50% can be controlled?
Kindly clarify,
Raju