Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
I want to run a function every 1msec. I used the sample of clock_CC2650STK and used the periodic timer but I don't know how I can set the setting to have 1msec.
The example define the clock as Clock_construct(&clk0Struct, (Clock_FuncPtr)clk0Fxn,5000/Clock_tickPeriod, &clkParams);
and clkParams.period = 50000/Clock_tickPeriod but I have no idea what is the 5000/Clock_tickPeriod. and what is he value of Clock_tickPeriod. How I can change the setting to have 1msec.
And Also, I want to put the module in idle to lower power consumption and wake up after 1msec do something and then sleep.
Could you please give me an example about that.
Thanks.