KW41Z MCU how to generate interrupt handling

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

KW41Z MCU how to generate interrupt handling

124 次查看
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

标签 (1)
0 项奖励
1 回复

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