Enabling pull resistors in KDS 3.2.0

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

Enabling pull resistors in KDS 3.2.0

ソリューションへジャンプ
634件の閲覧回数
blsousan
Contributor III

I can't find where one can identify the pull direction (pull-up or poll-down) within the KDS.  I need to add some pull-up resistors to a few GPIO inputs.  I see where I can add component Init_GPIO and in there identify which pin to initialize with a pull resistor but can't  find which direction (up or down).  Also its a bit confusing that the pin numbers are not the same as the chip pin numbers so I had to click on a few to figure out the mapping (this is a bit clunky if this is the normal operation)

Bill

0 件の賞賛
返信
1 解決策
537件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Bill Sousan:

Thank you for using our community.

Please always mention the device you are using, so we can provide accurate answers.

If you are talking about the KE02 as in your other post ​then this device only has internal pull-ups, not pull-downs, so that is why you cannot choose a direction in the Init_GPIO component.

About pin names, the KE02 has a pair of 32-bit registers called GPIOA and GPIOB wrapping 8-bit port pins. See below from the reference manual:

KE02_GPIO.png

I hope this clarifies.

Best regards,

Jorge Gonzalez

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
538件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Bill Sousan:

Thank you for using our community.

Please always mention the device you are using, so we can provide accurate answers.

If you are talking about the KE02 as in your other post ​then this device only has internal pull-ups, not pull-downs, so that is why you cannot choose a direction in the Init_GPIO component.

About pin names, the KE02 has a pair of 32-bit registers called GPIOA and GPIOB wrapping 8-bit port pins. See below from the reference manual:

KE02_GPIO.png

I hope this clarifies.

Best regards,

Jorge Gonzalez

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

0 件の賞賛
返信