Other Parts Discussed in Thread: CC2640, SYSBIOS
Hi all,
I'm working on CC2640 and I need to have a timer that reaches 2/3 minutes and then restart with no need of interrupt. I started using 32 bit timer in periodic mode. I found that the 32bit GPtimer is set to run off the HF clock of 48MHz. So I calculated that in this case the full scale of the timer is 89 seconds, but this is not enough for me. I want that it reaches almost 150/200 seconds. Is possible to reach those values using prescaler? How can I set the prescaler for the timer?
In addition what's the difference between the functions GPTimerCC26XX_getValue and GPTimerCC26XX_getFreeRunValue? It's not clear from the comment on GPTimerCC26XX.h
Can anyone help me?
Thanks in advanced
Moniaga