lwtimer callback function each 70us

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

lwtimer callback function each 70us

跳至解决方案
989 次查看
Garil
Contributor III

Hi all

it is possible to have a callback function called each 70us interval with the lwtimer or using some others mqx timers ?

if yes, which are the configuration to make in order to arrive at that  result, i was thinking to change the Bsp time resolution from 200 to 1000(maximum) which is only one ms for the periodic timer ????

can some please advise/help me

thx in advance

Wilson

1 解答
750 次查看
BielikM
Contributor III

Hi wilson,

New release 4.0.1 of MQX is coming with a new timer driver called hwtimer. This driver supports PIT timer and Systick and it is available only for kinetis platforms.

But for your required time 70us there is big overhead inside OS. You should create your own minimalism driver (PIT for example) with interrupt routine out off MQX.

Regards,

Bielik Martin

在原帖中查看解决方案

1 回复
751 次查看
BielikM
Contributor III

Hi wilson,

New release 4.0.1 of MQX is coming with a new timer driver called hwtimer. This driver supports PIT timer and Systick and it is available only for kinetis platforms.

But for your required time 70us there is big overhead inside OS. You should create your own minimalism driver (PIT for example) with interrupt routine out off MQX.

Regards,

Bielik Martin