KW41Z MCU how to generate interrupt handling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KW41Z MCU how to generate interrupt handling

96 Views
YJ99
Contributor II

Hi Community,

 

I am new in NXP processor and I am getting some knowledge, but it is hard to know how to make handling interrupt by GPIO. Here are questions.

I am using MCUXpresso and by the pin configure tool, I can set one of the GPIO as direction = Input, and I can set the GPIO interrupt (interrupt when logic one). However, I did breakpoint at 

PORTB_PORTC_DriverIRQHandler();

 

and once the GPIO is getting into the logical 1 (i made this pin to 1.8v).

I am not able to set the voltage initially and measured it 0V.

 

However, I never stopped at the breakpoint.

What is my problem? How can i make one GPIO pin to have EXTI Callback routine. Or

anyplace i would like to add my code based on the GPIO changes the value.

 

thanks,

YJ

Labels (1)
0 Kudos
1 Reply

48 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

 

Could you please help us with more information about your setup? Are you using a custom board? Or are you using the NXP Freedom development kit? Also, which example are you using ? Is it a Wireless connectivity one or is it one of the drivers? Also, could you please help us with the SDK version that you are using? 

 

Regards, 

 

 

0 Kudos