What is max interrupt frequency for K30

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What is max interrupt frequency for K30

603件の閲覧回数
burakduzgun
Contributor I

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

0 件の賞賛
3 返答(返信)

452件の閲覧回数
burakduzgun
Contributor I

Thanks for reply

0 件の賞賛

452件の閲覧回数
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 件の賞賛

452件の閲覧回数
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 件の賞賛