lwtimer callback function each 70us

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

lwtimer callback function each 70us

ソリューションへジャンプ
994件の閲覧回数
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 解決策
755件の閲覧回数
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 返信
756件の閲覧回数
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