GPIO interrupt

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

GPIO interrupt

2,410 次查看
prakashpatel
Contributor II

Hi,

I am trying to setup external interrupt on my target hw. I successfully configured PORTE pin28 interrupt. However when I tried to do the same on PORTA same pin number. MCU is reseting. This specifically happens when I try to set a value in PORTA->DFER .

Any help is appreciated.

Thanks

标签 (1)
0 项奖励
回复
5 回复数

1,827 次查看
adriancano
NXP Employee
NXP Employee

Hi,

Can you please provide the information, which device is your target device?

Regards,

Adrian

0 项奖励
回复

1,827 次查看
prakashpatel
Contributor II

Hi,

I am using K10 series MCU.

Prakash

On Mon, May 26, 2014 at 3:28 PM, Adrian Sanchez Cano <

0 项奖励
回复

1,827 次查看
mjbcswitzerland
Specialist V

Hi

Do you power up PORTA (enable clocks to it) before writing to its registers?

Regards

Mark

0 项奖励
回复

1,827 次查看
prakashpatel
Contributor II

Thank you for your reply.

good question. I am enabling all clock. see following instruction.

SIM_SCGC5 |= 0x3E00UL

Prakash

On Mon, May 26, 2014 at 5:22 PM, Mark Butcher <admin@community.freescale.com

0 项奖励
回复

1,827 次查看
prakashpatel
Contributor II

Kinetis K10 series

0 项奖励
回复