Getting started with FRDM-KE02Z40M

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

Getting started with FRDM-KE02Z40M

1,343 Views
blsousan
Contributor III

I'm working with the FRDM-KE02Z40M and the Kinetis Design Studio.  However, I am having a hard time finding a sample project (Hello world type) to import into the KDS and then run on my Freedom platform.  All I am looking for is a simple project that works out of the box.  I have my the tools installed and the usb connector connected.   I'm a bit confused where I found some posted that state there is no SDK for the E series micros.   If I could just get simple program to compile, download, an run it would be great.

Bill

0 Kudos
6 Replies

850 Views
blsousan
Contributor III

Thanks Jingjing,

     One question - I need I2C support, so looking at this driver package in the i2c drivers, the I2C functions are completely different than the ones that the processor generator creates.  I have the I2C code working now using the processor expert generated calls such as CI2C1_MasterSendBlock(), CI2C1_MasterGetBlockSentStatus(), CI2C1_MasterReceiveBlock(), etc...

     What would be the reason for using one versus the other?  driver package library or the Processor Generated library?

Thanks,

Bill

0 Kudos

850 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Bill,

  Just the driver have different code style.

  PE code are using the PE style, and the kexx driver is another code style, kexx driver is more closer to the register control, you should more familiar with the chip's register,  but the PE code have higher code package, the API already have the function which the user needed, user don't need pay more time to familiar with the register control.

Wish it helps you!


Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

850 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Bill,

  Please refer to this post:

FRDM-KEXX Driver Library Package

  There has a lot of KDS FRDM-KE02 sample code.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

850 Views
blsousan
Contributor III

Thanks Mark.  After more googling, I found this example at NXP:

KE02Z EEPROM Initialization Example

https://community.freescale.com/docs/DOC-329776

Best,

Bill

0 Kudos

850 Views
mjbcswitzerland
Specialist V

Hi Bill

If you are interested in the EEPROM that is built in as standard in the uTasker KE02 project: http://www.utasker.com/kinetis/KE_EEPROM.html

Also such manipulation in internal Flash.

Both flash and EEPROM are accurately emulated in the KE02 simulator.

Regards

Mark

0 Kudos

850 Views
mjbcswitzerland
Specialist V

Hi Bill

If you don't find something suitable directly from NXP you can get all that you need from:

http://www.utasker.com/kinetis/FRDM-KE02Z40M.html

Free, supported, works out-of-the-box for your board to show first simple or powerful project operation.

Includes KDS project, can be simulated using Visual Studio and code is not limited to a particular processor or development environment (as NXP examples tend to be) but runs on any part - eg. write your code to work on your KE and later you can use it on a KL or K without needing to re-write things.

Regards

Mark

0 Kudos