What is max interrupt frequency for K30

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What is max interrupt frequency for K30

599 次查看
burakduzgun
Contributor I

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

0 项奖励
3 回复数

448 次查看
burakduzgun
Contributor I

Thanks for reply

0 项奖励

448 次查看
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 项奖励

448 次查看
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 项奖励