Kinetis Microcontrollers
Hello, I am using the MKS20FN128VLL12 micro controller for a new project. I have not added any source code yet to the project, I have only configured the pins and clocks.
When I attempt to configure the clock in MCG Mode: PEE and then update the generated code I receive the following errors:
../board/clock_config.c:140:10: error: 'sim_clock_config_t' {aka 'const struct _sim_clock_config'} has no member named 'pllFllFrac'
140 | .pllFllFrac = 0, /* PLLFLLSEL clock divider fraction: multiplied by 1 */
| ^~~~~~~~~~
and,
../board/clock_config.c:139:10: error: 'sim_clock_config_t' {aka 'const struct _sim_clock_config'} has no member named 'pllFllDiv'; did you mean 'pllFllSel'?
139 | .pllFllDiv = 0, /* PLLFLLSEL clock divider divisor: divided by 1 */
| ^~~~~~~~~
| pllFllSel
The only work around was to manually delete the lines of code to avoid any errors when building the code. Is there anyway to manually set these settings on the SIM clock?
Thanks,
Nicholas
已解决! 转到解答。
Hi Nicholas,
Sorry for the inconvenience we bring you!
Thank you for the report, I'll inform the SDK team about this.
You can add these two lines. This should be fixed in KSDK 2.5.0.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Nicholas,
Sorry for the inconvenience we bring you!
Thank you for the report, I'll inform the SDK team about this.
You can add these two lines. This should be fixed in KSDK 2.5.0.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Is this an "SDK" or "KSDK" problem? @nicholas2000 showed a picture of what looked like the MCUXpresso Clock Wizard - does the KSDK work with MCUXpresso?