how to schedule tasks from ISR?

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

how to schedule tasks from ISR?

580 Views
Abil
Contributor II

hi,

Am working on FRDMk64f board with code warrior 10.6 and MQX 4.2.RTOS....can anyone suggest how to schedule tasks from ISR....am using HARDWARE interrupts and i want to schedule my task which is Priority based pre-empative scheduling..:smileyconfused:

0 Kudos
2 Replies

432 Views
soledad
NXP Employee
NXP Employee

Hi,

Please check the below threads and please let me know if this helps!!

K60 and MQX installed ISR not called, why?

MQX application ISR help

How to Install New Hardware Intrerrupts in MQX

Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

432 Views
Abil
Contributor II

thanks soledad.........actually am using hardware interrupt and based on

that i want to schedule my task....my task is getting ready and active

twice (second task in the code)...and after that it gets terminated or

destroyed...i have not called taskdestroy() anywhere in my program...i am

attaching my code could u suggest wat i wrong ? and how to make it in

continuous executed depending on hardware interrupt..

On Thu, Dec 3, 2015 at 2:39 AM, soledad <admin@community.freescale.com>

0 Kudos