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

RTC1 interrupt not triggering

I am using SDK 11.0.0 on a nrf52832, with FreeRTOS and SD132 2.0.0. I configure the FreeRTOS port so that it uses RTC1 as SysTick. Depending on some compilation macros, my code initializes the softdevice or it does not. At some point, the code starts the RTOS scheduler and that enables RTC1_IRQn interrupt.

If I compile the code so that it enables the softdevice, I have no problems. Instead, if I do not enable the soft device, RTC1_IRQn never triggers so the SysTick port in RTOS does not work.

Also, it does not matter whether I enable configUSE_TICKLESS_IDLE or I don't.

Apart from enabling the softdevice or not enabling it, the code does pretty much the same. Anyone any thoughts on that?

Parents Reply Children
Related