RTC compare event again. (Case ID: 288462 continued)

Mr Jared, I am sorry.
I accidentally pressed the verify button and the ticket(Case ID: 288462) was closed.

To answer your earlier question.

I checked the nrf_drv_rtc_cc_set() error code. It was '0x0000000d'.

Can you give us an idea of the solution?

Parents Reply
  • Thanks for your reply.

    'It seems that the RTC peripheral cannot clear the counter before calling nrf_drv_rtc_cc_set()'.
    Indeed, when debugging, it seemed to work fine when the program was run one step at a time.' It might work if you put a delay time between 'nrf_drv_rtc_counter_clear( )' and 'nrf_drv_rtc_cc_se( )', but I have not tried that.

    I would like to apply the second solution you suggested.

Children
Related