Skip to content

Commit 0c29eb8

Browse files
jostnhermabe
authored andcommitted
mpsl: Improve GRTC syscounter performance
Mandate NRF_GRTC_TIMER_AUTO_KEEP_ALIVE for platforms that have the GRTC. This improves the worst case latency for reading the syscounter value. NRF_GRTC_TIMER_AUTO_KEEP_ALIVE together with the grace period of the GRTC should be sufficient to guarantee a low-latency for reading the SYSCOUNTER where the latency actually matters. This is needed to provide the performance that MPSL and the SoftDevice controller expect. Without NRF_GRTC_TIMER_AUTO_KEEP_ALIVE it may take up to around 100us to read the GRTC when it is in the inactive state. Signed-off-by: Johan Stridkvist <[email protected]>
1 parent 94ffaf2 commit 0c29eb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mpsl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ config MPSL
1010
select IEEE802154_NRF5_EXT_IRQ_MGMT if IEEE802154_NRF5
1111
select NRF_802154_MULTIPROTOCOL_SUPPORT if NRF_802154_RADIO_DRIVER
1212
select MULTITHREADING_LOCK
13+
select NRF_GRTC_TIMER_AUTO_KEEP_ALIVE if NRF_GRTC_TIMER
1314
depends on (SOC_SERIES_BSIM_NRFXX || SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET ||\
1415
SOC_NRF54H20_CPURAD || SOC_SERIES_NRF54LX || SOC_SERIES_NRF71X)
1516
help

0 commit comments

Comments
 (0)