Driver for a Freescale MMA845xQ accelerometer.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
This code has been tested using a Freescale LFSTBEB3110 sensor daughterboard:
The sensor was wired to a CoreProto and plugged into a SenseCore:
And finally installed on a SolderCore:
|Bandwidth (Hz)||1.56, 6.25, 12.5, 50, 100, 200, 400, 800|
|Range (g)||±2, ±4, ±8|
|Communication||up to 2.25 MHz (I2C)|
|MMA8451Q_I2C_ADDR||MMA845xQ 8-bit I2C address selected with SA0 signal|
|mma8451q_initialize_i2c||Initialize sensor on I2C bus|