-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
samples: Add nRF2220EK support for RT and DTM samples #21027
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: c5709d287ac4d6528b431306124f952ddeb6b6e8 more detailssdk-nrf:
Github labels
List of changed files detected by CI (6)
Outputs:ToolchainVersion: 4ffa2202d5 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: https://ncsdoc.z6.web.core.windows.net/PR-21027/nrf/releases_and_maturity/releases/release-notes-changelog.html |
|
||
To add support for the nRF21540 FEM, build the sample for a board containing nRF21540 FEM like :ref:`nrf21540dk/nrf52840 <zephyr:nrf21540dk_nrf52840>` or create a devicetree overlay file describing how FEM is connected to nRF5 SoC in your device. | ||
To add support for the FEM, build the sample for a board containing FEM like :ref:`nrf21540dk/nrf52840 <zephyr:nrf21540dk_nrf52840>` or create a devicetree overlay file describing how FEM is connected to nRF5 SoC in your device. |
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.
To add support for the FEM, build the sample for a board containing FEM like :ref:`nrf21540dk/nrf52840 <zephyr:nrf21540dk_nrf52840>` or create a devicetree overlay file describing how FEM is connected to nRF5 SoC in your device. | |
To add support for the FEM, build the sample for a board containing FEM like :ref:`nRF21540 DK/nRF52840 <zephyr:nrf21540dk_nrf52840>` or create a devicetree overlay file describing how FEM is connected to the nRF52 Series SoC in your device. |
|
||
.. note:: | ||
If you use the nRF21540 EK, append ``nrf21540ek`` shield to your build command instructing build system to append the appropriate devicetree overlay file. | ||
If you use the nRF2220EK, append ``nrf2220ek`` shield to your build command instructing build system to append the appropriate devicetree overlay file. |
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.
If you use the nRF2220EK, append ``nrf2220ek`` shield to your build command instructing build system to append the appropriate devicetree overlay file. | |
If you use the nRF2220 EK, append the ``nrf2220ek`` shield to your build command instructing the build system to append the appropriate devicetree overlay file. |
|
||
.. include:: /includes/sample_dtm_radio_test_fem.txt | ||
|
||
You can configure the transmitted power gain, antenna output and activation delay in nRF21540 using vendor-specific commands, see `Vendor-specific packet payload`_. | ||
You can configure the transmitted power gain, antenna output and activation delay in FEMs using vendor-specific commands, see `Vendor-specific packet payload`_. |
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.
You can configure the transmitted power gain, antenna output and activation delay in FEMs using vendor-specific commands, see `Vendor-specific packet payload`_. | |
You can configure the transmitted power gain, antenna output, and activation delay in FEMs using vendor-specific commands, see `Vendor-specific packet payload`_. |
|
||
.. include:: /includes/sample_dtm_radio_test_fem.txt | ||
|
||
You can configure the nRF21540 front-end module (FEM) transmitted power control, antenna output and activation delay using the main shell commands of the :ref:`radio_test_ui`. | ||
You can configure the front-end module (FEM) transmitted power control, antenna output and activation delay using the main shell commands of the :ref:`radio_test_ui`. |
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.
You can configure the front-end module (FEM) transmitted power control, antenna output and activation delay using the main shell commands of the :ref:`radio_test_ui`. | |
You can configure the front-end module (FEM) transmitted power control, antenna output, and activation delay using the main shell commands of the :ref:`radio_test_ui`. |
@@ -1,9 +1,10 @@ | |||
You can add support for the nRF21540 front-end module (FEM) to the sample. | |||
You can add support for the nRF21540 or the nRF2220 front-end module (FEM) to the sample. |
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.
You can add support for the nRF21540 or the nRF2220 front-end module (FEM) to the sample. | |
You can add support for the nRF21540 or nRF2220 front-end module (FEM) to the sample. |
* Added loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | ||
* Added support for the ``nRF2220`` front-end module. |
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.
* Added loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | |
* Added support for the ``nRF2220`` front-end module. | |
* Added: | |
* Loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | |
* Support for the nRF2220 front-end module. |
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.
- Support for the :ref:
nRF2220 front-end module <ug_radio_fem_nrf2220ek>
.
Good to link to the Developing with the nRF2220 EK guide.
* Added loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | ||
* Added support for the ``nRF2220`` front-end module. |
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.
* Added loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | |
* Added support for the ``nRF2220`` front-end module. | |
* Added: | |
* Loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | |
* Support for the ``nRF2220`` front-end module. |
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.
- Support for the :ref:
nRF2220 front-end module <ug_radio_fem_nrf2220ek>
.
Good to link to the Developing with the nRF2220 EK guide.
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.
The code looks good, but I'd like to clarify details of different scenarios of power/gain control:
- how does the
CONFIG_DTM_POWER_CONTROL_AUTOMATIC
option affect the nRF2220? Does this FEM allow an open-loop gain control at all? Is there a register where the direct gain value can be set if this option is disabled, when user sends theFEM_TX_POWER_CONTROL_SET
command (length = 4 in a VS command)? Is the register value encoded the same way? - the same question goes for Radio Test
Please align these vendor-specific commands with the new FEM if needed. Maybe the CONFIG_DTM_POWER_CONTROL_AUTOMATIC
option doesn't apply to nRF2220? Please align documentation in this aspect.
Additionally, antenna selection is not available for this FEM.
6d7e72e
to
4caefd6
Compare
* Added: | ||
|
||
* Loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | ||
* Support for the :ref: nRF2220 front-end module <ug_radio_fem_nrf2220ek>. |
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.
* Support for the :ref: nRF2220 front-end module <ug_radio_fem_nrf2220ek>. | |
* Support for the :ref:`nRF2220 front-end module <ug_radio_fem_nrf2220ek>`. |
* Added: | ||
|
||
* Loading of radio trims and a fix of a hardware errata for the nRF54H20 SoC to improve the RF performance. | ||
* Support for the :ref: nRF2220 front-end module <ug_radio_fem_nrf2220ek>. |
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.
* Support for the :ref: nRF2220 front-end module <ug_radio_fem_nrf2220ek>. | |
* Support for the :ref:`nRF2220 front-end module <ug_radio_fem_nrf2220ek>`. |
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.
Adding a doc related comment. Otherwise the PR looks good to me.
|
||
.. include:: /includes/sample_dtm_radio_test_fem.txt | ||
|
||
You can configure the nRF21540 front-end module (FEM) transmitted power control, antenna output and activation delay using the main shell commands of the :ref:`radio_test_ui`. | ||
You can configure the front-end module (FEM) transmitted power control, antenna output, and activation delay using the main shell commands of the :ref:`radio_test_ui`. |
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.
Please add a note to make it clear to the users, that each FEM has different interface and not all commands will work the same way, and some may not be supported, maybe something like:
Note: each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific FEM and those supported may work differently on different FEMs.
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.
Added
|
||
.. include:: /includes/sample_dtm_radio_test_fem.txt | ||
|
||
You can configure the transmitted power gain, antenna output and activation delay in nRF21540 using vendor-specific commands, see `Vendor-specific packet payload`_. | ||
You can configure the transmitted power gain, antenna output, and activation delay in FEMs using vendor-specific commands, see `Vendor-specific packet payload`_. |
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.
Please add a note to make it clear to the users, that each FEM has different interface and not all commands will work the same way, and some may not be supported, maybe something like:
Note: each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific FEM and those supported may work differently on different FEMs.
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.
Added
You can configure the transmitted power gain, antenna output, and activation delay in FEMs using vendor-specific commands, see `Vendor-specific packet payload`_. | ||
|
||
.. note:: | ||
Each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific front-end module (FEM) and those supported may work differently on different front-end modules (FEMs). |
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.
Each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific front-end module (FEM) and those supported may work differently on different front-end modules (FEMs). | |
Each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific FEM and those supported may work differently on different FEMs. |
You can configure the front-end module (FEM) transmitted power control, antenna output, and activation delay using the main shell commands of the :ref:`radio_test_ui`. | ||
|
||
.. note:: | ||
Each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific front-end module (FEM) and those supported may work differently on different front-end modules (FEMs). |
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.
Each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific front-end module (FEM) and those supported may work differently on different front-end modules (FEMs). | |
Each front-end module (FEM) has different capabilities and operating modes, so some commands may not be supported by a specific FEM and those supported may work differently on different FEMs. |
Add nRF2220EK support for: - direct_test_mode - radio_test samples. Jira: NCSDK-31910 Signed-off-by: Dominik Chat <dominik.chat@nordicsemi.no>
Add nRF2220EK support for:
Jira: NCSDK-31910