LPC5536 set UART pin as High Impedance

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

LPC5536 set UART pin as High Impedance

998 Views
Prak
Contributor I

Hi,

Can I check how to set the UART TX pin for LPC5536 as High Impedance? Disabling the interrupt is not sufficient, may need to set as High impedance.


Do I need to set as Input and open drain with no pull resistor?
Is this setting correct?

 GPIO_PinInit(GPIO, 0U, 30U, &led_config);
 GPIO_PinWrite(GPIO, 0U, 30U, 0); //Tx pin is 30

 

0 Kudos
Reply
2 Replies

972 Views
Prak
Contributor I

Hi, 
I tried to set the settings from Config tools but still the pin is not set to High Impedance.(Tx pin as disabled).

Prak_0-1669792613365.png

 

0 Kudos
Reply

990 Views
danielholala
Senior Contributor II

Why not configure this pin using Config Tools (i.e., Pins Tool). The tool will generate matching source code which you can use directly or compare to the code you came up with.

0 Kudos
Reply