Skip to content

Commit f85abfa

Browse files
ludvigsjrlubos
authored andcommitted
Drivers: MPSL: Reduce flash radio sync timeout for Mesh use cases
After changes in how MPSL uses the CONFIG_SOC_FLASH_NRF_RADIO_SYNC_MPSL_NORMAL_PRIORITY_TIMEOUT_US value, Mesh applications started observing some slowdown in roundtrip point-to-point message and response. This is because Mesh now needs to wait for the entire timeout as part of a roundtrip. Decreasing the timeout to 5ms moves us close to where we were before the recent changes to MPSL, without over-prioritizing flash timeslots. Signed-off-by: Ludvig Jordet <[email protected]>
1 parent 49dc39f commit f85abfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mpsl/flash_sync/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ config SOC_FLASH_NRF_RADIO_SYNC_MPSL_NORMAL_PRIORITY_TIMEOUT_US
4242
int "Timeout for normal priority MPSL request [us]"
4343
depends on SOC_FLASH_NRF_RADIO_SYNC_MPSL
4444
range 0 1000000
45+
default 5000 if BT_MESH
4546
default 10000
4647
help
4748
The flash synchronization mechanism relies on MPSL timeslots.

0 commit comments

Comments
 (0)