Hi,
Now I can update the PWM Duty cycle in code by the below codes....Also can able to run multiple channels with that fsl_ftm component(FTM0)
FTM_DRV_Init(FSL_FLEXTIMER1,&flexTimer1_InitConfig0);
FTM_DRV_CounterStart(FSL_FLEXTIMER1,kCounting_FTM_UP, 0, 0xFFFF, false);
flexTimer1_ChnConfig0.uDutyCyclePercent=50; //vary the duty cyce of channel 1
FTM_DRV_PwmStart(FSL_FLEXTIMER1,&flexTimer1_ChnConfig0,3U);
flexTimer1_ChnConfig1.uDutyCyclePercent=90; // vary the duty cyce of channel 2
FTM_DRV_PwmStart(FSL_FLEXTIMER1,&flexTimer1_ChnConfig1,1U);
FTM_HAL_SetSoftwareTriggerCmd(FTM0_BASE_PTR, true);
Thanks