blob: 4f6c0072cccd5c6823b5bb1cfbc582c8b945ea76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
ADXL345
=======
The ADXL345 accelerometer can operate in I2C or SPI mode. To operate in I2C
mode just connect the CS pin to Vddi/o.
In order to operate in SPI mode CS need to use connected to microcontroller,
it cannot leave unconnected.
In SPI mode it works with clock polarity (CPOL) = 1 and clock phase (CPHA) = 1.
|