This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I'm very confused about the external interrupt of nRF24LE1

nrf24LE1 external interrupt is not easy to use , I use nRF24LE1 48pin chip, and the external interrupt 0 (GPINT0)is configured to falling edge trigger, but it can not be triggered,when i give a falling edge to that pin. Configured as a low level trigger, it always in a trigger condition, the manual says P12 is GPINT0 pin, I applied a pull-up resistor and also configured input pull-up, P12 should always be in a high state, how can external interrupt be triggered? ? ?

Anybody can help me with the external interrupt of nRF24LE1?? thank you very much!

The following is a configuration of the external interrupt:

INTEXP = 0x08; //GPINT0 Enable
TCON   = 0x01;//Falling edge trigger
IEN0   = 0x81;//enable External interrupt 0 and global interrupt
P1CON = 0x52;//P12 input pull up
P1DIR = 0x04;//P12 input
Parents Reply
  • thank you Håkon, your example just works as the same with my project,The LED(P00) is not toggled when i give a falling edge to P13,and i configure INT1 on low level(IT0=0),LED is toggled continuously,but i did nothing to P13. A strange phenomenon of your example is that only after i download the code to nRF24LE1's flash,the INT1 is trggered once(IT0 = 1),just once! I don't know why is it so,is it the chip bad??

Children
No Data
Related