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

nRF52832 SDK14.2 How to retrigger RTC Compare0

Hi All,

Based on nRF52832 SDK14.2 rtc example, I want to change it to retrigger RTC Compare0, let the LED1 also toggle every 3s, instead of keeping LED1 on. I tried to add NRF_RTC0->CC[0]=0, and then nrf_drv_rtc_cc_set() in rtc_handler, however, it seems still can not work. I also can't find any example. Would you please give any suggestion? Thanks a lot.

BR,

XiaoYa

Related