LPC1227 pull-up resistor set

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

LPC1227 pull-up resistor set

565 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drvrh on Mon Jul 20 22:07:49 MST 2015
Hello,

I would like set pull-up resistor for LPC1227 but I cannot. With IOCONFIG or how?

IN 17xx series I set:

LPC_PINCON -> PINMODE0 |= dir << bitPosi;
Labels (1)
0 Kudos
2 Replies

492 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fjrg76 on Tue Jul 28 22:18:55 MST 2015
Hi Grega

I've already answered your question in

https://fjrg76.wordpress.com/2015/03/03/setting-up-gpios-for-the-lpc1227/

Hope it helps
0 Kudos

492 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd herd on Tue Jul 21 10:43:00 MST 2015
Hi drvrh,

To enable the internal pull-up resistor on a specific pin, make sure the pin you are interested in has an internal pull up (check UM, chapter 6), and that you are modifying the correct bit. For instance, if you want to enable the pull up on PIO0_4, you need to set bit 4, for that pin's specific register.

http://www.nxp.com/documents/user_manual/UM10441.pdf
0 Kudos