Hello everybody,
I am using RTC1 for time measurement, this works fine as long as no BLE communication is running.
The RTC is initialized with
const nrf_drv_rtc_t rtc = NRF_DRV_RTC_INSTANCE(1); // Declaring an instance of nrf_drv_rtc for RTC1
nrf_drv_rtc_tick_enable(&rtc, false);
nrf_drv_rtc_enable(&rtc);
I call then repeatedly
app_timer_cnt_get(&ticks);
And print out the value to the UART which is connected to a putty console.
As said, the measurement works fine, as long as no BLE communication is running. If I communicate via BLE the RTC seems to stop after some time and the call
app_timer_cnt_get(&ticks);
always writes 0 to the tick variable.
Does anybody have an idea what's going on here?
Thanks in advance
Matthias