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
Solved! Go to Solution.
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
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.
Hmmm. Init_GPIO is there, but it only seems to work with Port A and Port B.
~LMG
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
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