Interrupt frequency determination

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

Interrupt frequency determination

1,437件の閲覧回数
soaring_sun
Contributor III

Hi,

I wanted to know how:

1. I will be able to set a GPIO interrupt lets say PORTE and determine at what frequency it runs. 

2. How to determine at what frequency an interrupt from the compare module runs? Where should I be giving the interrupt timing interval?

3. PendSV interrupt frequency determination?

Regards

0 件の賞賛
返信
1 返信

1,416件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

Hope you are well. I will gladly help you with this.
You can determine the frequency of a signal with the FTM module. You can find an example of it at AN5142 under chapter 3.8 https://www.nxp.com/docs/en/application-note/AN5142.pdf
You can add a timer into the interruption handler to determine the period but I suggest using the FTM method to determine the frequency of a signal.

The PendSV is commonly used in RTOS applications and is used for context switch, the interruption is given by the SysTick.

Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar

0 件の賞賛
返信