I am working with nRF24LE1 and I use the Gazzell library. But I need a real time base. I have a chance, because I think Gazzell uses that resource. Is there any way I can hang on to Gazzell's timer?
I am working with nRF24LE1 and I use the Gazzell library. But I need a real time base. I have a chance, because I think Gazzell uses that resource. Is there any way I can hang on to Gazzell's timer?
Hi Matias
The RTC interrupt is defined in gzll_timer_isr.c, and you can add some additional code here to update a timer if you want.
Please be aware that the reload speed of the RTC is deciced by Gazell through the call to gzll_set_timer_period(uint16_t period), found in gzll_mcu.c
If you want to use the 32k clock to keep track of time you have to take the reload value into account, as this will determine how often the interrupts will fire.
Best regards
Torbjørn
I am happy to help Matias :)
Feel free to accept my answer if you consider the issue resolved.
I am happy to help Matias :)
Feel free to accept my answer if you consider the issue resolved.