LPC11UXX External active level interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11UXX External active level interrupt

717 Views
Andy2022
Contributor II

Dears,

I encountered a issue about active-level interrupt when I use #LPC11U35BFD# mcu. I use the command to control Ex-Interrupt mode and trigger 

The similar init code, the edge(rasing or falling) interrupt and level interrupt work well, but the active-level(High or Low) interrupt doesn't work.

I use the command to switch the interrupt mode(Rasing, Falling, High-Level, Low-Level).

NVIC_DisableIRQ(FLEX_INT0_IRQn);
LPC_GPIO_PIN_INT->ISEL  |= (1UL << 0); //Level sentisive
LPC_GPIO_PIN_INT->CIENR |=  (1UL << 0);  //close level interrupt
//Those two configurations only execute one.
LPC_GPIO_PIN_INT->IENF |=  (1UL << 0);       //enable High Level Interrupt
LPC_GPIO_PIN_INT->IENF &=  ~(1UL << 0);   //enable Low Level Interrupt
 
LPC_IOCON->PIO0_2      |= 0x10;
LPC_GPIO_PIN_INT->RISE |= (1UL << 0);
LPC_GPIO_PIN_INT->FALL |= (1UL << 0);
LPC_GPIO_PIN_INT->IST  |= (1UL << 0);
NVIC_EnableIRQ(FLEX_INT0_IRQn);
 
If  you have any suggestions, please tell me, thanks.

 

Labels (1)
0 Kudos
Reply
5 Replies

706 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Andy2022 

Thanks for your question.

"level interrupt work well, but the active-level(High or Low) interrupt doesn't work."

->> Sorry so does level interrupt work or not?

And if it doesn't work, I recommend you refer to the pinint demo under LPCopen, firstly clear the status , then  configure interrupt.

/* Configure channel interrupt as edge sensitive and falling edge interrupt */

Chip_PININT_ClearIntStatus(LPC_PININT, PININTCH(GPIO_PININT_INDEX));

Chip_PININT_SetPinModeEdge(LPC_PININT, PININTCH(GPIO_PININT_INDEX));

Chip_PININT_EnableIntLow(LPC_PININT, PININTCH(GPIO_PININT_INDEX));

Thank you.

 

BR

ALice

0 Kudos
Reply

698 Views
Andy2022
Contributor II

Hi Alice_Yang:

Thanks for your reply.
The Level interrupt works well (High->Low and Low -> High both trigger an interrupt ).

Andy2022_0-1753284367967.png

However, I only set High-Level interrupt or Low-Level interrupt, the corresponding operation can't trigger an interrupt.

Andy2022_3-1753284608790.png

Andy2022_2-1753284512662.png

 

Thanks very much.

 

BR,

Andy2022

0 Kudos
Reply

667 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Andy2022 

How about using the three APIs above?

Also, please measure the input signal to confirm that it is high when a high-active interrupt is set.

 

BR

Alice

0 Kudos
Reply

665 Views
Andy2022
Contributor II
Hi Alice:
Sorry, I haven't used three APIs yet. Because I used Keil.LPC1100_DFP.1.4.1.pack and keil environment(No Keil IDE) to compile code, so I couldn't use three APIs directly. Could you provide those APIs' source code?
And, I observed the Level through Logical analyzer, so I was sure that it is high when a high-active interrupt is set.

Thanks.

BR,
Andy
0 Kudos
Reply

516 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Andy2022 

Please download LPCopen, where you can find the three APIs.

https://www.nxp.com/design/design-center/software/software-library/lpcopen-software-development-plat...  

Additionally, there is a GPIO interrupt demo available for your reference.

Thank you.

 

BR

Alice

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2138868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELPC11UXX%20External%20active%20level%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDears%2C%3C%2FP%3E%3CP%3EI%20encountered%20a%20issue%20about%20active-level%20interrupt%20when%20I%20use%20%23LPC11U35BFD%23%20mcu.%20I%20use%20the%20command%20to%20control%20Ex-Interrupt%20mode%20and%20trigger%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20similar%20init%20code%2C%20the%20edge(rasing%20or%20falling)%20interrupt%20and%20level%20interrupt%20work%20well%2C%20but%20the%20active-level(High%20or%20Low)%20interrupt%20doesn't%20work.%3C%2FP%3E%3CP%3EI%20use%20the%20command%20to%20switch%20the%20interrupt%20mode(Rasing%2C%20Falling%2C%20High-Level%2C%20Low-Level).%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3ENVIC_DisableIRQ%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3EFLEX_INT0_IRQn%3C%2FSPAN%3E%3CSPAN%3E)%3B%20%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3ELPC_GPIO_PIN_INT%3C%2FSPAN%3E%3CSPAN%3E-%26gt%3B%3C%2FSPAN%3E%3CSPAN%3EISEL%3C%2FSPAN%3E%3CSPAN%3E%20%26nbsp%3B%7C%3D%20(%3C%2FSPAN%3E%3CSPAN%3E1UL%3C%2FSPAN%3E%3CSPAN%3E%20%26lt%3B%26lt%3B%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E)%3B%20%2F%2FLevel%20sentisive%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3ELPC_GPIO_PIN_INT%3C%2FSPAN%3E%3CSPAN%3E-%26gt%3B%3C%2FSPAN%3E%3CSPAN%3ECIENR%3C%2FSPAN%3E%3CSPAN%3E%20%7C%3D%20%26nbsp%3B(%3C%2FSPAN%3E%3CSPAN%3E1UL%3C%2FSPAN%3E%3CSPAN%3E%20%26lt%3B%26lt%3B%20%3C%2FSPAN%3E%3CSPAN%3E0%3C%2FSPAN%3E%3CSPAN%3E)%3B%26nbsp%3B%20%2F%2Fclose%20level%20interrupt%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FThose%20two%20configurations%20only%20execute%20one.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3ELPC_GPIO_PIN_INT%3C%2FSPAN%3E%3CSPAN%3E-%26gt%3B%3C%2FSPAN%3E%3CSP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20suggestions%2C%20please%20tell%20me%2C%20thanks.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2138868%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC11xx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC11UXX%20External%20active%20level%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252978%22%20target%3D%22_blank%22%3E%40Andy2022%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20download%20LPCopen%2C%20where%20you%20can%20find%20the%20three%20APIs.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fsoftware-library%2Flpcopen-software-development-platform-lpc11xx%3ALPCOPEN-SOFTWARE-FOR-LPC11XX%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fsoftware-library%2Flpcopen-software-development-platform-lpc11xx%3ALPCOPEN-SOFTWARE-FOR-LPC11XX%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAdditionally%2C%20there%20is%20a%20GPIO%20interrupt%20demo%20available%20for%20your%20reference.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%20Thank%20you.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlice%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2140155%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC11UXX%20External%20active%20level%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2140155%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20Alice%3A%3CBR%20%2F%3ESorry%2C%20I%20haven't%20used%20three%20APIs%20yet.%20Because%20I%20used%20Keil.LPC1100_DFP.1.4.1.pack%20and%20keil%20environment(No%20Keil%20IDE)%20to%20compile%20code%2C%20so%20I%20couldn't%20use%20three%20APIs%20directly.%20Could%20you%20provide%20those%20APIs'%20source%20code%3F%3CBR%20%2F%3EAnd%2C%20I%20observed%20the%20Level%20through%20Logical%20analyzer%2C%20so%20I%20was%20sure%20that%20it%20is%20high%20when%20a%20high-active%20interrupt%20is%20set.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3CBR%20%2F%3E%3CBR%20%2F%3EBR%2C%3CBR%20%2F%3EAndy%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2140099%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC11UXX%20External%20active%20level%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2140099%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252978%22%20target%3D%22_blank%22%3E%40Andy2022%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHow%20about%20using%20the%20three%20APIs%20above%3F%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlso%2C%20please%20measure%20the%20input%20signal%20to%20confirm%20that%20it%20is%20high%20when%20a%20high-active%20interrupt%20is%20set.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAlice%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2139500%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC11UXX%20External%20active%20level%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139500%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Alice_Yang%3A%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%3CBR%20%2F%3EThe%20Level%20interrupt%20works%20well%20(High-%26gt%3BLow%20and%20Low%20-%26gt%3B%20High%20both%20trigger%20an%20interrupt%20).%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Andy2022_0-1753284367967.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Andy2022_0-1753284367967.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349138iD6FC9A3B900EC3A7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Andy2022_0-1753284367967.png%22%20alt%3D%22Andy2022_0-1753284367967.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHowever%2C%20I%20only%20set%20High-Level%20interrupt%20or%20Low-Level%20interrupt%2C%20the%20corresponding%20operation%20can't%20trigger%20an%20interrupt.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Andy2022_3-1753284608790.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Andy2022_3-1753284608790.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349142iA2410F4C6B5D0109%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Andy2022_3-1753284608790.png%22%20alt%3D%22Andy2022_3-1753284608790.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Andy2022_2-1753284512662.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Andy2022_2-1753284512662.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349140iEAFA68BF411FA73E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Andy2022_2-1753284512662.png%22%20alt%3D%22Andy2022_2-1753284512662.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%20very%20much.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3EAndy2022%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2139211%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC11UXX%20External%20active%20level%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139211%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252978%22%20target%3D%22_blank%22%3E%40Andy2022%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20question.%3C%2FP%3E%0A%3CP%3E%22%3CSPAN%3Elevel%20interrupt%20work%20well%2C%20but%20the%20active-level(High%20or%20Low)%20interrupt%20doesn't%20work.%3C%2FSPAN%3E%22%3C%2FP%3E%0A%3CP%3E-%26gt%3B%26gt%3B%20Sorry%20so%20does%20level%20interrupt%20work%20or%20not%3F%3C%2FP%3E%0A%3CP%3EAnd%20if%20it%20doesn't%20work%2C%20I%20recommend%20you%20refer%20to%20the%20pinint%20demo%20under%20LPCopen%2C%20firstly%20clear%20the%20status%20%2C%20then%26nbsp%3B%20configure%20interrupt.%3C%2FP%3E%0A%3CDIV%20style%3D%22background-color%3A%20%23ffffff%3B%20padding%3A%200px%200px%200px%202px%3B%22%3E%0A%3CDIV%20style%3D%22color%3A%20%23000000%3B%20background-color%3A%20%23ffffff%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%2010pt%3B%20white-space%3A%20pre%3B%22%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*%20Configure%20channel%20interrupt%20as%20edge%20sensitive%20and%20falling%20edge%20interrupt%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20Chip_PININT_ClearIntStatus(LPC_PININT%2C%20PININTCH(GPIO_PININT_INDEX))%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20Chip_PININT_SetPinModeEdge(LPC_PININT%2C%20PININTCH(GPIO_PININT_INDEX))%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3EChip_PININT_EnableIntLow%3C%2FSPAN%3E%3CSPAN%3E(LPC_PININT%2C%20PININTCH(GPIO_PININT_INDEX))%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3EThank%20you.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3EBR%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3EALice%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E