diff --git a/soc/arm/st_stm32/stm32u5/soc.c b/soc/arm/st_stm32/stm32u5/soc.c index d25fec9c680d5a0..68df79d620b5e62 100644 --- a/soc/arm/st_stm32/stm32u5/soc.c +++ b/soc/arm/st_stm32/stm32u5/soc.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -35,6 +36,10 @@ static int stm32u5_init(void) LL_ICACHE_SetMode(LL_ICACHE_1WAY); LL_ICACHE_Enable(); + /* Enable data cache (master port write access) */ + LL_DCACHE_SetReadBurstType(DCACHE1, LL_DCACHE_READ_BURST_INCR); + LL_DCACHE_Enable(DCACHE1); + /* Update CMSIS SystemCoreClock variable (HCLK) */ /* At reset, system core clock is set to 4 MHz from MSIS */ SystemCoreClock = 4000000;