incubator-nuttx/drivers/sensors
Gregory Nutt 8e4f7230f9 ADXL345: Don't select device if only change SPI settings 2014-12-17 12:01:18 -06:00
..
Kconfig Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00
Make.defs Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00
README.txt Add ADXL345 accelerometer driver. From Alan Carvalho de Assis 2014-12-16 08:16:53 -06:00
adxl345.h Add ADXL345 accelerometer driver. From Alan Carvalho de Assis 2014-12-16 08:16:53 -06:00
adxl345_base.c ADXL345: Don't select device if only change SPI settings 2014-12-17 12:01:18 -06:00
adxl345_i2c.c Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00
adxl345_spi.c ADXL345: Don't select device if only change SPI settings 2014-12-17 12:01:18 -06:00
lis331dl.c Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
lm75.c Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00
qencoder.c Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg() 2014-12-16 09:54:32 -06:00

README.txt

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.