Hi,
I am using App Timer for measuring time and at the same time while loop to check if the timer reached particular time.
I have noticed during while loop App Timer event doesn't seems to work. Is this correct?
Regards Siva
Hi,
I am using App Timer for measuring time and at the same time while loop to check if the timer reached particular time.
I have noticed during while loop App Timer event doesn't seems to work. Is this correct?
Regards Siva
In what interrupt priority do you check the timer value in a loop? If it is running in the same or higher priority than the application timer, your timeout event handler will never be called as it must wait for the other (same or higher priority) interrupt handler / event handler to finish first.
I have tried changing "APP_IRQ_PRIORITY_LOW" to "APP_IRQ_PRIORITY_HIGH" on RTC1 in nrf_drv_config.h file but it didn't work as it still got stuck in while loop.
I have tried changing "APP_IRQ_PRIORITY_LOW" to "APP_IRQ_PRIORITY_HIGH" on RTC1 in nrf_drv_config.h file but it didn't work as it still got stuck in while loop.