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
This causes the line let mut rng = Rng::new(p.RNG, Irqs); to hang and eventually time out.
If I comment out the HSE configuration, the above Rng::new works correctly. It looks for all the world like a missing clock, but both HSI and HSI48 are enabled and show up in the trace;
I can't reproduce the hang on the STM32U5 I got here. Can you share the rest of the code in a gist maybe or at least the relevant portion where you declare the Irqs struct and such? Neither the Rng::new nor the resulting rng.async_fill_bytes cause any issue and produce random data as expected with the clock configuration you posted on the Nucleo-STM32U5A5.
A bit confused by this one TBH. I initialise my HSE as follows;
This causes the line
let mut rng = Rng::new(p.RNG, Irqs);
to hang and eventually time out.If I comment out the HSE configuration, the above
Rng::new
works correctly. It looks for all the world like a missing clock, but both HSI and HSI48 are enabled and show up in the trace;I did force-enable both hsi and hsi48 in the rcc driver just to be sure it wasn't that, but to no avail. Any advice what to poke next?
Regards
DAVE
The text was updated successfully, but these errors were encountered: