Open drain output pin on KL25Z?

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

Open drain output pin on KL25Z?

ソリューションへジャンプ
1,408件の閲覧回数
markosiponen
Contributor III

How should I do to set a GPIO output pin as open drain?

There seems to be no option for that?

Or should I set the GPIO as input when I want to set the pin high and set the GPIO as low output when I want to set the pin low?

0 件の賞賛
返信
1 解決策
1,015件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

Hi, Markosiponen

First, KL series has not open drain control register.

Then I think your solution is OK.  One reminder is attention to pull-up resistor value selection.

Best Regards

Paul


元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,016件の閲覧回数
Paul_Tian
NXP Employee
NXP Employee

Hi, Markosiponen

First, KL series has not open drain control register.

Then I think your solution is OK.  One reminder is attention to pull-up resistor value selection.

Best Regards

Paul


0 件の賞賛
返信