Hi all,
I'm very confused about how RTOS and cc1310 works:
I need a very simple timer that trigger a callback function every 50ms, with the power management enabled to put the device in standby between every trigger. I saw that RTOS implements Clock module or/and Timer module. In the technical pdf there is written that Clock module is the main reference for the Kernel's timeout and counting functions, and it run under Swi context. The Timer module manages generic instances that source ticks from Clock module. The question is: which source RTOS use in the CC1310 for the Clock Module ??? I thought that it used the RTC module 'cause, if the power management put the device in standby mode, only the RTC is running, but when I saw that the Clock module can have a resolution of 10us I went into confusion (RTC is supplied by a 32KHz oscillator and it can't have a 10us resolution!!!), 'cause this resolution means that the RTOS use the main clock as source (48MHz), that is powered down by power manager.....I'm going in loop....
Also I saw that power policy doesn't put the device in standby if the next wake up is less than 1ms (with 10us the device is always on......).
Which is the main differences using Clock instances or Timer instances ? Only a priority reason ?
In the examples in the CCS the power management isn't treated in depth