You are here

INTERRUPT ISSUES IN GPIO PROGRAM | Cypress Semiconductor

INTERRUPT ISSUES IN GPIO PROGRAM

Summary: 1 Reply, Latest post by swetha.patil13_1672816 on 03 Sep 2016 05:44 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
swetha.patil13_1672816's picture
User
7 posts

Hi

I am using the Simple GpioApp firmware to blink the LED based on Positive Edge interrupt on Gpio input(pin 37). I mean the led should start blinking when i give an external signal from switch. When i build and run the program on my customized FX3 board, LED starts blinking irrespective of the interrupt callback function. As i said i am using default gpioapp firmware. Instead of gpio 45 (io_cfg.gpioSimpleEn[1]  = 0x00002000; /* GPIO 45 */) we are using Gpio 37 as input pin (io_cfg.gpioSimpleEn[1]  = (1 << (37 - 32)); 

I have tried all positive edge, negative edge and both the edges, but interrupt callback function is not working. So need help to figure out this. Thanks in Advance.

Regards,

Swetha Patil 
 

swetha.patil13_1672816's picture
User
7 posts

Is there anybody who could help on this question?

Thanks!

Log in to post new comments.