KL25Z accelerometer

cancel
Showing results for 
Search instead for 
Did you mean: 

KL25Z accelerometer

480 Views
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

121 Views
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

121 Views
NXP Employee
NXP Employee

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

MMA8451Q - a mercurial repository | mbed

Daniel