Timer Issue mqx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Timer Issue mqx

1,010件の閲覧回数
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 件の賞賛
返信
1 返信

964件の閲覧回数
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

タグ(1)
0 件の賞賛
返信