Hello everyone, I tried to set the external crystal specifically in MKE06Z128VQH4 using the CW for MCU 10.6 with Processor Expert and did not work.
In debugguer I saw that the configuration of the OSC was zero.
Searching for the problem I noticed that the CPU_Init.c file that CPU_TClockConfigDescriptor structure is not filled completely missing the define CPU_OSC_CR_CONFIG_0.
Then I added the define and it worked.
I created a Service Request without success. 1-3447186434.
Maybe I'm wrong or can help someone.
Solved! Go to Solution.
Hi David.
I just tested with CW10.6 with the latest update installed. CPU_OSC_CR_CONFIG_0 is generated. see
my CW Build Id:140329. here is CW10.6 updates and service pack link:
http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_6
can you please test your project under the latest version? how does it work?
================================
this answer is for you. if it helps, please click on "Correct Answer" button. thanks!
Best Regards.
Zhang Jun
Joel, I had the same problem in Kinetis Design Studio using processor expert to configure for an external crystal. Same thing, entries were missing in those tables and the values were wrong. Although this problem has been fixed in KDS, I don't know if there are plans to fix it in CodeWarrior, since Freescale isn't promoting CodeWarrior for Kinetis development and pushing KDS instead. Until they fixed it, I just disabled the code generation in Processor Expert and wrote to the OSC and ICS registers directly.
Hi David.
I just tested with CW10.6 with the latest update installed. CPU_OSC_CR_CONFIG_0 is generated. see
my CW Build Id:140329. here is CW10.6 updates and service pack link:
http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_6
can you please test your project under the latest version? how does it work?
================================
this answer is for you. if it helps, please click on "Correct Answer" button. thanks!
Best Regards.
Zhang Jun
Hello, I made updates in Help > Check For Updates, and the problem was solved. Thanks.