GPIO interrupt

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

GPIO interrupt

2,456件の閲覧回数
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,873件の閲覧回数
adriancano
NXP Employee
NXP Employee

Hi,

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

Regards,

Adrian

0 件の賞賛
返信

1,873件の閲覧回数
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,873件の閲覧回数
mjbcswitzerland
Specialist V

Hi

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

Regards

Mark

0 件の賞賛
返信

1,873件の閲覧回数
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,873件の閲覧回数
prakashpatel
Contributor II

Kinetis K10 series

0 件の賞賛
返信