Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2642R
I find I cannot use timer1GetValue in sensor controller. Is timer1GetValue deprecated in sensor controller? If we need to get clock tick, which API should we use in sensor controller?
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.
Hi YK,
timer1GetValue is not deprecated but only supported for CC13x2/CC26x2 devices (dependent on number of tick sources).
http://software-dl.ti.com/lprf/sensor_controller_studio/docs/cc13x2_cc26x2_help/html/chip_family_migration.html
http://software-dl.ti.com/lprf/sensor_controller_studio/docs/cc13x2_cc26x2_help/html/timer_1__1.html#timer-1-1-timer1getvalue
http://software-dl.ti.com/lprf/sensor_controller_studio/docs/cc13x2_cc26x2_help/html/timer_1_event_trigger__1.html
If event triggering from the RTC cannot solve your application's needs then you should consider using timer operation outside of the Sensor Controller Engine.
Regards,
Ryan
Hi YiKai,
A new feature in Sensor Controller Studio with the CC13x2 and CC26x2 devices is the introduction of Power and Clock Settings. The Sensor Controller Engine on the CC13x2 and CC26x2 devices supports a 2 MHz clock configuration in addition to 24 MHz, compared to the only clock configuration of 24 MHz on CC13x0 and CC26x0 devices. It is this 2 MHz clock configuration, also called low-power mode, which enables CC13x2 and CC26x2 devices to utilize ultra low-power sensing with the Sensor Controller.
Are you unable to use Timer1 or RTC triggers to count ticks and meet your application needs?
Regards,
Ryan
What I mean to do is to get tick at time 1 and get another tick at time 2 to calculate the ticks/time between time 2 and 1. Can you elaborate how to do this in CC2640R2F sensor controller without using timer1GetValue?
Hi YK,
I do not believe this functionality is possible with the CC2640R2F using Sensor Controller, your options are to use a CC2642R device or Timer TI Driver.
Regards,
Ryan
OK, I see and Thanks for confirming this is the limitation on CC2640R2F sensor controller.