Level triggering not working on LPC 804 board

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

Level triggering not working on LPC 804 board

跳至解决方案
2,065 次查看
Balaji_KG
Contributor II

Hi,

       Currently I am working on LPC804 controller. In that pin interrupt method only working in EDGE triggering. Level triggering method isn't working. I tried the LPCOpen demo code also. Kindly give some reference on this.

标记 (1)
0 项奖励
回复
1 解答
2,009 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Balaji_KG 

 

I tested your project with lpcxpresso804 board, the PINT with High level interrupt  works well.

You can set a breakpoint in PIN_INT0 interrupt function as below:

Alice_Yang_0-1687245659132.png

 

When input high level on pio0_13 pin, will enter this interrupt function.

 

BR

Alice

 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,018 次查看
Balaji_KG
Contributor II

Hello @Alice_Yang ,

 I attached my project for your reference.

0 项奖励
回复
2,010 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Balaji_KG 

 

I tested your project with lpcxpresso804 board, the PINT with High level interrupt  works well.

You can set a breakpoint in PIN_INT0 interrupt function as below:

Alice_Yang_0-1687245659132.png

 

When input high level on pio0_13 pin, will enter this interrupt function.

 

BR

Alice

 

0 项奖励
回复
2,002 次查看
Balaji_KG
Contributor II

Dear @Alice_Yang ,

                    I will check this on my board. Thanks for your support.

0 项奖励
回复
2,037 次查看
Balaji_KG
Contributor II

Dear @Alice_Yang ,

                         I checked the demo code through MCU expresso IDE. In that I configured GPIO pin and all registers properly. still, Level triggering not working but edge triggering is working properly. 

0 项奖励
回复
2,026 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Balaji_KG 

Please share your project, thanks.

 

BR

Alice

0 项奖励
回复
2,043 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Balaji_KG 

How do you test on LPCopen demo? How about change to another pin?

And please check all the related registers configured correctlly.

 

BR

Alice

0 项奖励
回复