-
Notifications
You must be signed in to change notification settings - Fork 956
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
STM32F030CCT6 PB15 GPIO Interrupt #2338
Comments
Hi @xiezhoubin |
``> Hi @xiezhoubin Could you be more precise? Sketch? Board used? Core version?.... chip:stm32f030cct6 Core version:2.7.1 code:
|
I have tested that the PA5 pin is working and the program can run normally; If it is PB15, the program will get stuck in "attachInterrupt" |
Your code could not be built as I've tested with the code below and a Nucleo F030R8 as I have no board with F030CC, anyway same series and it works as expected.
I've also tried with the Nucleo F030R8 hardware but compiling for a Generic F030C8 and same no issue. How you know it get stuck in attach interrupt, did you try to debug? My guess is the PB15 state always change and the callback is called permanently. |
Arduino developed stm32f030cct6, which cannot use PB15 as an external interrupt pin. Once attachInterrupt (digitally PinToInterrupt (PB15), callback, CHANGE) is used; This line of code will cause the program to get stuck here
The text was updated successfully, but these errors were encountered: