Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TI EasyLink GPIO Interrupt does Not Fire #640

Closed
gligorov opened this issue Sep 5, 2020 · 2 comments · Fixed by nanoframework/nf-interpreter#1696
Closed

TI EasyLink GPIO Interrupt does Not Fire #640

gligorov opened this issue Sep 5, 2020 · 2 comments · Fixed by nanoframework/nf-interpreter#1696

Comments

@gligorov
Copy link

gligorov commented Sep 5, 2020

Testing the latest image for the TI CC1352R, and the latest GPIO library, and it seems that the interrupt is not firing at all. I am able to read the state of the port/pin fine.

I have a push button connected to the port pin and have tried 2-3 different ones no luck.

I created a simple program to test like below:

static GpioPin wakeBtn;

    public static void Main()
    {
        wakeBtn = GpioController.GetDefault().OpenPin(14);
        wakeBtn.SetDriveMode(GpioPinDriveMode.Input);
        wakeBtn.ValueChanged += WakeBtn_ValueChanged;

        Thread.Sleep(Timeout.Infinite);
    }

private static void WakeBtn_ValueChanged(object sender, GpioPinValueChangedEventArgs e)
{
// read Gpio pin value from event
Console.WriteLine("USER BUTTON (event) : " + e.Edge.ToString());
}

@nfbot nfbot closed this as completed Sep 7, 2020
@nfbot nfbot reopened this Sep 7, 2020
@nfbot
Copy link
Member

nfbot commented Sep 7, 2020

Hi @gligorov,
😞 I couldn't figure out what type of issue you're trying to open...
Make sure you're used one of the templates and have include all the required information. After doing that feel free to reopen the issue.

If you have a question, need clarification on something, need help on a particular situation or want to start a discussion, do not open an issue here. It is best to ask the question on Stack Overflow using the nanoframework tag or to start a conversation on one of our Discord channels.

@josesimoes
Copy link
Member

Valid issue. Reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants