-
Notifications
You must be signed in to change notification settings - Fork 1.3k
modules: openthread: New OpenThread radio implementation for nRF #22847
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
base: main
Are you sure you want to change the base?
modules: openthread: New OpenThread radio implementation for nRF #22847
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 889062b104e3ff52652bd7a1d792004d2c09503b more detailssdk-nrf:
Github labels
List of changed files detected by CI (6)
Outputs:ToolchainVersion: 4aa3467a6d Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
d97beed
to
d0672ca
Compare
You can find the documentation preview for this PR here. |
modules/openthread/Kconfig.nrf5
Outdated
|
||
config NRF5_DELAY_TRX_ACC | ||
int "Clock accuracy for delayed operations" | ||
default 50 if BOARD_NRF52840DONGLE_NRF52840 || BOARD_NRF54L15DK || BOARD_NRF54LM20PDK |
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.
Does this value really apply to BOARD_NRF54L15DK
?
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.
Yes, because it is related to the external XTAL oscillator, which serves as a source for GRTC on the nRF54L15 DK. I'm checking whether the same oscillator is used on the nRF54LM20 DK.
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.
Ok, seems both 54L15 DK and 54LM20 DK use 20 ppm now, so I will remove them.
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.
We should also update OPENTHREAD_PLATFORM_CSL_UNCERT
for nRF54L15. See KRKNWK-18121.
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.
there is already CONFIG_CLOCK_CONTROL_NRF_ACCURACY_PPM
why can't that be used instead of having essentially a duplicate Kconfig where uses have to update multiple of the same thing and keep them in sync manually?
d0672ca
to
fbb6149
Compare
Implemented the new OpenThread radio implementation for the nRF Connect platform. The new radio implementation is based on the nRF IEEE802.15.4 radio driver and does not use Zephyr's IEEE802.15.4 shim layer. In this solution, the Zephyr's networking L2 layer is disabled, and radio packets are passed directly to the nRF radio. Prepared a build environment to support building OpenThread without Zephyr's L2 and IEEE802.15.4 shim layers. To use the new radio implementation, the CONFIG_NET_L2_OPENTHREAD Kconfig must be set to `n`. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no> Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
fbb6149
to
889062b
Compare
config NRF5_DELAY_TRX_ACC | ||
int "Clock accuracy for delayed operations" | ||
default 50 if BOARD_NRF52840DONGLE_NRF52840 | ||
default 20 |
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.
rather than introducing a new disjoint Kconfig that has the same purpose as an existing Kconfig, just use the existing Kconfig CONFIG_CLOCK_CONTROL_NRF_ACCURACY_PPM
e.g. CONFIG_CLOCK_CONTROL_NRF_K32SRC_50PPM
Implemented the new OpenThread radio implementation for the nRF Connect platform.
The new radio implementation is based on the nRF IEEE802.15.4 radio driver and does not use Zephyr's IEEE802.15.4 shim layer.
In this solution, the Zephyr's networking L2 layer is disabled, and radio packets are passed directly to the nRF radio.
Prepared a build environment to support building OpenThread without Zephyr's L2 and IEEE802.15.4 shim layers.
To use the new radio implementation, the
CONFIG_NET_L2_OPENTHREAD
Kconfig must be set ton
.Note: Documentation will be updated in the following PR.