Hello, i am building SDK for MK22FN1M0VLH12 (MK22FN1M0xxx12) micro-controller using the online SDK builder. I think there is a bug as i can not see the "fsl_clock" being generated !! this prevents me from compiling . Any Help ?
Thnaks for the response ... yes i have copied the :
SDK_2.0_MK22FN1M0xxx12\devices\MK21FA12\drivers\fsl_clock.c
SDK_2.0_MK22FN1M0xxx12\devices\MK21FA12\drivers\fsl_clock.h
to the drivers files in my project ... the compilation is successful but the code is stuck at the following location indicating unsuccessful clock configuration :
I have used the KINETIS Expert to generate the .clock settings :
I have used SDK 2.0 on FRDM K64 sucessfully but on this chip it seems the SDK is not ready or its not compatible.
Hello Uddin,
- Ok, I will tell you .ASAP when I get the workaround.
- About the clock configuration, how do you know it is also have some problem, does it
can not work when you copy the code into your project ?
Thanks for your sharing .
BR
ALice
After copying the clock configuration files in to the project the proceed to compilation but as i run in debug mode it gets stuck at the point i have shown in my previous post. The code doesn't proceed any further just blocks at the while loop.
I do not doubt the board as i can do the clock configuration and run the project normally when i do a PE (Processor Expert) project !! This is stopping me from using the SDK 2.0.
Hi Mesbah, Alice,
this issue is already fixed in the latest version available on https://mcuxpresso.nxp.com.
Lukas
Hello Lukas
OK, thank you very much !
BR
Alice
Hello Mesbah,
OK, the key problem is the SDK code , I will reply you .ASAP.
BR
Alice
Hello Mesbah,
I will report this bug to MCUXpresso SDK team , sorry for the inconvenient to you .
There is the clock functions file about MK21F12, maybe you can refer to it to develop
before I got the fix .
SDK_2.0_MK22FN1M0xxx12\devices\MK21FA12\drivers\fsl_clock.c
BR
Alice