How to Enable Internal Pullup Resistors in KDS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to Enable Internal Pullup Resistors in KDS

跳至解决方案
4,980 次查看
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 解答
2,182 次查看
BlackNight
NXP Employee
NXP Employee
0 项奖励
回复
3 回复数
2,182 次查看
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 项奖励
回复
2,183 次查看
BlackNight
NXP Employee
NXP Employee
0 项奖励
回复
2,182 次查看
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 项奖励
回复