KL25Z accelerometer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KL25Z accelerometer

1,338 次查看
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 项奖励
2 回复数

979 次查看
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

979 次查看
danielhadad
NXP Employee
NXP Employee

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

MMA8451Q - a mercurial repository | mbed

Daniel