nes-proj/examples/platform-specific/nrf52dk/timer-test
2018-03-09 16:29:06 +00:00
..
Makefile Update Makefiles to be compatible with the new build system and restrict them to specific platforms where needed 2018-03-09 16:29:06 +00:00
Makefile.target Add Makefile.target for platform-specific examples 2017-10-30 21:46:55 +00:00
README.md Re-arrange examples, in particular, move platform-specific examples to examples/platform-specific 2017-05-16 17:47:57 +02:00
timer-test.c Re-arrange examples, in particular, move platform-specific examples to examples/platform-specific 2017-05-16 17:47:57 +02:00

Timers test

Timers test is an application allows for testing clocks implementation for nRF52 DK. The results of different tests are output to the console.

There are 4 tests performed:

1) TEST clock_delay_usec() - measures duration of a NOP delay using rtimer. It's expected
                             that difference is close to 0.
                             
2) TEST rtimer - schedules an rtimer callback after 1 second. Prints actual time difference
                 in rtimer and clock ticks. It's expected that both values are close to 0.
                 
3) TEST etimer - schedules an event timer and measures time difference. It is expected that
                 the value is close to 0.

The example requires one DK and it doesn't use SoftDevice. To compile and flash the example run:

make TARGET=nrf52dk timer-test.flash