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

Freertos tick issue on nRF52. Can lead to lockups. SDK11

The tick count update in tickless idle mode is only executed when the rtos tick handler is executed. If different interrupt wakes up the CPU, the tick count is invalid. This may in some cases lead to the cpu sleeping for the maximum RTC clock time. It will be experienced as a lockup. This will be fixed in the next SDK release (current is SDK 11.0)

Threads describing the issue:

The FIX: Replace the following two files in the SDK folder, with the files attached in this post.

  • \external\freertos\config\FreeRTOSConfig.h
  • \external\freertos\portable\CMSIS\nrf52\port_cmsis_systick.c

Fixed files:

Related