zephyr/samples/drivers/spi_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 samples : incorrectly addressing SPI port 2016-02-12 01:43:39 +00:00
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README samples: Add wiring info for Quark D2000 CRB 2016-02-20 14:57:45 +00:00
prj.conf
sample.tc samples/drivers/spi_lsm9ds0: don't run on QEMUs or FRDMs 2016-10-19 17:56:48 +00:00

README

SPI Test Application

This application just retrieves the 'WHO AM I' register from the
Accelerometer from a LSM9DS0 connected via API.

The device datasheet can be found here:
https://www.adafruit.com/datasheets/LSM9DS0.pdf

Wiring information:

| LSM9DS0 pin | Quark SE Devboard  | Quark D2000 CRB |
|             | pin                | pin             |
|-------------+--------------------+-----------------|
| VIN         | VDD_HDR_3P3        | J25 pin 1       |
| CS_G        | GPIO24_SPI0_M_nCS0 | SS0             |
| CS_XM       | VDD_HDR_3P3        | J25 pin 1       |
| SCL         | GPIO24_SPI0_M_SCLK | CLK             |
| SDO_G       | GPIO24_SPI0_M_MISO | MISO            |
| SDO_XM      | Ground             | J25 pin 2       |
| SDA         | GPIO24_SPI0_M_MOSI | MOSI            |
| GND         | Ground             | J25 pin 2       |