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
// Validate the supply configuration. If you are stuck here, it is
// because the voltages on your board do not match those specified
// in the D3CR.VOS and CR3.SDLEVEL fields. By default after reset
// VOS = Scale 3, so check that the voltage on the VCAP pins =
// 1.0V.
#[cfg(any(pwr_h7rm0433, pwr_h7rm0399, pwr_h7rm0455, pwr_h7rm0468))]
while !PWR.csr1().read().actvosrdy() {}
That said, I don't have a strong grasp on how this STM32 data is generated.
I'm pretty early investigating this and plan on reading over RM0468 and studying this more.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I realized the default rcc supply config doesn't match the dev kit. From the dev kit user manual:
So, I tried changing the example's rcc supply config to SupplyConfig::DirectSMPS.
let mut config = embassy_stm32::Config::default();
{
use embassy_stm32::rcc::*;
config.rcc.supply_config = SupplyConfig::DirectSMPS;
}
let p = embassy_stm32::init(config);
Unfortunately, this didn't resolve my issue. I also had to perform these steps as documented in the user manual:
I haven't figured out where in the reference manual this 'deadlock' state is documented.
That said, the example runs now after performing those recover steps.
Hi there 👋
I recently attempted to run the blinky.rs example on an STM32H735 Discovery Kit.
I updated the .cargo/config.toml runner:
and Cargo.toml embassy-stm32 features list:
After inspecting the backtrace, it seems to be stuck here:
https://github.com/embassy-rs/embassy/blame/main/embassy-stm32/src/rcc/h.rs#L334
I probed 1.3V on the the VCAP pins here:
This issue might be related:
embassy-rs/stm32-data#260
That said, I don't have a strong grasp on how this STM32 data is generated.
I'm pretty early investigating this and plan on reading over RM0468 and studying this more.
Thanks in advance!
The text was updated successfully, but these errors were encountered: