Skip to main content
Visitor II
February 8, 2024
Question

The STM32H562RG USB interrupt does not work.

  • February 8, 2024
  • 1 reply
  • 931 views

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.

1 reply

Technical Moderator
February 9, 2024

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.Best regards,FBL
Lead II
February 10, 2024

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"