138579a3ad
Issue: ZEP-1768 Change-Id: Ia59e02bdaf9302b991f0423ef5eba7b0102877b0 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
prj.conf | ||
README | ||
sample.tc | ||
testcase.ini |
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 |