lpc804 pull up resistor value

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

lpc804 pull up resistor value

ソリューションへジャンプ
2,585件の閲覧回数
yarzartunaung
Contributor I

hello,

could u advise what the value of internal pull up and pull down resistor value for lpc804 is? thanks!

ラベル(1)
1 解決策
2,476件の閲覧回数
nxf51211
NXP Employee
NXP Employee

Hi,

The pull-up and pull-down are not passive resistors but active current sources (they typically deliver around 50µA when enabled) that is why there is not a precise value for them. Please refer to the "Ipu"/"Ipd" and "Vi" characteristics in the LPC804 data sheet (Electrical pin characteristics, located at the Table 14, page 48):

pastedImage_1.png

So for example, if a pin at pull-down has a typical Vi of 5V, the current would be of 50µA and therefore the internal resistor value would be of 100 KOhms.

I hope this information can help you, and please ask if you have any more doubts.

Ricardo Delsordo.

元の投稿で解決策を見る

4 返答(返信)
1,539件の閲覧回数
BerlinRaj
Contributor II

how to configure the IOCON register and how to enable the pull down in pio0-7 in  lpc804? give the example

0 件の賞賛
返信
38件の閲覧回数
kangsenlu
Contributor I
To configure the IOCON register, you must first find the address of the IOCON register you are modifying. After you have the address, it is simple to simply use "*addr = value;" to change it.
However, you must first enable clock to the IOCON subsystem with "LPC_SYSCON->SYSAHBCLKCTRL0 |= (UART0 | SWM | GPIO | IOCON);".
I have noticed that although the user guide says the IOCON reset value is 0xb0, i.e. pull-up resistor enabled. But my own debugging indicates that IOCON value was reset to 0. So I have to manually set that IOCON register with my code.
0 件の賞賛
返信
2,477件の閲覧回数
nxf51211
NXP Employee
NXP Employee

Hi,

The pull-up and pull-down are not passive resistors but active current sources (they typically deliver around 50µA when enabled) that is why there is not a precise value for them. Please refer to the "Ipu"/"Ipd" and "Vi" characteristics in the LPC804 data sheet (Electrical pin characteristics, located at the Table 14, page 48):

pastedImage_1.png

So for example, if a pin at pull-down has a typical Vi of 5V, the current would be of 50µA and therefore the internal resistor value would be of 100 KOhms.

I hope this information can help you, and please ask if you have any more doubts.

Ricardo Delsordo.

2,476件の閲覧回数
yarzartunaung
Contributor I

thanks Ricardo... 

0 件の賞賛
返信