I use K60 144pin, Can I use 38pin into outport?

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

I use K60 144pin, Can I use 38pin into outport?

ソリューションへジャンプ
586件の閲覧回数
kwonym
Contributor II

I use K60, 144pin.

Can I use gpio between 23~35pin?

If it is possible, how do that?

0 件の賞賛
1 解決策
493件の閲覧回数
perlam_i_au
Senior Contributor I

This depend of the specific part number from the K60 family you are using, for example if you are using MK60DN256VLQ10 you will see on the pin out of this device that pins 23 to 35 (and others) does not have a GPIO function assigned to them (something like PTxn, where x is a letter and n a is a number).

When you want to use a GPIO you have to make sure in which pin is assigned, normally when a pin has an GPIO associated function this will be the default option, otherwise you need to select on the PORTx_PCRn register for the pin the ALT option you want to use.


Have a nice day,
Perla Moncada

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
1 返信
494件の閲覧回数
perlam_i_au
Senior Contributor I

This depend of the specific part number from the K60 family you are using, for example if you are using MK60DN256VLQ10 you will see on the pin out of this device that pins 23 to 35 (and others) does not have a GPIO function assigned to them (something like PTxn, where x is a letter and n a is a number).

When you want to use a GPIO you have to make sure in which pin is assigned, normally when a pin has an GPIO associated function this will be the default option, otherwise you need to select on the PORTx_PCRn register for the pin the ALT option you want to use.


Have a nice day,
Perla Moncada

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛