eb2d8b418c
Code in samples does not follow an standarized format for reporting success or operation failure -- thus we use markup (in file sample.tc) to specify what shall be found in the console to consider execution a success. There is a few functional code modifications that add/extend console messages so verification is possible or easier: - hello_world, synchronization: extend the success message to also print which core is running the testcase - pci_enum: print message on success. Change-Id: Idb6cea03adebe97d97854603f963f4e3d4cb856a Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
README | ||
prj.conf | ||
sample.tc |
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 |