Skip to content

Commit

Permalink
doc: Fixes for FEM documentation
Browse files Browse the repository at this point in the history
This commit fixes some errors in the FEM user guide.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
  • Loading branch information
ahasztag authored and nordicjm committed Jun 23, 2023
1 parent 144e9f6 commit 64ce46c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions doc/nrf/app_dev/working_with_fem/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The following FEM implementations are supported:
To use it, set the :kconfig:option:`CONFIG_MPSL_FEM_NRF21540_GPIO` Kconfig option to ``y``.
* The nRF21540 GPIO+SPI implementation, see :ref:`ug_radio_fem_nrf21540_spi_gpio`.
To use it, set the :kconfig:option:`CONFIG_MPSL_FEM_NRF21540_GPIO_SPI` Kconfig option to ``y``.
* The nRF21540 2-pin simple GPIO implementation.
* The 2-pin simple GPIO implementation.
To use it, set the :kconfig:option:`CONFIG_MPSL_FEM_SIMPLE_GPIO` Kconfig option to ``y``.

It is possible to only use the :ref:`nrfxlib:mpsl_fem` API if your application does not require other MPSL features.
Expand Down Expand Up @@ -372,18 +372,18 @@ To use nRF21540 in SPI or mixed mode, complete the following steps:
};
fem_spi: &spi3 {
status = "okay";
status = "okay";
pinctrl-0 = <&spi3_default_alt>;
pinctrl-1 = <&spi3_sleep_alt>;
pinctrl-names = "default", "sleep";
cs-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;

nrf_radio_fem_spi: nrf21540_fem_spi@0 {
compatible = "nordic,nrf21540-fem-spi";
status = "okay";
reg = <0>;
spi-max-frequency = <8000000>;
};
cs-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
nrf_radio_fem_spi: nrf21540_fem_spi@0 {
compatible = "nordic,nrf21540-fem-spi";
status = "okay";
reg = <0>;
spi-max-frequency = <8000000>;
};
};
In this example, the nRF21540 is controlled by the ``spi3`` bus.
Expand Down Expand Up @@ -615,7 +615,7 @@ Alternatively, add the shield in the project's :file:`CMakeLists.txt` file:

.. code-block:: none
set(SHIELD nrf21540_ek)
set(SHIELD nrf21540_ek)
To build with the |nRFVSC|, specify ``-DSHIELD=nrf21540_ek`` in the **Extra Cmake arguments** field.
See :ref:`cmake_options`.
Expand Down

0 comments on commit 64ce46c

Please sign in to comment.