Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_stack_init asserts when enabling RTC2 ( nRF52832, SDK14.2, s132_nrf52_5.1.0 )

Hello,

I am working on a custom project with nRF52832 using SDK14.2 and s132_nrf52_5.1.0.

Now I am trying to configure and use RTC2, and face the problem that ble_stack_init() cannot pass and asserts, which leads to restart of the device.

For configuring RTC2 I took the lfclk_config and rtc_config from this example .

When RTC2 is not configured ble_stack_init() passes normally and BLE function works well. Also, when the code is looped before reaching ble_stack_init() , RTC2 functions normally.

I am a bit out of ideas where to seek for the problem, any advice will be appreciated.

Parents Reply Children
Related