zephyr/samples/drivers/i2c_lsm9ds0
Anas Nashif d622b09bc0 samples: tests: remove obsolete KERNEL_TYPE and kernel variables
Remove those from Makefiles and testcase.ini, we now support unified kernel
only and sanitycheck script now knows how to deal with this.

Change-Id: I853ebcadfa7b56a4de5737d95f2ba096babb2e13
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-11-04 15:47:25 -04:00
..
src
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README
prj.conf

README

I2C LSM9DS0 Sample Application
==============================

This sample application illustrates how to use I2C APIs from Zephyr.
It requires an external device in order to work. The external device
is the accelerometer from LSM9DS0. The datasheet can be found in:
https://www.adafruit.com/datasheets/LSM9DS0.pdf

The application is very simple. It simply reads the 'WHO AM I' register
from the accelerometer and check if matches with the value described in
the datasheet.

Below follows the wiring information for each board this samples has been
tested.

--------------+-------------------+------------------
| LSM9DS0 pin | Quark SE Devboard | Quark D2000 CRB |
|             | pin               | pin             |
|-------------+-------------------+-----------------|
| VIN         | P4 pin 1          | J25 pin 1       |
| GND         | P4 pin 43         | J25 pin 2       |
| SCL         | P4 pin 31         | J21 pin 6       |
| SDA         | P4 pin 33         | J21 pin 5       |
| CSG         | P4 pin 29         | J25 pin 1       |
| SDOG        | P4 pin 17         | J25 pin 2       |
--------------+-------------------+------------------