LPC5536 set UART pin as High Impedance

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC5536 set UART pin as High Impedance

997 次查看
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 回复数

971 次查看
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 项奖励
回复

989 次查看
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 项奖励
回复