Internal Pull-Up Resistors on FRDM-KE02Z40M

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

Internal Pull-Up Resistors on FRDM-KE02Z40M

Jump to solution
1,077 Views
lmg
Contributor III

I'm using KDS 3.1.0 with a FRDM-KE02Z40M board.

 

I'd like to add a switch input to PTG3 and I'd like to use the internal pull-up resistor. I used the component BitIO_LDD.

 

I don't see anywhere to enable the pull-up resistor for this pin.

 

Can anyone help please?

 

Thanks.

 

~LMG

Labels (1)
0 Kudos
1 Solution
774 Views
BlackNight
NXP Employee
NXP Employee

I have not checked it for the KE02, but this should work for it as well:

Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse

Basically, you need to add the Init_GPIO component to the project, and there you could configure the eletrical settings.

I hope this helps,

Erich

View solution in original post

4 Replies
774 Views
lmg
Contributor III

Ok. There are two "groups" of GPIO pins labeled GPIOA and GPIOB. But within those groups are pins from several ports. You just have to search through until you find the right one.

PTG3 (the one I'm using) is "Pin 19" of GPIOB. Note: "Pin 19" has nothing to do with the hardware pin on the microcontroller. It is merely the designation within the Init_GPIO component.

774 Views
lmg
Contributor III

Hmmm. Init_GPIO is there, but it only seems to work with Port A and Port B.

~LMG

0 Kudos
774 Views
lmg
Contributor III

I'm using the FRDM-KE02Z40M board, which has a Kinetis KE02Z family processor.

I also forgot to mention that I'm using Processor Expert, but not SDK.

~LMG

0 Kudos
775 Views
BlackNight
NXP Employee
NXP Employee

I have not checked it for the KE02, but this should work for it as well:

Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse

Basically, you need to add the Init_GPIO component to the project, and there you could configure the eletrical settings.

I hope this helps,

Erich