PORTA question - frdm-kl26z

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

PORTA question - frdm-kl26z

Jump to solution
684 Views
jayanthvasisht
Contributor II

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

Labels (1)
0 Kudos
Reply
1 Solution
612 Views
jayanthvasisht
Contributor II

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

View solution in original post

0 Kudos
Reply
1 Reply
613 Views
jayanthvasisht
Contributor II

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

0 Kudos
Reply