IMXRT1050-EVK-- Configuring Pin as Input.

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

IMXRT1050-EVK-- Configuring Pin as Input.

973件の閲覧回数
nivassenrai
Contributor I

I have Configured GPIO 1 Pin 2 as I/P and the pin is working fine.

Current Behavior

User Input   

Pin value

0

0

1

1

No-Input

1

But problem lies hear. when I'm not giving any I/P .Pin is in state 1.

I have tried configuring the IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B0_02 Register with Open Drain Bit Enabled, but still I am facing Problem.

I need my PIN to behave like below table.

User Input   

Pin value

0

0

1

1

No-Input

0

Can anyone help me on this.

ラベル(1)
0 件の賞賛
4 返答(返信)

870件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Nivas Bathirappan,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Actually, I'm not very clear with your question, whether you want to the input value will be 0 when the input GPIO is floating.
If yes, I'm afraid that the GPIO doesn't support this feature, as the input buffer's keeper is always enabled for all the pads, in another word, the pad will hold the previous the input value.

pastedImage_1.png

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛

870件の閲覧回数
nivassenrai
Contributor I

jeremyzhou

To make my question Precise.

I'm using IMXRT1050 EVK Board.

I have configured a GPIO PIN as Input with Open Drain Enabled

I need to know what will be the PIN state if I'm not giving any Input??

What I need 

---> I need my PIN to behave like , If I give 3.3 V It should be in '1'. If I give 0 Volt It should be in'0'. If  I don't give any Input It should be in '0'.

--> But I have noticed is 

If I give 3.3 V It should be in '1'. If I give 0 Volt It should be in'0'. If  I don't give any Input It is in '1'.

Hope this may gives you what I need . I have tried all Possible register Configuration.

pastedImage_6.png

If you have any solution Please help me on this.

0 件の賞賛

870件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Nivas Bathirappan,

Thanks for your reply.
In the GPIO module, it exists a wake pull-up resistor which assures the
input GPIO state is stuck high when the input GPIO is floating, otherwise, it will be interfered by noise.
So the RT050 can't satisfy your requirement.
Hope this is clear.

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

870件の閲覧回数
nivassenrai
Contributor I

Hi Jere,

Hope this have gave me a clarity. Thanks for your reply.

0 件の賞賛