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.

RTOS/CC2650: I want to send AF DATA REQUEST in specific period of intervals.

Part Number: CC2650
Other Parts Discussed in Thread: Z-STACK

Tool/software: TI-RTOS

Hello,

I am using zstack_home_1_02_02a sample switch for CC2650. I need to send AF DATA REQUEST on every 30 mins. So I used a code part as below:

Clock_Params param;
Clock_Params_init(&param);
param.startFlag = TRUE;
param.period = 30000000;
Clock_create(myTimerTick, 30000000,&param, NULL);

void myTimerTick()
{
sendAfdataRequest();
}

The sendAfdataRequest is my custom function. I initialized the clock in switch initialization function. I need to know what is the unit of time that provide using the parameter: param.period?. What I meant is I dont know how much period of time I will get if I put 30000000 in the param.period./

Also, am I doing correct thing for a timer interrupt?, Which timer will configure when use above code and  what is the maximum time period I can set using this code?

Please help.

Thank you.