Hi,
I need help on my project.
I want to generate an interrupt on the GPIO1_IO01 of the cortex M7 of my IMX8MP from a raising edge external signal. The problem I have is that the interrupt routine runs endlessly even when there is no signal at the pin of my custom board. As soon as I start my M7 core, the interrupt routine starts running and keeps running. I have tried all possible to stop it but it just keep running.
I am using the SDK_2_13_0_MIMX8ML8xxxLZ SDK kit.
I have checked that the pin is working with the M7 core by toggling the pin and it works just well as I can toogle an LED on the pin.
I have look at the fourmn if I can get a solution but there is none. Also there are not GPIO interrupt examples in the SDK.
The problem looks similar to this below:
https://community.nxp.com/t5/i-MX-Processors/Guide-on-MXRT1050-1052-Interrupt/td-p/1066249
I also studied this:-
https://community.nxp.com/t5/i-MX-Processors/Cortex-M7-NVIC-in-PIMX8ML8DVNLZAB/td-p/1720466
But I can not get the interrupt to function properly.
What can be missing? or am I meant to do more configuations?
I have enclose my two main files for you to check for me.
Thanks
Solved! Go to Solution.
Hi,
Thanks for the reply.
I have found the cause of the problem. The printf statement in the interrupt routine was the cause. After removing it, it works just fine.
Thanks.
Hi,
Thanks for the reply.
I have found the cause of the problem. The printf statement in the interrupt routine was the cause. After removing it, it works just fine.
Thanks.
Hi @ababatola
Dhruvit
Hi @ababatola,