KL25Z accelerometer

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

KL25Z accelerometer

1,271 Views
selvaganesha
Contributor I

Hello, I was wondering as to how we can use the accelerometer on the KL25Z MCU. As far as i've searched, there are no resources on it (no header files to add into TFC, calling functions to use nor examples code). Received help regarding this matter is greatly appreciated.

0 Kudos
2 Replies

912 Views
BlackNight
NXP Employee
NXP Employee

There are several community developed accelerometer and mangnetomer drivers (among others) for the FRDM board (and other), see

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

Review: New FRDM-KL26Z Board | MCU on Eclipse

Sources and drivers are open source and available on GitHub, see

http://mcuoneclipse.com/2013/05/09/processor-expert-component-peupd-files-on-github/

Example projects are here:

mcuoneclipse/Examples at master · ErichStyger/mcuoneclipse · GitHub

I hope this helps,

Erich

912 Views
danielhadad
NXP Employee
NXP Employee

Check mbed. There is a library already developed that is easy to add.

MMA8451Q - a mercurial repository | mbed

Daniel