AnsweredAssumed Answered

MCUXpresso Config Tools Version 4.1

Question asked by Viggo Joergensen on Sep 26, 2018
Latest reply on Sep 27, 2018 by soledad

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

Outcomes