-
Notifications
You must be signed in to change notification settings - Fork 1.4k
drivers: flash_sync_mpsl: Reduce timeout for low priority attempt #25569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: flash_sync_mpsl: Reduce timeout for low priority attempt #25569
Conversation
This commit reduces the time it takes to elevate the priority of a flash operation from 30 ms to 10 ms. In applications where the radio is heavily used, this improves the responsiveness. Examples of such application types: - Bluetooth applications using relatively low connection intervals - Bluetooth applications perfoming background scanning - 802.15.4 applications - Bluetooth LE audio applications For applications where this is not the case, it is unlikely that any behavior change will be seen. This change also prepares the driver for fixing a bug in the scheduler where the timeslot request timed out before the specified timeout. Signed-off-by: Rubin Gerritsen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reduces the default timeout for normal priority MPSL flash operations from 30ms to 10ms to improve responsiveness in radio-intensive applications. The change affects applications using low connection intervals, background scanning, 802.15.4, or Bluetooth LE audio by reducing the time before flash operations are elevated to higher priority.
Key Changes
- Reduced default timeout from 30000µs to 10000µs in the flash sync MPSL Kconfig
- Updated release notes to document the default timeout change
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| drivers/mpsl/flash_sync/Kconfig | Changed default timeout value from 30ms to 10ms |
| doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst | Added release note documenting the timeout reduction |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 1bddc4a899472791a23bbd6e3db04214b36f9e63 more detailssdk-nrf:
Github labels
List of changed files detected by CI (2)Outputs:ToolchainVersion: df3cc9d822 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
|
You can find the documentation preview for this PR here. Preview links for modified nRF Connect SDK documents: |
This commit reduces the time it takes to elevate the priority of a flash operation from 30 ms to 10 ms.
In applications where the radio is heavily used, this improves the responsiveness. Examples of such application types:
For applications where this is not the case, it is unlikely that any behavior change will be seen.
This change also prepares the driver for fixing a bug in the scheduler where the timeslot request timed out before the specified timeout.