I want to make a complementary pwm wave with the code below, but it doesn't work anyway. Is there anything wrong with my code? Using KEA128 and S32DS. Project attached. Please help.
Solved! Go to Solution.
Please modify the code shown below:
add PWMPol for FTM2_CH1
Do not recommand to use same CnV for two channel
Select PTH0 and PTH1 as the output pins for these two FTM2 channel.
I have also attached the FRDM_KEA128_FTM_Combine.c file, so that you can direct test it on FRDM-KEA128 board.(...\FRDM-KEA-QSP(REV 8)\Quick Start Package v8\Code Project Examples and Sample Drivers (Evaluation Grade Only)\FRDM-KEAZ128\Driver Test SW for KEAZ128\Driver Test SW for KEAZ128\FRDM_KEA128_FTM_Combine)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Please modify the code shown below:
add PWMPol for FTM2_CH1
Do not recommand to use same CnV for two channel
Select PTH0 and PTH1 as the output pins for these two FTM2 channel.
I have also attached the FRDM_KEA128_FTM_Combine.c file, so that you can direct test it on FRDM-KEA128 board.(...\FRDM-KEA-QSP(REV 8)\Quick Start Package v8\Code Project Examples and Sample Drivers (Evaluation Grade Only)\FRDM-KEAZ128\Driver Test SW for KEAZ128\Driver Test SW for KEAZ128\FRDM_KEA128_FTM_Combine)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------