LPC5536 set UART pin as High Impedance

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

LPC5536 set UART pin as High Impedance

1,048件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

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

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