-
Notifications
You must be signed in to change notification settings - Fork 29
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
Interrupts don't work #13
Comments
I'm also having an issue with OTG2_HS not generating any interrupts. As proposed in the #stm32-rs:matrix.org group, here is a bug report with code to reproduce the issue. The platform is an ST Nucleo-H743ZI2 (chip HAL identifier: stm32h743v). The USB port is on OTG2. To reproduce the issue, I have made two examples:
I hope this helps to diagnose the issue. I'm willing to help and run tests in case you do not have this platform. blinky-nucleo-h743zi2-blocking.zip blinky-nucleo-h743zi2-interrupt.zip Output from "tail -f /var/log/syslog" |
Thank you for the information! Do you know if the same problem happens with OTG1_HS? |
I don't know. The Nucleo board does not have that port connected. |
I've connected the OTG1_HS port. Now, these pins also connect to other things on the Nucleo board (such as LD3), so the USB bus is not happy at all.... I'm holding-off on cutting any traces for now. --> However, the the interesting thing is that the OTG1_HS interrupts do indeed function, while the OTG2_HS interrupts do not. When I connect OTG2_HS, the debug console does not show any interrupts firing. Here is the updated firmware for your reference: blinky-nucleo-h743zi2-interrupt_2021-06-23.zip Here are the various debug outputs: Output from "tail -f /var/log/syslog" Output from the debug console: |
Thank you! I'll try to look into this when I have time. This looks really strange as in your chip these two USB peripherals should be identical. |
Thank you for looking into this! Please let me know if I can do anything else to help. |
As I already described in this issue I noticed that when connecting a stm32f405 to a linux (ubuntu) host, the interrupts dont get triggered but polling in main works fine. |
can confirm, f429 disco, also interrupts don't work. I've found it's somehow related to WFE/WFI.
so it seems like some sort of hardware errata... but there's nothing in the errata sheet! :( |
found it. you have to set |
It was reported that OTG_HS interrupts never fired on F429 disco configured with "HS in FS" mode.
The text was updated successfully, but these errors were encountered: