KW41Z MCU how to generate interrupt handling

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

KW41Z MCU how to generate interrupt handling

839件の閲覧回数
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 返信

791件の閲覧回数
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 件の賞賛
返信