ENC (encoder) setting phase inputs with pullup on rt1050?

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

ENC (encoder) setting phase inputs with pullup on rt1050?

ソリューションへジャンプ
1,491件の閲覧回数
jackking
Senior Contributor I

I am trying to use inputs GPIO_B0_12 and GPIO_B0_13 as phase inputs to the ENC peripheral.

In the SDK samples the phase pins have pull-down set, but I am trying to use an encoder with common to GND, so I need pull-up enabled.  In the PIN CONFIG tool I have set pull-up for those pins, and I also tried using an external 10k pull-up resistor, but regardless it seems those pins have pull-down enabled.

Even just scoping the pin directly and using GPIO, I don't see the input pulled up...  On other pins I have successfully set pull-up, but GPIO_B0 pins seem to all be pulled down.

Here is my pin setup:

workspace_-_evkbimxrt1050_igpio_led_output_gpio6_source_gpio_led_output_c_-_MCUXpresso_IDE.png

Any help appreciated!

0 件の賞賛
1 解決策
1,279件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jack

you are right, in general if GPIO_B0 pins should be used later for other purposes one can use

isolation circuit described in sect.2.3 Bus isolation circuit i.MX6 System Development User’s Guide

https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,280件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jack

you are right, in general if GPIO_B0 pins should be used later for other purposes one can use

isolation circuit described in sect.2.3 Bus isolation circuit i.MX6 System Development User’s Guide

https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf

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

0 件の賞賛
1,279件の閲覧回数
jackking
Senior Contributor I

Well, a lot of the GPIO_B0 pins are used at boot time for BOOT_CFG, so they have external 10k pull-downs (on the EVK). 

So it doesn't look like you can use B0 as pull-up inputs while the fuses aren't set.

0 件の賞賛