2024-02-07 05:30 PM
The STM32H562RG USB interrupt does not work.
Also, using the library on the Nucleo-H503RB results in a memory error. We verified the other chips work fine, but the H562RG has a problem with the USB interrupt not working.
2024-02-09 06:26 AM
Hello @sunmk97
Do you mean USB FS global interrupt is never getting fired? A screenshot of USB_ISTR register would be helpful. On the other side, on Nucleo-H503RB what kind of memory issue you are facing? Could you provide more details?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-09 09:03 PM
BTW: if you forget to implement/provide an INT vector handler - an INT is triggered but it goes to DefaultHandler (which will loop endlessly).
When you say "memory error": do you mean "HardFault_Handler()" called?
This happens when you try to access non-existing memory:
a pointer to memory is wrong, e.g. NULL, not initialized, the RAM (Stack) corrupted...
"memory error" is often a "coding error"