cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 USB Full Speed SOF interrupt. I used the CDC class as a template to implement a cusom vendor class. It seems to me that the Start of Frame interrupt never fires. How do I enable it?

NBaro.1
Associate II

I am attempting to send data in bulk, 64 bytes at a time for every SOF interrupt, however I don't see how to enable the interrupt.

I attempted defining USE_HAL_PCD_REGISTER_CALLBACKS as 1, but that doesn't seem to trigger the SOF interrupt.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @NBaro.1​ ,

You need to set the hhcd.Init.Sof_enable parameter to 1 in the usbd_conf.c file to enable the sof interrupt.

Please let me know if this solved your problem.

BeST Regards,

Walid

View solution in original post

1 REPLY 1

Hello @NBaro.1​ ,

You need to set the hhcd.Init.Sof_enable parameter to 1 in the usbd_conf.c file to enable the sof interrupt.

Please let me know if this solved your problem.

BeST Regards,

Walid