Timer Issue mqx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Timer Issue mqx

515 Views
MarcoBrischetto
Contributor I

Hi

I'm using MQX 4.2 on a twr_k70 and i have trouble with the timer. I need a timer which calls a function every 10 seconds, this function makes a task ready. The timer seems to work well if it is set to short time intervals (like 50ms or so). But when it is set to 10 seconds, the function is never called.

I attach the configuration code:  

_timer_id Timer;
Timer = _timer_start_periodic_every(flag, 0, TIMER_ELAPSED_TIME_MODE, 10000);

_time_delay_ticks(600);

thanks in advance!

0 Kudos
1 Reply

469 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Marco

Please refer to below link for how to use MQX timers.

https://community.nxp.com/t5/MQX-Software-Solutions-Knowledge/Using-the-MQX-timers/ta-p/1110647

 

Regards

Daniel

Tags (1)
0 Kudos