-
-
Notifications
You must be signed in to change notification settings - Fork 284
Crash on ISR #52
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
Comments
Are you sure it's crashing? I think you are missing the
|
Hello @sandeepmistry, thank you for the hint. At the moment there is a bug whith 'extern "C"' -> arduino/arduino-builder#128 'Extern "C"' is only working with all code in one line. Thank you. |
hi @d00616 have you been able to run the above code for timer 2 interrupt on nrf51822? if yes then can you share the code? |
@cheeta1 You have to put all interrupt code into one line:
|
hi @d00616 i got the above output at serial which shows that ISR is not called. can you tell mw why the ISR is not being called? |
I have updated the example code. On NRF51 NVIC_EnableIRQ is required. The NRF5_RESET_EVENT helps to handle resetting the event on NRF51 and NRF52. |
This code is hanging after first timer/rtc event on NRF51 and NRF52. I think this code is correct.
The text was updated successfully, but these errors were encountered: