Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

C6748 polling interrupt flag

$
0
0

hi e2e community..

im using LCDK 6748 and currently working on EHRPWM project..

my project required very fast of PWM period and need to update the pulse width on every period..

the EHRPWM will do event trigger when the counter reach TBPRD and set the interrupt flag..

i can do the updating by using interrupt , but it will increase the machine cycles very much during the interrupt service calling..

then i wonder if i can do the interrupt flag (IFR) polling without having the CPU to call the interrupt service..

i read in some document about the polling IFR flag, but it doesn't clear enough for me..

i have tried to do below experiment :

* enable global interrupt , disable individual interrupt -->  IFR flag doesn't set

* enable global interrupt , enable individual interrupt --> IFR flag does set on every CNT = TBPRD, but it will call for interrupt service routine..

is there a way to read the interrupt flag without executing the interrupt routine?

thank you


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>