LPCXpresso54608 accelerometer

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

LPCXpresso54608 accelerometer

1,150 Views
klausrenner
Contributor II

Looking for a driver and example code to use the on board Accelerometer. Is one available? I don't see anything in the SDK or elsewhere.

2 Replies

983 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Klaus,

The MCUXpresso SDK package does not come with an example using the MMA8652FCR1 accelerometer but you can use the following document as base for your application, you will just need to change the I2C driver and initialization code to use the SDK drivers:

https://community.nxp.com/docs/DOC-101192 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

983 Views
klausrenner
Contributor II

Thanks very much! I've been meaning to get on this but am now distracted with other work. I downloaded the example project and see that it'll be very helpful.

0 Kudos
Reply