I configured my system to sleep after inactivity time.
nrf_gpio_cfg_sense_input(WAKE_UP, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_HIGH);
err_code = sd_power_system_off();
when the system wake up from sleep (I use external acceleromter to wake up the system), the RTC1 timer value reset !!!
I use the following method the read RTC1 timer
uint32_t ticks_per_second;
app_timer_cnt_get(&ticks_per_second);
how can I prevent the RTC1 timer from reset at sleep