lpc804 pull up resistor value

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

lpc804 pull up resistor value

ソリューションへジャンプ
2,996件の閲覧回数
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,887件の閲覧回数
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.

元の投稿で解決策を見る

5 返答(返信)
1,950件の閲覧回数
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 件の賞賛
返信
449件の閲覧回数
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 件の賞賛
返信
380件の閲覧回数
kangsenlu
Contributor I
After some more investigation, I found that we must turn on clock to the IOCON subsystem. Otherwise, the chip will NOT automatically set the IOCON register to the default value of 0xb0.
0 件の賞賛
返信
2,888件の閲覧回数
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,887件の閲覧回数
yarzartunaung
Contributor I

thanks Ricardo... 

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-887968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Elpc804%20%E3%83%97%E3%83%AB%E3%82%A2%E3%83%83%E3%83%97%E6%8A%B5%E6%8A%97%E5%80%A4%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Elpc804%20%E3%81%AE%E5%86%85%E9%83%A8%E3%83%97%E3%83%AB%E3%82%A2%E3%83%83%E3%83%97%E3%81%8A%E3%82%88%E3%81%B3%E3%83%97%E3%83%AB%E3%83%80%E3%82%A6%E3%83%B3%E6%8A%B5%E6%8A%97%E3%81%AE%E5%80%A4%E3%82%92%E6%95%99%E3%81%88%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%3F%20%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-887968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC800%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176767%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20lpc804%20pull%20up%20resistor%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176767%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E3%81%95%E3%82%89%E3%81%AB%E8%AA%BF%E6%9F%BB%E3%82%92%E9%80%B2%E3%82%81%E3%81%9F%E3%81%A8%E3%81%93%E3%82%8D%E3%80%81IOCON%20%E3%82%B5%E3%83%96%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%81%B8%E3%81%AE%E3%82%AF%E3%83%AD%E3%83%83%E3%82%AF%E3%82%92%E3%82%AA%E3%83%B3%E3%81%AB%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8B%E3%81%93%E3%81%A8%E3%81%8C%E3%82%8F%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%9D%E3%81%86%E3%81%A7%E3%81%AA%E3%81%84%E5%A0%B4%E5%90%88%E3%80%81%E3%83%81%E3%83%83%E3%83%97%E3%81%AF%20IOCON%20%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF%E3%82%92%E3%83%87%E3%83%95%E3%82%A9%E3%83%AB%E3%83%88%E5%80%A4%E3%81%AE%200xb0%20%E3%81%AB%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2174487%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20lpc804%20pull%20up%20resistor%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2174487%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIOCON%20%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF%E3%82%92%E6%A7%8B%E6%88%90%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%80%81%E3%81%BE%E3%81%9A%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B%20IOCON%20%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF%E3%81%AE%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%82%92%E8%A6%8B%E3%81%A4%E3%81%91%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%97%E3%81%9F%E3%82%89%E3%80%81%E3%80%8C*addr%20%3D%20value%3B%E3%80%8D%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E3%81%A0%E3%81%91%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AB%E5%A4%89%E6%9B%B4%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E6%9C%80%E5%88%9D%E3%81%AB%E3%80%8CLPC_SYSCON-%26gt%3BSYSAHBCLKCTRL0%20%7C%3D%20(UART0%20%7C%20SWM%20%7C%20GPIO%20%7C%20IOCON)%3B%E3%80%8D%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%20IOCON%20%E3%82%B5%E3%83%96%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%81%B8%E3%81%AE%E3%82%AF%E3%83%AD%E3%83%83%E3%82%AF%E3%82%92%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%20%E3%82%AC%E3%82%A4%E3%83%89%E3%81%AB%E3%81%AF%20IOCON%20%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E5%80%A4%E3%81%8C%200xb0%E3%80%81%E3%81%A4%E3%81%BE%E3%82%8A%E3%83%97%E3%83%AB%E3%82%A2%E3%83%83%E3%83%97%E6%8A%B5%E6%8A%97%E3%81%8C%E6%9C%89%E5%8A%B9%E3%81%A7%E3%81%82%E3%82%8B%E3%81%A8%E8%A8%98%E8%BC%89%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E3%81%9D%E3%81%AE%E3%81%93%E3%81%A8%E3%81%AB%E6%B0%97%E4%BB%98%E3%81%8D%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E7%A7%81%E8%87%AA%E8%BA%AB%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%A7%E3%81%AF%E3%80%81IOCON%20%E5%80%A4%E3%81%8C%200%20%E3%81%AB%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%81%95%E3%82%8C%E3%81%9F%E3%81%93%E3%81%A8%E3%81%8C%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82SO%E3%80%81%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%9D%E3%81%AE%20IOCON%20%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF%E3%82%92%E6%89%8B%E5%8B%95%E3%81%A7%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1748864%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20lpc804%20pull%20up%20resistor%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1748864%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIOCON%20%E3%83%AC%E3%82%B8%E3%82%B9%E3%82%BF%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%81%A8%E3%80%81lpc804%20%E3%81%AE%20pio0-7%20%E3%81%AE%E3%83%97%E3%83%AB%E3%83%80%E3%82%A6%E3%83%B3%E3%82%92%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%82%92%E6%95%99%E3%81%88%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%E4%BE%8B%E3%82%92%E6%8C%99%E3%81%92%E3%82%8B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887970%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20lpc804%20pull%20up%20resistor%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887970%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%80%81%E3%83%AA%E3%82%AB%E3%83%AB%E3%83%89...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887969%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20lpc804%20pull%20up%20resistor%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887969%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E3%83%97%E3%83%AB%E3%82%A2%E3%83%83%E3%83%97%E3%81%A8%E3%83%97%E3%83%AB%E3%83%80%E3%82%A6%E3%83%B3%E3%81%AF%E5%8F%97%E5%8B%95%E6%8A%B5%E6%8A%97%E3%81%A7%E3%81%AF%E3%81%AA%E3%81%8F%E8%83%BD%E5%8B%95%E9%9B%BB%E6%B5%81%E6%BA%90%E3%81%A7%E3%81%99%EF%BC%88%3CSPAN%3E%E6%9C%89%E5%8A%B9%E6%99%82%E3%81%AB%E9%80%9A%E5%B8%B8%E7%B4%8450%C2%B5A%E3%82%92%E4%BE%9B%E7%B5%A6%E3%81%97%E3%81%BE%E3%81%99%3C%2FSPAN%3E%EF%BC%89%E3%80%82%E3%81%9D%E3%81%AE%E3%81%9F%E3%82%81%E3%80%81%E6%AD%A3%E7%A2%BA%E3%81%AA%E5%80%A4%E3%81%AF%E8%A8%AD%E5%AE%9A%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%3C%2FSPAN%3E%3CSPAN%3E%E3%80%82LPC804%E3%83%87%E3%83%BC%E3%82%BF%E3%82%B7%E3%83%BC%E3%83%88%EF%BC%8848%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%AE%E8%A1%A814%E3%81%AB%E3%81%82%E3%82%8B%E9%9B%BB%E6%B0%97%E3%83%94%E3%83%B3%E7%89%B9%E6%80%A7%EF%BC%89%E3%81%AE%E3%80%8CIpu%E3%80%8D%2F%E3%80%8CIpd%E3%80%8D%E3%81%8A%E3%82%88%E3%81%B3%E3%80%8CVi%E3%80%8D%E7%89%B9%E6%80%A7%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%20style%3D%22width%3A%20699px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F73421iA433B62A448CBAD3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_1.png%22%20alt%3D%22pastedImage_1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESO%E3%80%81%E3%81%9F%E3%81%A8%E3%81%88%E3%81%B0%E3%80%81%E3%83%97%E3%83%AB%E3%83%80%E3%82%A6%E3%83%B3%E6%99%82%E3%81%AE%E3%83%94%E3%83%B3%E3%81%AE%E6%A8%99%E6%BA%96%E7%9A%84%E3%81%AA%20Vi%20%E3%81%8C%205V%20%E3%81%AE%E5%A0%B4%E5%90%88%E3%80%81%E9%9B%BB%E6%B5%81%E3%81%AF%2050%C2%B5A%20%E3%81%A8%E3%81%AA%E3%82%8A%E3%80%81%E5%86%85%E9%83%A8%E6%8A%B5%E6%8A%97%E5%80%A4%E3%81%AF%20100%20K%CE%A9%20%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E3%81%93%E3%81%AE%E6%83%85%E5%A0%B1%E3%81%8C%E3%81%8A%E5%BD%B9%E3%81%AB%E7%AB%8B%E3%81%A6%E3%81%B0%E5%B9%B8%E3%81%84%E3%81%A7%E3%81%99%E3%80%82%E3%81%95%E3%82%89%E3%81%AB%E7%96%91%E5%95%8F%E3%81%8C%E3%81%82%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AF%E3%81%8A%E6%B0%97%E8%BB%BD%E3%81%AB%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E3%83%AA%E3%82%AB%E3%83%AB%E3%83%89%E3%83%BB%E3%83%87%E3%83%AB%E3%82%BD%E3%83%AB%E3%83%89%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E