Tool/software: TI-RTOS
Hello,
we should wake up cc1310 every eight milliseconds from standby ;After doing some work (3ms),reenter Standby 。
How to wakeup from Standby by timer(RTC)every 8ms ?
Best regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI-RTOS
Hello,
we should wake up cc1310 every eight milliseconds from standby ;After doing some work (3ms),reenter Standby 。
How to wakeup from Standby by timer(RTC)every 8ms ?
Best regards
Ho Tomasz,
You don't achieve 1us ticks using the RTC. For the CC26xx and CC13xx devices you are limited to the resolution of the RTC. The RTC is running in "dynamic mode" which means it will only trigger an interrupt when needed to which will be the closest hit to what was actually requested, this means there will be some jitter in the Clock module.
If you need timer with better resolution, you could use the GPTimer hardware or the SysTick module, these will however not work in standby.
If the RTOS switches to standby or not depends on several reasons such as drivers not allowing this (as you said). Assuming standby is allowed, the Power driver will try to get into standby as long as there is enough time to the next scheduled tick. If the time is > 2 ms (The worst case to get into or out of standby is considered to be 1 ms) then it will proceed into standby.
One thing to keep in mind with the hook is that it potentially introduce some additional latency as the ISR now handles all channel (starting with the system one).
Hi Tomasz,
I'm not completely sure I understand just what tips you wanted, maybe you could elaborate a bite more on this.
In general, the ROV is a great tool to figure out what is happening on the RTOS level. You could extract a lot of information from the ROV that is helpful when understanding the application behavior. UIA is another tool that can be useful, it is however quite tricky to setup for use.