Tool/software: TI-RTOS
Hi,
I am using TIRTOS 2.16.0.14.
I need a system timer with a resolution of 1us or finer. I set clock tick period as 1us in the configuration file and the clock construct is done as shown below.
Clock_Params clkParams;
Clock_Params_init(&clkParams);
clkParams.period = 1000;
clkParams.startFlag = TRUE;
/* Construct a periodic Clock Instance with period = 1 system time units */
Clock_construct(&clkStruct, (Clock_FuncPtr)clkFxn, 1, &clkParams);
While I set 1 for the clock tick period inside configuration file, the code is not executing properly. When I set 10, it worked. I tried by changing clkParams.period also. What may be the reason for this issue?
Please help to solve this.
Regards
Sandra