K82F FRDM PORTD gpio Configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K82F FRDM PORTD gpio Configuration

1,635 次查看
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,554 次查看
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,553 次查看
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,553 次查看
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