We are developing a new board using K60F150. But when we try to create a new MQX project, there is no K60F150 option.
Do I have to start to write it myself or there is some simple way we can start?
I would start with the BSP Cloning tool that you can find in : C:\Freescale\Freescale_MQX_4_0\tools\BSPCloningWizard
Using as base the K60F120 BSP.
Of course, you will have to port your BSP to your new board peripherals, but if the TWR-K60F120 mounted a K60F150, you only would have to change the clock from 120 MHz to 150MHz. In that case, you have to modify bsp_cm.c and bsp_cm.h
Review the code for clock settings, changing de registers value to change from 120 to 150 Mhz.
You could also enable Processor Expert in your project and use it to change the clock settings.
· For more information about BSP porting, have a look to this very good document: https://community.freescale.com/thread/306640
I read the source code for bsp_cm.c and bsp_cm.h for K60F120 and find the configurations for 120MHz in Processor Expert.
But when I try to edit Clock source setting->Clock source setting 0->MCG setting->MCG Mode->MCG output from 120Mhz to 150Mhz, I cannot edit it. It said it is not editable. As shown in the pic.
Then how should I edit it?
As the information in your screenshot states, the MCG Output is derived from the PLL 0 output clock.
After I set the the PLL0 to 150MHz and try to set the Clock configuration 0-> System clock.
It gives me error can not exceed 120Mhz.
I read the reference manual for it. The PEE mode clock setting should be
150MHz for core and system clock
75MHz for bus
50Mhz for FlexBus
25Mhz for flash
Is there something I miss or should I delete the old ProcessorExpert.pe and generate a new one?
Did you change the CPU to the 150MHz option? If you left it as the 120MHz option which is used in the twrk60f120m BSP, then that doesn't allow a core clock over 120MHz.
In that case, after I adding MK60FN1M0VMD15 to the project. I can change the CPU type and configuring clock works.
But there will be MK60FN1M0VMD12 and MK60FN1M0VMD15 in my project.
Do I need to delete the MK60FN1M0VMD12 from Processors list?
You can disable the 120 Mhz CPU and enable the 150 Mhz one. Right click on the CPU component
After I change all the clock settings. There is a component named PWM under component list has problem.
I read the Processor Expert help documentation, but didn't find very much information.
I just want to know where can I find all information about how to configure each component in Processor Expert.
That component is provided as an example. You can remove it or reconfigure to a valid cock settings. Parameters were for 120Mhz clock. You can go to help information in CW or check infocenter.
Go to Software and Tools Information center -> CodeWarrior -> Processor Expert Manuals
Thank you very much.
You can also get help on any component by right-clicking on the component and select "Help on Component". This will bring up HTML help with all the details about the component.
Retrieving data ...