Driver for an Analog Devices ADXL362 3-axis accelerometer.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
http://www.analog.com/en/mems-sensors/mems-accelerometers/adxl362/products/product.html
http://www.analog.com/static/imported-files/data_sheets/ADXL362.pdf
This code has been tested using a SparkFun ADXL362 breakout:
http://www.sparkfun.com/products/11446
This was wired to a CoreProto and plugged into a SenseCore:
http://soldercore.com/products/sensecore/
And finally installed on a SolderCore:
http://soldercore.com/products/soldercore/
Parameter | Supported settings |
Bandwidth (Hz) | 12.5, 25, 50, 100 (default), 200, 400 |
Range (g) | ±2, ±4, ±8 |
Communication | 1 MHz to 5 MHz (SPI) |
Functions | |
adxl362_initialize_spi | Initialize sensor on SPI bus |