How to use a Normal digitial pin as Interrupt?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi,

   

I was doint a project that requires the BLE to move into active mode when the switch is high( default status). When it goes low the device must go active and do the nevcessary things and again go back to deep sleep mode. I have trued many htings out but it doesnt seem to come out of deep sleep mode . It is always in that mode . I have tried using the SW2 interrupt pin but di dnot work. Can someone throw some light into this issue.? I would be very great ful if you could send a code over .

0 Likes
5 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

These might help -

   

 

   

    

   

          

   

http://www.cypress.com/?rID=95069     AN90799 - PSoC® 4 Interrupts

   

 

   

    

   

          

   

http://www.cypress.com/?rID=93401     AN86439 - PSoC® 4 - Using GPIO Pins

   

 

   

    

   

          

   

http://www.cypress.com/?rID=78797     AN86233 - PSoC® 4 Low-Power Modes and Power Reduction Techniques

   

http://www.cypress.com/?rID=96072     AN90114 - PSoC® 4000 Family Low-Power System Design Techniques

   

http://www.cypress.com/?rID=110007     AN92584 - Designing for Low Power and Estimating Battery Life for BLE Applications

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 attach your project.We will go through your project

   

 

   

Regards,

   

Vikas

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

AN86233 has projects to wakeup using GPIO.

   

 

   

Regards, Dana.

0 Likes
AnWa_1259496
Level 4
Level 4
Welcome! 50 replies posted 25 replies posted

 I am having the same problem. Are you using the bootloader by any chance? I am about to post a new subject on this.

0 Likes
Anonymous
Not applicable

 Please make sure that you are clearing the Pin Interrupt using Pin_ClearInterrupt() in the associated Pin ISR.

0 Likes