How to disable or power off a GPIO (GPIO_EMC_03)?

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

How to disable or power off a GPIO (GPIO_EMC_03)?

1,092 Views
BlackTurbo
Contributor III

Hi, I'm using RT1062 as a GUI processor, and my application requires a NAND flash connected to RT1062 and a C8051F uC in the same time. The strange thing is one of the 8 data lines, GPIO_EMC_03, can't work when I using C8051F to write/read the NAND flash, unless the RT1062 been powered off. Using ONOFF to force the RT1062 shutdown can also eliminate the error but it seems not a good idea. 

So I want to disable or power off this single GPIO (GPIO_EMC_03) from RT1062 code, how can I do that? I've tried to config the GPIO using PAD resister but without success.

Thanks. 

@jeremyzhou 

 

Labels (1)
0 Kudos
3 Replies

1,073 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

Unfortunately, is not possible to power off single GPIO pin in code, maybe you can add an external IC to do this in HW.

Best regards,

Felipe

0 Kudos

1,067 Views
BlackTurbo
Contributor III

Thanks.

Then is there a method to block a group of the GPIO not just the single one? I've also tried to config the issued GPIO as Hi-Z mode but it didn't work, I'm thinking maybe my configuration is not right, could you tell me how to make a GPIO Hi-Z for iMXRT1062?

0 Kudos

1,051 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

GPIO does not have Hi-Z mode, only open drain.

Regards,

Felipe

0 Kudos