Internal Pull-Up Resistors on FRDM-KE02Z40M

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

Internal Pull-Up Resistors on FRDM-KE02Z40M

ソリューションへジャンプ
3,549件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 解決策
3,246件の閲覧回数
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

元の投稿で解決策を見る

4 返答(返信)
3,246件の閲覧回数
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.

3,246件の閲覧回数
lmg
Contributor III

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

~LMG

0 件の賞賛
返信
3,246件の閲覧回数
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 件の賞賛
返信
3,247件の閲覧回数
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