|
| 1 | +.. _ug_nrf7002eb2_gs: |
| 2 | + |
| 3 | +Developing with nRF7002-EB II |
| 4 | +############################# |
| 5 | + |
| 6 | +.. contents:: |
| 7 | + :local: |
| 8 | + :depth: 2 |
| 9 | + |
| 10 | +The nRF7002 :term:`Expansion Board (EB)` II (PCA63571), part of the `nRF70 Series Family <nRF70 Series product page_>`_, can be used to provide Wi-Fi® connectivity to compatible development or evaluation boards through the nRF7002 Wi-Fi 6 companion IC. |
| 11 | + |
| 12 | +You can use the nRF7002-EB II to provide Wi-Fi connectivity to the :ref:`zephyr:nrf54h20dk_nrf54h20` and :ref:`zephyr:nrf54l15dk_nrf54l15` board targets. |
| 13 | + |
| 14 | +.. figure:: images/nRF7002eb2.png |
| 15 | + :alt: nRF7002-EB II |
| 16 | + |
| 17 | + nRF7002-EB II |
| 18 | + |
| 19 | +Pin mapping for the nRF54H20 DK and the nRF54L15 DK |
| 20 | +*************************************************** |
| 21 | + |
| 22 | +For nRF54H20 DK and nRF54L15 DK, refer to the following tables for the pin mapping for these kits. |
| 23 | +The board is mounted on the **P1** connector of these DKs |
| 24 | + |
| 25 | +.. tabs:: |
| 26 | + |
| 27 | + .. group-tab:: nRF54L15 DK |
| 28 | + |
| 29 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 30 | + | nRF70 Series pin name (EB name) | nRF54L15 DK pins | Function | |
| 31 | + +===================================+===================+===============================================+ |
| 32 | + | CLK (CLK) | P1.04 | SPI Clock | |
| 33 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 34 | + | CS (CS) | P1.07 | SPI Chip Select | |
| 35 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 36 | + | MOSI (D0) | P1.06 | SPI MOSI | |
| 37 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 38 | + | MISO (D1) | P1.06 | SPI MISO | |
| 39 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 40 | + | BUCKEN (EN) | P1.12 | Enable Buck regulator | |
| 41 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 42 | + | IOVDDEN | P1.11 | Enable IOVDD regulator | |
| 43 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 44 | + | IRQ (IRQ) | P1.10 | Interrupt from nRF7002 | |
| 45 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 46 | + | GRANT (GRT) | P1.13 | Coexistence grant from nRF7002 | |
| 47 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 48 | + | REQ (REQ) | P1.09 | Coexistence request to nRF7002 | |
| 49 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 50 | + | STATUS (ST0) | P1.08 | Coexistence status from nRF7002 | |
| 51 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 52 | + |
| 53 | + .. group-tab:: nRF54H20 DK |
| 54 | + |
| 55 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 56 | + | nRF70 Series pin name (EB name) | nRF54H20 DK pins | Function | |
| 57 | + +===================================+===================+===============================================+ |
| 58 | + | CLK (CLK) | P1.01 | SPI Clock | |
| 59 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 60 | + | CS (CS) | P1.07 | SPI Chip Select | |
| 61 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 62 | + | MOSI (D0) | P1.06 | SPI MOSI | |
| 63 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 64 | + | MISO (D1) | P1.05 | SPI MISO | |
| 65 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 66 | + | BUCKEN (EN) | P1.02 | Enable Buck regulator | |
| 67 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 68 | + | IOVDDEN | P1.04 | Enable IOVDD regulator | |
| 69 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 70 | + | IRQ (IRQ) | P1.10 | Interrupt from nRF7002 | |
| 71 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 72 | + | GRANT (GRT) | P1.03 | Coexistence grant from nRF7002 | |
| 73 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 74 | + | REQ (REQ) | P1.09 | Coexistence request to nRF7002 | |
| 75 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 76 | + | STATUS (ST0) | P1.08 | Coexistence status from nRF7002 | |
| 77 | + +-----------------------------------+-------------------+-----------------------------------------------+ |
| 78 | + |
| 79 | +DIP switch settings for nRF54L15 DK and nRF54H20 DK |
| 80 | +*************************************************** |
| 81 | + |
| 82 | +The **GPIO MAP SEL** switch on the nRF7002-EB II can be used to select the GPIO mapping for the nRF54H20 DK and the nRF54L15 DK. |
| 83 | + |
| 84 | +* **nRF54L15 DK**: Set the switch towards MAP1 (the LED will glow at the **MAP1** end). |
| 85 | +* **nRF54H20 DK**: Set the switch towards MAP2 (the LED will glow at the **MAP2** end). |
| 86 | + |
| 87 | +.. _nrf7002eb2_building_programming: |
| 88 | + |
| 89 | +Building and programming with nRF7002-EB II |
| 90 | +******************************************* |
| 91 | + |
| 92 | +To build for the nRF7002-EB II, use a compatible :ref:`board target <app_boards_names>` with the CMake ``SHIELD`` option set to the corresponding shield name. |
| 93 | +See :ref:`cmake_options` for instructions on how to provide CMake options. |
| 94 | + |
| 95 | +For example, if you build the :ref:`wifi_shell_sample` sample for nRF54L15 DK on the command line, use the following command: |
| 96 | + |
| 97 | +.. code-block:: console |
| 98 | +
|
| 99 | + west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -Dshell_SHIELD="nrf7002eb2" -Dshell_SNIPPET=nrf70-wifi |
| 100 | +
|
| 101 | +If you use the |nRFVSC|, specify ``-DSHIELD=nrf7002eb2`` in the **Extra Cmake arguments** field when `setting up a build configuration <How to work with build configurations_>`_. |
| 102 | + |
| 103 | +Alternatively, add the shield in the project's :file:`CMakeLists.txt` file by using the following command: |
| 104 | + |
| 105 | +.. code-block:: console |
| 106 | +
|
| 107 | + set(SHIELD nrf7002eb2) |
| 108 | +
|
| 109 | +To build for the nRF7002-EB II with nRF54H20 DK, use the ``nrf54h20dk/nrf54h20/cpuapp`` board target with the CMake ``SHIELD`` variable set to ``nrf7002eb2``. |
| 110 | +To build for a custom target, set ``-DSHIELD="nrf7002eb2"`` when you invoke ``west build`` or ``cmake`` in your |NCS| application. |
| 111 | + |
| 112 | +Alternatively, you can add the shield in the project's :file:`CMakeLists.txt` file by using the ``set(SHIELD nrf7002eb2)`` command. |
| 113 | + |
| 114 | +To build for the nRF7002-EB II with the nRF54L15 DK, use the ``nrf54l15dk/nrf54l15/cpuapp`` board target with the CMake ``SHIELD`` variable set to ``nrf7002eb2``. |
| 115 | +To build for a custom target, set ``-DSHIELD="nrf7002eb2"`` when you invoke ``west build`` or ``cmake`` in your |NCS| application. |
| 116 | + |
| 117 | +Alternatively, you can add the shield in the project's :file:`CMakeLists.txt` file by using the ``set(SHIELD nrf7002eb2)`` command. |
| 118 | + |
| 119 | +To build with coexistence mode enabled, set ``-DSHIELD="nrf7002eb2;nrf7002eb2_coex"`` when you invoke ``west build`` or ``cmake`` in your |NCS| application. |
| 120 | +For optimal build configuration, use the ``nrf70-wifi`` snippet. |
| 121 | + |
| 122 | +Limitations when building with nRF54H20 DK and nRF54L15 DK |
| 123 | +********************************************************** |
| 124 | + |
| 125 | +The Wi-Fi support is experimental and has the following limitations: |
| 126 | + |
| 127 | +* It is suitable only for low-throughput applications. |
| 128 | +* The Wi-Fi performance is not optimized. |
| 129 | +* Limited number of Wi-Fi samples are supported on nRF54H20 DK. |
| 130 | + Refer to the :ref:`wifi_samples` documentation for the supported samples. |
0 commit comments