zephyr/samples/build_test/drivers/dw_aio_comparator
Anas Nashif ba860ba8e9 samples: rename hello_world -> synchronisation
This sample is more than just a hello world, it demonstrates basic
kernel functionality that deserve to be its own sample.

A simplified Hello World sample will replace this one.

Change-Id: I9120daa1923f99def994e484783abe04db5b14eb
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:25:11 -05:00
..
Makefile samples: rename hello_world -> synchronisation 2016-02-05 20:25:11 -05:00
README.txt samples/build_test: add build test for dw_aio_comparator 2016-02-05 20:25:04 -05:00
prj.conf samples/build_test: add build test for dw_aio_comparator 2016-02-05 20:25:04 -05:00
testcase.ini samples/build_test: add build test for dw_aio_comparator 2016-02-05 20:25:04 -05:00

README.txt

This test is used to test the DesignWare AIO/Comparator. The voltage input
pin is analog in A0 on circuit board, which maps to AIN[10] on chip.

To test:
1. Connect the A0 pin to ground via a resistor (to limit current).
   Any larger then 1k Ohm would be fine.
2. Turn on the device.
3. Wait for device to boot, until "app started" line appeared.
4. Remove resistor between A0 pin and ground.
   The line "*** A0, AIN[10] triggered rising." should appear.
5. Reconnect the resistor.
   The line "*** A0, AIN[10] triggered falling." should appear.
6. Keep removing/inserting the resistor to your heart's content.