Code Warrior for the FRDM-KL25Z

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

Code Warrior for the FRDM-KL25Z

Jump to solution
8,176 Views
curtcarpenter
Contributor I

Hello:

I have just received a FRDM-KL25Z evaluation board, and downloaded a version of Code Warrior to use as an IDE for it (I downloaded the beta version).  This version of CW does not seem to support any of the L series Kenetis processors.   I've used CW on other projects a few years ago, and would like to continue to do so now if it is possible.

Could anyone point me to a version of CW that will allow me to evaluate the KL25Z?

Labels (1)
1 Solution
1,679 Views
LuisCasado
NXP Employee
NXP Employee

Hello Curt,

CW 10.3 Beta does support Kinetis-L. Just try to create a new project and you will see the supported devices in the wizard:

cw.bmp

Regards,

Luis

View solution in original post

0 Kudos
10 Replies
1,679 Views
jeanvaljean
Contributor II

Hello Everyone,

I also got an FDRM-KL25Z evalboard. Because I use Ubuntu, I downloaded CodeWarrior 10.2 for Linux.

I could successfully install it, that's the first success.

But, I couldn't choose the processor when I create a new project. There's only the Kinetis K series on the list.

How could I get some extension for this version of CodeWarrior, that makes it possible to use the Kinetis L series?

CodeWarrior 10.3 isn't an option, it is not available for Linux.

0 Kudos
1,679 Views
BlackNight
NXP Employee
NXP Employee

Hi Curt,

For CodeWarrior/Processor Expert Tutorials and Examples for the KL25Z Freedom board, have a look at

http://mcuoneclipse.wordpress.com/tag/kl25z-freedom-board/

Erich

1,679 Views
kesaradecosta
Contributor II

Hi Erich,

Your titorials on FRDM KL25Z is very helpful

Can you up load some tutorials on PWM generation and input capture of pulse from Ultrasonic sensor please.

Thanks,

Kaysee

0 Kudos
1,679 Views
BlackNight
NXP Employee
NXP Employee

Hi Kaysee,

well, need to see what I can do on my Christmas break, but I'm looking into this sensor right now:

Once I have it working, I'll publish it for sure on my blog.

Erich

0 Kudos
1,678 Views
BlackNight
NXP Employee
NXP Employee

sorry, missed to provide the link to the sensor.

It is a HC-SR04:

Play-Zone.CH Ultraschall Distanzmesser HC-SR04

0 Kudos
1,678 Views
kesaradecosta
Contributor II

Hi Erich,

At TAFE Western Sydney we use Pic axe 28x2 as the microcontroller board for
the mechatronic projects, usually a small robot with 3 ultrasonic sensors (HC-SR04)
and 2 motors and the drive chip is L293D.

I am trying to switch the microcontroller board to FRDM KL25Z as it offers
more speed and hardware resources.

My plan is to run the motors using TPM2_CNT with 2channels of PWM signal of 4
kHz as L293 is only capable of running up to 5 kHz.       

As for 10 us signal for the Ultrasonic trigger pulse and capture of eco
signal TPM0_CNT with 3 channels for trigger and 3 channels for the eco capture.
If it not possible uses TPM1_CNT with 2 channels for the trigger pulse. (I
prefer to have 3 trigger and 3 capture channels)

I am having trouble setting up 2 PWM channels using TPM2_CNT. When I try to configure
the second channel on the TPM2 it gives out an error.

Thanks,

Kesara De Costa

0 Kudos
1,679 Views
kesaradecosta
Contributor II

Hi,

I have managed to configure the TPM2_CNT with 2 PWM channels running at 5kHz but with warnings see the attachment.

Thanks,

Kesara

PWM.png

0 Kudos
1,679 Views
BlackNight
NXP Employee
NXP Employee

Hi Kesara,

I only used on ultrasonic module (Tutorial: Ultrasonic Ranging with the Freedom Board).

But I see these warnings too, and have reported them to the engineering team.

0 Kudos
1,680 Views
LuisCasado
NXP Employee
NXP Employee

Hello Curt,

CW 10.3 Beta does support Kinetis-L. Just try to create a new project and you will see the supported devices in the wizard:

cw.bmp

Regards,

Luis

0 Kudos
1,679 Views
tom_thompson
Contributor III

The CodeWarrior for MCUs v10.3 beta is available from this web page, which is different from the standard CodeWarrior download page.

---Tom