EC200U OpenCPU RTOS current Tick count issue

Hi,

I am using the EC200U-CN LTE module EVK board. When I call ql_rtos_get_system_tick() every second to read the current RTOS tick value, I expect the tick difference to be 1000 for each one-second interval. However, I am consistently getting a difference of only about 50. Even after setting CONFIG_KERNEL_TICK_HZ to 1000, I am still not getting 1000 counts per second. What changes should I make to get 1000 ticks for every 1-second interval?

Hi,@Swetha_E
Could you please tell me your specific testing steps? I’ll conduct local verification. Thanks.

Hi, @leon.bao

I am simply trying to print the current tick count for every 1 second. I shared the code snippet below for your observation,

Snippet:
while(1)
{
QL_RTCDEMO_LOG(“Current time: %d”,ql_rtos_get_system_tick());
ql_rtos_task_sleep_ms(1000);
}

Output:
Current time: 1150
Current time: 1200
Current time: 1250
Current time: 1300
Current time: 1350

Hi,@Swetha_E
After confirmation with the R&D , the clock tick number of this RTOS system cannot be changed, otherwise it will affect the stability of the system.