How to Enable Internal Pullup Resistors in KDS

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

How to Enable Internal Pullup Resistors in KDS

ソリューションへジャンプ
4,495件の閲覧回数
nicksaulnier
Contributor I

Hello everyone!

 

I am using the KDS to program a FRDM-KL25Z board. Table 10.2 of the KL25Z Reference Manual indicates that all GPIO pins can be configured so that Pull Enable = 1 (i.e., an internal pullup resistor is enabled on the corresponding pin). How do I set Pull Enable on the KL25Z in the KDS?

 

Thank you,

 

Nick

ラベル(1)
0 件の賞賛
1 解決策
1,697件の閲覧回数
BlackNight
NXP Employee
NXP Employee
0 件の賞賛
3 返答(返信)
1,697件の閲覧回数
nicksaulnier
Contributor I

The necessary Pin Control Register n (PORTx_PCRn) to enable pullup resistors (11.5.1 in KL25Z Reference Manual) does not seem to be accessible through the Processor Expert configuration registers view.

0 件の賞賛
1,698件の閲覧回数
BlackNight
NXP Employee
NXP Employee
0 件の賞賛
1,697件の閲覧回数
nicksaulnier
Contributor I

The Processor Expert PinSettings component which will set these bits for other MCUs does not seem to be supported for the KL25Z.

0 件の賞賛