IMXRT1050-EVK-- Configuring Pin as Input.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXRT1050-EVK-- Configuring Pin as Input.

1,030 Views
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.

Labels (1)
0 Kudos
4 Replies

927 Views
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 Kudos

927 Views
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 Kudos

927 Views
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.
-------------------------------------------------------------------------------

927 Views
nivassenrai
Contributor I

Hi Jere,

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

0 Kudos