GPIO input voltage level

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

GPIO input voltage level

ソリューションへジャンプ
1,433件の閲覧回数
masahirokiniwa
Contributor IV

I'm considering to use the GPIO of LPC802 as a comparator.
Can I input continuous midpoint potential to it?

In the data sheet, LPC802 supports 0V to 3.6V.
But I couldn't see the availability to input it.

Best regards,
M.Kiniwa

ラベル(1)
1 解決策
1,189件の閲覧回数
ianbenton
Senior Contributor I

Yes, it won't do any harm. Is just a standard CMOS input, like any other 74HC gate.

Two things to watch out for:

1) it will increase the supply current, maybe as much as a milliamp. So don't do this if really low power is important.

2) the processor may read it as a ONE, it may read it as a ZERO. ANd how it reads it on your prototype won't predict how it will read it on a production run.

元の投稿で解決策を見る

5 返答(返信)
1,189件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hi M.Kiniwa, 

The answer that Ian Benton gave is correct. You wont have any problem if you supply any voltage (that is within the allowed values) continuously. 

Hope it helps! 

Victor.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,189件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hello M.Kiniwa,

Do you want to know the input voltage supported? If so, please refer the data sheet of the LPC802 (Data sheet.pdf) In chapter 10 table 9 you will fin the limiting values.

pastedImage_2.png

Hope it helps! 

Victor.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,189件の閲覧回数
masahirokiniwa
Contributor IV

Hi Victor,

Thank you for your reply.

I care when I continue to input midpoint like 1.5V, can LPC operate correctly and doesn't get damage?

I think that midpoint potential is in limiting values, so LPC can operate correctly. But normally GPIOs are input continuously high or low level.

I'd like to confirm that LPC allow my usage as above.

Best regards,

M.Kiniwa

0 件の賞賛
返信
1,190件の閲覧回数
ianbenton
Senior Contributor I

Yes, it won't do any harm. Is just a standard CMOS input, like any other 74HC gate.

Two things to watch out for:

1) it will increase the supply current, maybe as much as a milliamp. So don't do this if really low power is important.

2) the processor may read it as a ONE, it may read it as a ZERO. ANd how it reads it on your prototype won't predict how it will read it on a production run.

1,189件の閲覧回数
ianbenton
Senior Contributor I

You mean using the GPIO itself rather than a comparator?

There would be two problems.

1) Biassing a digital input to a voltage midway between the supplies will make it draw supply current. Could be as much as a mA or two.

2) The guaranteed logic thresholds are 1V and 2V; so at 1.5V it could read your input as a 1 and it could read it as a 0, depending where the threshold on your particular device is. It will function as a comparator, but you never know quite where the threshold will be, other than it will be SOMEWHERE between 1V and 2V.

0 件の賞賛
返信