diff --git a/embassy-stm32/src/ipcc.rs b/embassy-stm32/src/ipcc.rs index da301a71..c66bf108 100644 --- a/embassy-stm32/src/ipcc.rs +++ b/embassy-stm32/src/ipcc.rs @@ -112,6 +112,10 @@ impl Ipcc { compiler_fence(Ordering::SeqCst); IPCC::set_cpu2(true); + // insert bus access and fence for delay + IPCC::set_cpu2(true); + compiler_fence(Ordering::SeqCst); + IPCC::regs().cpu(0).cr().modify(|w| { w.set_rxoie(true); w.set_txfie(true);