Edge capture on GPT for 51JM128

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

Edge capture on GPT for 51JM128

Jump to solution
574 Views
Cdn_aye
Senior Contributor I

I have read through all the posts on timers, but I am still not sure how to get MQX to call my interrupt handler on the edge capture of the timer port pin. Do I have to retrieve the interrupt vector from the kernel and somehow substitute my vector? This is what I have gleaned so far. There seems to be a specific sequence to this but I am not sure where this is documented. Can anyone point me to a simple example or book on how to have my ISR called. Under PE it was simple or under no RTOS it is simple but I don't understand the layers between MQX and the final destination vector. Thanks for any help.

0 Kudos
1 Solution
433 Views
DavidS
NXP Employee
NXP Employee
0 Kudos
2 Replies
434 Views
DavidS
NXP Employee
NXP Employee

Hi Cdn_aye,

Here are a couple previous posts that might help:

https://community.freescale.com/message/55207#55207

https://community.freescale.com/message/60070#60070

Regards,

David

0 Kudos
433 Views
Cdn_aye
Senior Contributor I

Hi David

 

Thank you for the references; I am working through this now. It is very close to what I need to do with the timers. Thank you.

 

Robert

0 Kudos