GPIO Input i.MX-RT1170 EVK

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

GPIO Input i.MX-RT1170 EVK

1,066 Views
vdc
Contributor I

Hi,

I'm try to set the GPIO_DISP_B2_12 as GPIO Input on the RT1170 EVK Board. But I can't make this happen. I try to make a push button using D2(GPIO_DISP_B2_12) / D3(GPIO_AD_04) on MIMXRT1170-EVK. But I can't set the pin as input and interrupt pin. 

Is there any I need to do? I set the pin as GPIO Input, Full-Up. 

Also, if I give 3.3v directly to the PIN using button. when I pressed the button. the MCU just freeze there until I release the button, the MCU run again.

 

 

0 Kudos
Reply
1 Reply

1,050 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @vdc ,

There is gpio_input_interrupt example in SDK. Did you follow this demo? These two pins are shared with other functions. You must exclude interfere of other function.

 

Regards,

Jing

0 Kudos
Reply