Skip to main content
Ray, KF6GPE
Associate II
February 22, 2023
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.
February 22, 2023

Is it a custom board?

Ray, KF6GPE
Associate II
February 22, 2023

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

Pavel A.
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.

waclawek.jan
Super User
February 23, 2023

Some basic troubleshooting steps here.

JW

Ray, KF6GPE
Associate II
February 27, 2023

Excellent!! Thank you.