Processor Expert / Beans Tutorial

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

Processor Expert / Beans Tutorial

2,261 Views
paulkafig
Contributor II

I'm a new user of Kinetis parts and Kinetis Design Studio. I'm looking for a good tutorial to walk me through using the Processor Expert and use of "Beans".

 

I'm using the KL43Z Freedom board.

 

Thank you.

Labels (1)
0 Kudos
6 Replies

1,022 Views
paulkafig
Contributor II

Hi Erich,

Just wanted to give an update...

I'm able to add components now. I'm able to use the help and see the methods available for those components. I still have some figuring out to do in terms of how to use them.

Thanks again for all the help and I'll post back if I have other questions.

Best regards,

Paul

0 Kudos

1,022 Views
BlackNight
NXP Employee
NXP Employee

Hi Paul,

I wrote several tutorials, so best if you google for "mcuoneclipse tutorial" or "mcuoneclipse tutorial processor expert" and you should find a few, and I hope they are good enough for you (some tutorials were written for CodeWarrior, but they apply to KDS too).

A few links:

https://mcuoneclipse.com/2012/09/07/tutorial-enlighting-the-freedom-kl25z-board/ 

https://mcuoneclipse.com/2012/09/21/tutorial-accelerating-the-kl25z-freedom-board/ 

https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/ 

https://mcuoneclipse.com/2016/02/06/tutorial-bare-metal-shell-for-kinetis/ 

I hope this helps,

Erich

0 Kudos

1,022 Views
paulkafig
Contributor II

Hi Erich,

Thanks for the links. I've seen those, but what you're doing in the tutorials do not seem to match up with what I'm able to do. For example, I can create and build a new project, but I don't know how to add a component to my project. When I right click on a component, the "Add to Project" option is grayed out.

I think I may need something even more basic than what you've written.

-Paul

0 Kudos

1,022 Views
BlackNight
NXP Employee
NXP Employee

Hi Paul,

Do you have the components views open (menu Processor Expert > Show View(s)) and a Processor Expert project selected?

Erich

0 Kudos

1,022 Views
paulkafig
Contributor II

Sorry for the delayed responses. In addition to trying to get this board up and running, I'm putting out other fires. I'm sure you know the drill. Anyway...

Here's my process:

* File --> New --> Processor Expert Project

* I enter the name (e.g. test5)

* When I'm asked to select a board/processor, I can't find the one I want (MKL43Z, which is the demo board I'm using), but I just select one at random anyway to create the project.

* Processor Expert --> Show Views

I get the following:

Untitled.jpg

As you can see, the ability to add components is grayed out.

0 Kudos

1,022 Views
BlackNight
NXP Employee
NXP Employee

Hi Paul,

From the structure and files in your project, I think you don't have a Processor Expert project created for the KL43Z.

That explains why you cannot add components.

KL43Z is supported in Processor Expert only with the Kinetis SDK V1.3:

pastedImage_2.png

So you need the Kinetis SDK V1.3 for the KL43Z installed. Then you can do File > New > Processor Expert Project for it:

pastedImage_3.png

Point to your SDK location and enable Processor Expert:

pastedImage_4.png

Because this is a Kinetis SDK project, only certain types of components can be added (more information in the links I have provided at the end of this reply).

Because of this, not all components work the same way (unfortunately), have a look at the first 'overview' article in the links section.

Some of the McuOnEclipse components can work with different SDKs, but then the steps are naturally different. If you want to use the LED component, then configure the SDK to be the V1.3 (what you are using):

pastedImage_12.png

You have to use a SDK_BitIO component like this:

pastedImage_13.png

Add the fsl_gpio for the SDK 1.3.0:

pastedImage_14.png

LED1 is on PTD5, so specify this in the LED component:

pastedImage_16.png

Generate code, and add your application code e.g.

pastedImage_17.png

That's it (I think).  I have misplaced my FRDM-KL43Z board, so cannot verify this on the hardware.

I do have a TWR-KL43Z around, so I quickly wrote up a tutorial for that board here:

https://mcuoneclipse.com/2016/10/08/tutorial-blinky-with-kinetis-sdk-v1-3-and-processor-expert/ 

That one should be applicable to your board too (change the pin name of course).

I hope this helps,

Erich

Links:

https://mcuoneclipse.com/2015/10/18/overview-processor-expert/ 

https://mcuoneclipse.com/2015/10/15/playing-tetris-with-a-frdm-kl43z-board/ 

https://mcuoneclipse.com/2015/12/05/tutorial-freertos-projects-with-kinetis-sdk-v1-3-and-the-sdk-pro... 

https://mcuoneclipse.com/2016/01/29/first-nxp-kinetis-sdk-release-sdk-v2-0-with-on-demand-package-bu... 

https://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/ 

https://mcuoneclipse.com/2015/07/08/tutorial-using-processor-expert-and-freertos-with-kinetis-sdk-v1...