I have used peripherals config tool to configure the Systick to work with cpu_clk divided by 4.
After building the project there are 2 compilation errors, due to the lack of kCPU_CLK_to_SYSTICK and kCLOCK_DivSYSTICK definitions.
I have checked that these definitions are not included in fsl_clock.h file.
Note that I use MCUxpresso IDE 25.6 and SDK 25.09.
The fsl_clock.h file of the mcux-sdk 2.16 available in github includes these definitions, but i not confident in this file because i have found some bugs, for example:
- the are some comments that are incorrect
- CLOCK_FRO12MTrimConfig() function of fsl_clock.c file has this code:
SCG0->SIRCSTAT = SCG_SIRCSTAT_CCOTRIM(config.cltrim);
SCG0->SIRCSTAT = SCG_SIRCSTAT_CCOTRIM(config.ccotrim);
and i think that it should be:
SCG0->SIRCSTAT = SCG_SIRCSTAT_CLTRIM(config.cltrim);
SCG0->SIRCSTAT = SCG_SIRCSTAT_CCOTRIM(config.ccotrim);
I have also search the documentation for SDK 25.12, but these definitions are not included.
I can manually modify fsl_clock.h file, but I prefer to have a correct SDK.
Is there a SDK version for FRDM-MCXA153 which includes these definitions?