Internal Pull Up LPCXpresso 11C24

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Internal Pull Up LPCXpresso 11C24

630件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by f_acosta on Mon Apr 07 17:17:09 MST 2014
Hi, I'm trying to deactivate the internal pull-ups from my LPCXpresso but I change the bit in the IOCON register and nothing changes.
This is my method :

LPC_IOCON->PIO2_2 &= ~(1<<4);


the User manual says that you must clear the 3:4 bits to deactivate internall pull ups.

And completely this is how I configure the GPIO

LPC_GPIO2 -> &= ~(1 << 2)                         //Set as output
LPC_IOCON -> PIO2_2 &= ~(1<<4);            //Deactivate pull up

IOCON reset state is as GPIO and Pull up activated

What's wrong?

Thanks for your help.
0 件の賞賛
返信
1 返信

611件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 1234567890 on Mon Jun 09 00:24:23 MST 2014

Quote:

What's wrong?



Probably you didn't set bit 16 (IOCON) in SYSAHBCLKCTRL.
0 件の賞賛
返信