Hi,
Generation of the file clock_config.c has a bug when main clock is selected for SCTimer/PWMCLK.
The line: CLOCK_AttachClk(kMCLK_to_SCT_CLK); /*!< Switch SCT_CLK to MAIN_CLK */
Should be: CLOCK_AttachClk(kMAIN_CLK_to_SCT_CLK); /*!< Switch SCT_CLK to MAIN_CLK */
As: kMCLK_to_SCT_CLK is not defined in fsl_clock.h
Regards
Viggo
Hi,
Thank you for your feedback, we will check this internally in order to fix the issue.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------