What is max interrupt frequency for K30

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

What is max interrupt frequency for K30

573 Views
burakduzgun
Contributor I

For Exp: Can K30 handle about 200kHz(other hand every 5us) PIT interrupt?

0 Kudos
3 Replies

422 Views
burakduzgun
Contributor I

Thanks for reply

0 Kudos

422 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Burak,

K30 PIT clock source is the BUS clock which can be set to the max value 50M. And there is no restriction for PITx_LDVALn. So it can generate interrupt in a very high frequency.

The only problem of high interrupt frequency is whether the MCU has enough time to deal with so much interrupt. If not, interrupt will be pending and then lost.

thanks

Jing

0 Kudos

422 Views
egoodii
Senior Contributor III

So thus assuming a 100MHz core-clock, 5us encompasses 500 instruction cycles.  ASSUMING a 'couple dozen' clocks are consumed by interrupt hardware processes, that still leaves a 'fair number' of clocks for a 'lean' interrupt handler and 'leftovers' for the rest of the work to be done...   200KHz is certainly 'not unreasonable' to handle.

0 Kudos