From 2c97c7657757227f3aaa5fd738fad0440771c3b4 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sun, 12 Mar 2023 10:01:44 +0100 Subject: [PATCH] nrf53_clockconfig.c: add comment about oscillator configuration --- arch/arm/src/nrf53/nrf53_clockconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/src/nrf53/nrf53_clockconfig.c b/arch/arm/src/nrf53/nrf53_clockconfig.c index 2ce7ff1871..27a6862789 100644 --- a/arch/arm/src/nrf53/nrf53_clockconfig.c +++ b/arch/arm/src/nrf53/nrf53_clockconfig.c @@ -95,6 +95,8 @@ void nrf53_clockconfig(void) putreg32(0x0, NRF53_CLOCK_EVENTS_LFCLKSTARTED); putreg32(0x1, NRF53_CLOCK_TASKS_LFCLKSTART); + /* NOTE: Oscillator must be configured on the app core */ + while (!getreg32(NRF53_CLOCK_EVENTS_LFCLKSTARTED)) { /* Wait for LFCLK to be running */