Browse Source

modules: hal_nordic: nrf_802154: set clock startup latency

The clock startup latency is now obtained from the clock driver and the
nrf-802154 is now set to a value that matches hardware capabilities.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
pull/91688/head
Rafał Kuźnia 1 month ago committed by Daniel DeGrasse
parent
commit
558f26eaf9
  1. 6
      modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_clock_zephyr.c

6
modules/hal_nordic/nrf_802154/sl_opensource/platform/nrf_802154_clock_zephyr.c

@ -18,7 +18,11 @@ static bool hfclk_is_running; @@ -18,7 +18,11 @@ static bool hfclk_is_running;
void nrf_802154_clock_init(void)
{
/* Intentionally empty. */
#ifdef NRF54L_SERIES
uint32_t clock_latency_us = z_nrf_clock_bt_ctlr_hf_get_startup_time_us();
nrf_802154_clock_hfclk_latency_set(clock_latency_us);
#endif
}
void nrf_802154_clock_deinit(void)

Loading…
Cancel
Save