Skip to content
Browse files

drivers: timer: nrf: remove unnecessary event feature

Enabling the RTC event is intended to support peripheral-to-peripheral
interconnects, so introduces a request for HFCLK and PCLK16M when the
event is triggered.  This specific event is never used with PPI so
enabling events apparently does nothing but increase power consumption.

Closes #15513

Signed-off-by: Peter A. Bigot <>
  • Loading branch information...
pabigot authored and galak committed Apr 17, 2019
1 parent 57e7ddb commit 68a950a87b7c2bf65969c314d811c263fcd08c0a
Showing with 0 additions and 1 deletion.
  1. +0 −1 drivers/timer/nrf_rtc_timer.c
@@ -89,7 +89,6 @@ int z_clock_driver_init(struct device *device)
/* TODO: replace with counter driver to access RTC */
nrf_rtc_prescaler_set(RTC, 0);
nrf_rtc_cc_set(RTC, 0, CYC_PER_TICK);
nrf_rtc_event_enable(RTC, RTC_EVTENSET_COMPARE0_Msk);
nrf_rtc_int_enable(RTC, RTC_INTENSET_COMPARE0_Msk);

/* Clear the event flag and possible pending interrupt */

0 comments on commit 68a950a

Please sign in to comment.
You can’t perform that action at this time.