This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IOT Timer Resolution ICMP example

Hi, 

I'm using the ICMP example provided in SDK 15 to test the 6lowpan and wanted to check the RTT from the nrf52832 dev kit.

I managed to do so with the IOT Timer, I check the time when sending the ICMP packet and print the difference upon receiving it, I am using the iot_timer_wall_clock_get function on both cases and I configure the resolution in the sdk_config.h in the IOT_TIMER_RESOLUTION_IN_MS define.

However I cannot set a resolution under 5ms, otherwise the system crashes and the code does not run. I get 

<error> app: Fatal error
<warning> app: System reset

Do you know how I can solve this issue? I would like to have 1 ms resolution for my tests.

Thank you