Hi Everyone,
I want to use PTA1 gpio as an input pin and want the pin output to be 0. But by default it is high. It was used for LPSCI configuration and I have disabled it and used it as an input pin.
I have made sure, it used as a gpiopin and then used it as an input pin in the code. Could someone please advice why is pin high by default.
The schematic says ,the pin is used for UART1_TX which I have disabled it.
Here goes my piece of code.
PORT_HAL_SetMuxMode(PORTA,1u,kPortMuxAsGpio); and have used gpio river to set it as input pin.
Thanks and Regards
Jayanth BR
Solved! Go to Solution.
Hi Everyone,
I could figure out the reason. It is connected to the opensda mcu via usb chip and is pulled high. Will be closing the question.
Regards
Jayanth BR
Hi Everyone,
I could figure out the reason. It is connected to the opensda mcu via usb chip and is pulled high. Will be closing the question.
Regards
Jayanth BR