From a4b20fc9436506cfe172cbefce7dccb264b6e725 Mon Sep 17 00:00:00 2001 From: xoviat Date: Tue, 3 Oct 2023 17:49:18 -0500 Subject: [PATCH] wip --- embassy-stm32/src/ipcc.rs | 4 ++++ 1 file changed, 4 insertions(+) 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);