lwtimer callback function each 70us

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

lwtimer callback function each 70us

Jump to solution
999 Views
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 Solution
760 Views
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

View solution in original post

1 Reply
761 Views
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