Skip to main content
Visitor II
February 22, 2023
Question

USBD_Init, Connect for devices on STM32H7 MCUs not calling the interrupt handlers...

  • February 22, 2023
  • 2 replies
  • 2421 views

So, I suspect I've configured something rather obvious wrong, but I'm not sure what.

We've got a product with a OTG USB port we'd like to run in device mode. I'm trying to configure it using the USBD high-level drivers provided (thanks!).

I'm finding that the initialization code all the way through appears to correctly initialize the hardware, but I'm not seeing the FS interrupt fire when a host device is connected.

Am I missing something obvious?

Thanks!

    This topic has been closed for replies.

    2 replies

    Super User
    February 22, 2023

    Is it a custom board?

    Visitor II
    February 22, 2023

    Mildly. It's based on the H743 disco board, but the board configuration was built with STM32Cube, of course.

    Super User
    February 23, 2023

    Great. Does your USB FS device work on a H743 disco?

    Doesn't matter, generated with Cube, or based on a ready (non-cube) example from the Cube H7 firmware package.

    Super User
    February 23, 2023

    Some basic troubleshooting steps here.

    JW

    Visitor II
    February 27, 2023

    Excellent!! Thank you.