How to Enable Internal Pullup Resistors in KDS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Enable Internal Pullup Resistors in KDS

Jump to solution
4,448 Views
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

Labels (1)
0 Kudos
1 Solution
1,650 Views
BlackNight
NXP Employee
NXP Employee
0 Kudos
3 Replies
1,650 Views
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 Kudos
1,651 Views
BlackNight
NXP Employee
NXP Employee
0 Kudos
1,650 Views
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 Kudos