GPIO Pull UP

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

GPIO Pull UP

2,234 Views
lyk
Contributor I

Hello

     I have a question about MPC5744P, I set PA[0] as GPIO like this:

     Output and input enable, Pull enable  and pull up,

     but in fact PA[0] is in low leavel state, why?

0 Kudos
Reply
2 Replies

1,997 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

this behavior is correct. If you enable output buffer, level of the pin is controller by GPDO register which is 0 by default. And because the pull up resistor is weak, pin stays in low state.  

If you enable input buffer only and enable pull up, pin will be switched to high state.

Hope it helps.

Regards,

Martin

0 Kudos
Reply

1,997 Views
lyk
Contributor I

Thank you!

0 Kudos
Reply