diff --git a/soc/arm/nordic_nrf/nrf53/soc.c b/soc/arm/nordic_nrf/nrf53/soc.c index 250ba5e2a45..fcf6995b9a9 100644 --- a/soc/arm/nordic_nrf/nrf53/soc.c +++ b/soc/arm/nordic_nrf/nrf53/soc.c @@ -42,6 +42,13 @@ static int nordicsemi_nrf53_init(struct device *arg) ARG_UNUSED(arg); +#if defined(CONFIG_SOC_NRF5340_CPUAPP) + /* Temporary workaround for incorrect SystemCoreClock initialization. + * To be removed when system_nrf5340_application.c is corrected. + */ + SystemCoreClockUpdate(); +#endif + key = irq_lock(); #ifdef CONFIG_NRF_ENABLE_CACHE