-
Couldn't load subscription status.
- Fork 1.4k
mpsl: Add support for HFCLK24M to MPSL clock driver #23498
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
mpsl: Add support for HFCLK24M to MPSL clock driver #23498
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: dad02ba96f1e18bd401460a78a4511d0369d29ee more detailssdk-nrf:
nrfxlib:
Github labels
List of changed files detected by CI (272)Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
ccbddea to
a467401
Compare
|
@ppryga-nordic typo in PR title? "mspl:" |
|
This PR requires updated nrfxlib, with MPSL that supports HFCLK24M. The work on that is in progress. |
a467401 to
c3f5139
Compare
|
You can find the documentation preview for this PR here. |
Memory footprint analysis revealed the following potential issuesapplications.nrf_desktop.zdebug.uart.kmu_provision[nrf54l15dk/nrf54l10/cpuapp]: ROM size increased by 596[B] in comparison to the main[b5613c8] branch. - link (cc: @nrfconnect/ncs-si-bluebagel) Note: This message is automatically posted and updated by the CI (latest/sdk-nrf/PR-23498/8) |
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.
Should there be a LOG_WRN here for debugging purposes, if required?
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.
Good idea. LOG_WRN added.
c3f5139 to
d782118
Compare
|
CI failed on some framework issue. Re-run with skipping of all passing stages. |
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.
This will be included through <nrfx_clock.h>. But anyway, do you actually need this inclusion?
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.
I added it because something was failing at some point. Personally I prefer to include required headers explicitly. If you insist I can remove it.
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.
I've removed it to speed up the PR.
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.
I added it because something was failing at some point. Personally I prefer to include required headers explicitly. If you insist I can remove it.
The thing is that this header doesn't seem to be required here.
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.
| #define LOG_LEVEL CONFIG_FLASH_LOG_LEVEL | |
| #include <zephyr/logging/log.h> | |
| LOG_MODULE_REGISTER(nrfx_clock_mpsl); | |
| #include <zephyr/logging/log.h> | |
| LOG_MODULE_REGISTER(nrfx_clock_mpsl, CONFIG_CLOCK_CONTROL_LOG_LEVEL); |
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.
Intentional fall-through? A related comment would be helpful.
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.
Nope, thanks for catching this!
d782118 to
b5fa13d
Compare
There is a new HFCLK source HFCLK24M that might be used when MPSL internal clok driver is enabled. That clock is used for example by USB. The MPSL didn't support any other HFCLK except HFXO. The commit adds changes in MPSL clock driver that are based on new clock API provided by the MPSL library. Signed-off-by: Piotr Pryga <[email protected]>
b5fa13d to
fca1c98
Compare
|
Corrected use of |
Automatically created by Github Action Signed-off-by: Nordic Builder <[email protected]> (cherry picked from commit 8eb9eb0cceb6db27bb106a0a5f8d2be8801897d2) Signed-off-by: Piotr Pryga <[email protected]>
fca1c98 to
dad02ba
Compare
There is a new HFCLK source HFCLK24M that might be used when
MPSL internal clok driver is enabled. That clock is used for
example by USB. The MPSL didn't support any other HFCLK except
HFXO.
The commit adds changes in MPSL clock driver that are based
on new clock API provided by the MPSL library.
Signed-off-by: Piotr Pryga [email protected]