You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is because the ULPI PHY provides the 48MHz clock, so the internal 48MHz clock isn't enabled. It may be due to some other initialization registers which need to be set for ULPI.
I will likely investigate tomorrow.
The text was updated successfully, but these errors were encountered:
I forgot to configure the usb clock mux after I updated embassy.
It seems obvious now, but it was difficult to root cause because the panic message's line info would often just point to fmt.rs or sometimes _generated::{impl#140}::frequency() which wasn't super helpful. It would be nice if the panic message would say "configure config.rcc.mux.usbsel" rather than just "unreachable".
The panic occurs here:
embassy/embassy-stm32/src/usb/mod.rs
Line 15 in 51d5530
I think this is because the ULPI PHY provides the 48MHz clock, so the internal 48MHz clock isn't enabled. It may be due to some other initialization registers which need to be set for ULPI.
I will likely investigate tomorrow.
The text was updated successfully, but these errors were encountered: