Driver for Kionix KXP84 3-axis 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 Kionix KXP84-2050 Evaluation Board:
This was hand wired to a SolderCore:
|Bandwidth (Hz)||Set by filter capacitors|
|Range (g)||±2 (fixed)|
|Communication||up to 400 kHz (I2C) and 1 MHz (SPI)|
|KXP84_I2C_ADDR||KXP84 8-bit I2C address selected by ADDR0 input|
|kxp84_initialize_i2c||Initialize sensor on I2C bus|
|kxp84_initialize_spi||Initialize sensor on SPI bus|