P2.10 as GPIO not working?

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

P2.10 as GPIO not working?

692 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lumos on Fri May 31 16:10:29 MST 2013
Hello,
I am using LPC1769. I configured pin P2.10 as GPIO, but when board is connected to the application, code is running strangely and debugging is not possible. When I disconnected pin P2.10 only, everything works fine. I tried repeat connection/disconnection of P2.10 and still with same result (connected=NOK, disconnected=OK). Do you know what can be the reason of such behavior? Pin P2.10 is physically connected to base of the bipolar NPN transistor.
Thank you.
0 Kudos
Reply
3 Replies

678 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue May 20 01:38:04 MST 2014

Quote: Lumos
Or is there a way how to use this pin as GPIO without restrictions?


Use a pull-up :)
0 Kudos
Reply

678 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lumos on Sat Jun 01 12:07:59 MST 2013
Hello,
R2D2, thank you for good answer.
So it looks like I cannot use pin P2.10 as discrete output in my case. Or is there a way how to use this pin as GPIO without restrictions?
0 Kudos
Reply

678 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Fri May 31 16:46:32 MST 2013

Quote: Lumos
Do you know what can be the reason of such behavior? Pin P2.10 is physically connected to base of the bipolar NPN transistor.
 



Yes, and it's time that you learn it, too.

P2.10 is the ISP pin, which you are successfully grounding with BE of your BJT :)

Then you are starting in ISP mode. See: http://www.support.code-red-tech.com/CodeRedWiki/DebugAccessChip?highlight=%28isp%29
0 Kudos
Reply