GPIO Port1 lpc1789

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

GPIO Port1 lpc1789

811 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xpresso_1768 on Fri Jul 01 04:51:03 MST 2011
Hello,

I am trying to get IO- Port P1.14-P1.20 and P1.10 as GPIO to work. Everything works fine except P1.14 and P1.10. Here is my Code:
LPC_GPIO1->FIODIR = 0x1fc400;
LPC_GPIO1->FIOSET = 0x1fc400;


Do I need external pull-ups for this two Ports or what is my problem?

Thanks in advance!

Oliver
0 Kudos
Reply
2 Replies

771 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xpresso_1768 on Fri Jul 01 05:47:44 MST 2011
Yes I checked all of these registers... They are all good!

But  I saw that port1.14 and port1.10 is connected to a LAN controller on the xpresso board. The code I am writing is not for the xpresso board. I am just debugging on it.  Thanks for helping me!
Regards,
Oliver
0 Kudos
Reply

771 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Jul 01 05:07:29 MST 2011
Which function is selected in PINSEL2 register for this pins?

What about your FIO2MASK register?

Is there anything connected to this pins?

Did you debug these registers already?
0 Kudos
Reply