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

Questions about rtc example

Hi, all

I'm using nRF52840, pca10056.

I have a question about the rtc example of peripheral.

I want to know the difference between 'nrf_drv_rtc_init' and 'nrf_drv_rtc_cc_set' exactly.

What I confusing : 

1. I changed config.prescaler value 4095 to 16380 to change the clock period to 0.5.

    But there is no change. What did I miss?

2. Is the role 'nrf_drv_rtc_cc_set' all that LED2 turns on after COMPARE_COUNTERIME seconds?

3. I also referred to nordic semiconductor RTC example.

 ...

   What does 'clears the interrupt request' mean in the first paragraph of the description and which part of the example code does it represent? 

BR,

lyrics

Parents Reply Children
No Data
Related