Skip to main content
Ray, KF6GPE
Associate II
Feb 22, 2023 8:19 PM UTC
Question

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

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.

6 replies

Pavel A.
Feb 22, 2023 10:11 PM UTC

Is it a custom board?

Ray, KF6GPE
Associate II
Feb 22, 2023 10:55 PM UTC

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

Pavel A.
Feb 23, 2023 12:03 AM UTC

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.

waclawek.jan
Super User
Feb 23, 2023 4:55 AM UTC

Some basic troubleshooting steps here.

JW

Ray, KF6GPE
Associate II
Feb 27, 2023 8:46 PM UTC

Excellent!! Thank you.