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
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