Setup MQX with PE on K20

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setup MQX with PE on K20

Jump to solution
908 Views
hard_ware
Contributor III

Hello,

 

I have some Problems to set up a new project in CW 10.1 with MQX 3.7 and PE for my self designed Kinetis K20 board.

I tried to setup a new PE projekt by myself and add the component MQX, but get several files not found erros.

I also tried to take the Kwikstik MQX+PE sample project and tried to change the CPU component, but got errors because it seems to be not enough only to change the CPU in the PE component. (Kwikstik has K40 CPU)

 

Is there any "how to" for setting up an MQX + PE project or a sample Project for K20 (100pin) CPU?

0 Kudos
1 Solution
485 Views
MarkP_
Contributor V

Hi,
Taking PE to use (for K60,K10, etc.) goes in this way:

1)Create a project in normal way:
  New->MQX 3.7 Project->
  Select Board: TWRK60n512 Board
  ...

2)Change from bsp to bsp_pe
  Close/remove project bsp_twrk60n512
  Import project bsp_twrk60n512_pe
  This compiles the same source with "Generated code" directory and has the PE components.

3)Add needed PE components from Component Library
  (Can be opened by Window -> Show View -> Other -> Processor Expert ->..)

4)Edit components in Component Inspector

  (For detailed features select Advanced or Expert option).

5)Port K60 to K20 by changing the files needed.
  Example for K60=>K10 in post attachment "Kinetis_k10.txt":
  https://community.freescale.com/thread/85890


For Processor Expert question the forum
http://forums.freescale.com/t5/Processor-Expert-General-Issues/bd-p/PEGEN
is better.

 

If still compile errors exist, post the error list here.

~Mark

View solution in original post

0 Kudos
3 Replies
485 Views
hard_ware
Contributor III

Can anybody help me setting up MQX with PE for Kinetis K20?

0 Kudos
486 Views
MarkP_
Contributor V

Hi,
Taking PE to use (for K60,K10, etc.) goes in this way:

1)Create a project in normal way:
  New->MQX 3.7 Project->
  Select Board: TWRK60n512 Board
  ...

2)Change from bsp to bsp_pe
  Close/remove project bsp_twrk60n512
  Import project bsp_twrk60n512_pe
  This compiles the same source with "Generated code" directory and has the PE components.

3)Add needed PE components from Component Library
  (Can be opened by Window -> Show View -> Other -> Processor Expert ->..)

4)Edit components in Component Inspector

  (For detailed features select Advanced or Expert option).

5)Port K60 to K20 by changing the files needed.
  Example for K60=>K10 in post attachment "Kinetis_k10.txt":
  https://community.freescale.com/thread/85890


For Processor Expert question the forum
http://forums.freescale.com/t5/Processor-Expert-General-Issues/bd-p/PEGEN
is better.

 

If still compile errors exist, post the error list here.

~Mark

0 Kudos
485 Views
hard_ware
Contributor III

Thank you, this helped a lot.

 

I took the twrk60n512_pa BSB and just had to delete the enet function, but also had to change the CPU componetn in the ProcessorExpert to get the right pins maped with my package.´

 

regards,

hard-ware

0 Kudos