I found that App timer using in ble_app_template in different modules. Is it possible to change prescaler value without harm to other modules? I need to increase maximum value of timer's time, so I need to change prescaler value.
I use SDK 15.1.
I found that App timer using in ble_app_template in different modules. Is it possible to change prescaler value without harm to other modules? I need to increase maximum value of timer's time, so I need to change prescaler value.
I use SDK 15.1.
Have you considered just having an timeout handler with counter to solve this?
E.g.
static uint16_t m_counter;
static void timeout_handler(void) // Max 250 seconds
{
m_counter ++;
if(m_counter >= TIMEOUT_VALUE) // Multiply of Max 250 seconds
{
m_counter = 0;
// execute code
}
}
Thanks for the answer. Yes, I use this way in my configurations of time counter when interrupt NRF_DRV_RTC_INT_OVERFLOW occure. But in case of using App Timer, I just want to change prescaler value, if it is possible. Will it demage ble_app_template?
I'm really sorry for delayed resopnse, but I'm not receive notification about your message.
Hi,
I don't see any specific problems, unless you also require app_timer with very short timing (e.g. in a few RTC periods with the new prescaler setting).
Best regards,
Kenneth