2024-12-22 02:15 PM
Hey All,
Similar issue to this previous topic,
I'm running into a timeout error every time I try and call USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST from the USB_CoreReset function in the example code.
It seems like the previous solution was to make sure that a specific bit in the RCC section was enabled. But, that seems to be for the F3/U5 series of MCUs, and the H7 doesn't have that particular register or bit, it seems that the RCC is controlled a little bit differently.
I've attached my register view, with a few of the RCC registers that might be of interest expanded.
It might also be something that's not part of the RCC causing the issue, so I thought it wise to just include everything, incase there's something else in my project causing trouble. We haven't done a full clock analysis on this project yet, but it's on the to-do list.
Thanks,
-Hal