K82F FRDM PORTD gpio Configuration

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

K82F FRDM PORTD gpio Configuration

1,659件の閲覧回数
vivek_kaushik
Contributor II

Hi 

I am configuring few pins as gpios for my K82F FRDM board.

I am able to successfully configure gpios and toggle them for PortA, PortB & PortC, but when I am trying to configure gpios of PortD I am getting error while executing, compilation is happening properly, no errors while compiling

I am getting error as below:

pastedImage_1.png

Kind Regards,

Vivek

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,578件の閲覧回数
vivek_kaushik
Contributor II

Hi Mark,

Thanks for the input.

Can you please point me to file where this needs to be enabled.

Kind Regards

Vivek

0 件の賞賛
返信

1,577件の閲覧回数
vivek_kaushik
Contributor II

Hi Mark,

The issue is resolved, I have used below to enable portd clock:

CLOCK_EnableClock(kCLOCK_PortD);

Thanks! for your support.

Kind Regards

Vivek

0 件の賞賛
返信

1,577件の閲覧回数
mjbcswitzerland
Specialist V

Hi

Most probably you haven't enabled clocks to port D (see SIM_SCGC5)

Regards

Mark

Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.html
Kinetis K82:
http://www.utasker.com/kinetis/FRDM-K82F.html

uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market

Request Free emergency remote desk-top consulting at http://www.utasker.com/services.html

Open Source version at https://github.com/uTasker/uTasker-Kinetis