Matter on TWT

Hi

I am trying to test Wi-Fi 6 Target Wake Time (TWT) in a matter device. I have built and run the light bulb example, but I can't seem to find a way to make it run with TWT. Is there a way to configure the sample to use TWT?

Parents Reply Children
  • Hi,

    Please check the samples under the directory that exists. I hope this guide also can help How to build an application from the nRF Connect SDK 

    This is my setting

    -Amanda H.

  • Hi

    I have found the sample in the directory and even tried manually copying it and then opening it as an existing application, but there are then no bords available when making the build config.

    It seems to me that there is a problem with the installation of v.2.4.99 hence there is no problem when using SDK versions installed with the nRF Connect for Desktop. 

    I know you don't have much information to work with here, but I don't know what more to inform. Hope you can help

    [15:27:34] nRF Command Line Tools 10.23.0 are up to date
    [15:27:35] nrfutil [16192]: D6 { id: '1050702215', capabilities: { rtt: true, erase: false, recover: false }, device: { id: 3, jlink: [Object], serialNumber: '001050702215', serialPorts: [Array], traits: [Object], usb: [Object] } }
    IMPORTANT: The data below could contain sensitive or confidential information about your environment.
    If you do not wish this to be seen by others, please make sure to remove it before sharing.
    
    For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "win32",
        "osVersion": "Windows 10 Pro",
        "osKernel": "10.0.19045",
        "vscode": "1.81.1",
        "electron": "22.3.18",
        "node": "v16.17.1"
      },
      "system": {
        "date": "2023-08-24T13:33:10.837Z",
        "vscodeRoot": "c:\\Users\\mhp\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "nrfConnectForDesktopInstalled": true,
        "vscodeUptime": "00:06:11",
        "osUptime": "01:42:47",
        "cpu": {
          "model": "Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz",
          "speed": "2594 MHz",
          "count": 2
        },
        "memory": {
          "total": "15.78 GB",
          "free": "8.13 GB"
        }
      },
      "workspace": {
        "name": null,
        "workspaceFile": null,
        "folders": []
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2023.7.129",
            "path": "c:\\Users\\mhp\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.7.129-win32-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2023.7.47",
            "path": "c:\\Users\\mhp\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2023.7.47",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2023.7.56",
            "path": "c:\\Users\\mhp\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2023.7.56",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2023.6.51",
            "path": "c:\\Users\\mhp\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2023.6.51",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.17.4",
          "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
          "ms-vscode.js-debug": "1.81.0",
          "ms-vscode.js-debug-companion": "1.1.2",
          "ms-vscode.vscode-js-profile-table": "1.0.3",
          "trond-snekvik.gnu-mapfiles": "1.1.0",
          "twxs.cmake": "0.0.17"
        }
      },
      "tools": {
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.0",
        "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "7.88j",
        "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.23.0",
        "nrfutil": "Not found",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\cmake.exe": "3.20.5",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts\\west.exe": "1.0.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\python.exe": "3.8.2",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\ninja.exe": "1.9.0",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gperf.exe": "3.1",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\dtc.exe": "1.4.7",
        "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gn.exe": "2105",
        "C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
        "gdbPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe"
      },
      "sdks": [
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\v2.4.0"
        },
        {
          "version": "2.4.1",
          "path": "c:\\ncs\\v2.4.1"
        },
        {
          "version": "2.4.99",
          "path": "c:\\ncs\\v2.4.99"
        }
      ],
      "toolchains": [
        {
          "version": "2.4.0",
          "path": "c:\\ncs\\toolchains\\31f4403e35"
        }
      ],
      "connectedDevices": [
        {
          "serialNumber": "001050702215",
          "boardVersion": "PCA10143",
          "deviceFamily": "NRF53_FAMILY",
          "deviceVersion": "NRF5340_xxAA_ENGD",
          "jlinkObFirmwareVersion": "J-Link OB-nRF5340-NordicSemi compiled Nov  7 2022 16:22:01"
        }
      ],
      "deviceProvider": "nrfutil",
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "c:\\ncs\\v2.4.99",
          "toolchain": {
            "path": "${nrf-connect.toolchain:2.4.0}"
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig",
            "executeInDefaultShell": false
          },
          "welcome": {
            "showOnStartup": false
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "debugging": {
            "flash": true,
            "bindings": {}
          },
          "activeAppFollowActiveEditor": true,
          "deviceProvider": "nrfutil"
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "environment": {
        "westEnv": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\mhp",
          "HOMEDRIVE": "H:",
          "HOMEPATH": "\\",
          "PATH": "C:\\ncs\\toolchains\\31f4403e35;C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin;C:\\ncs\\toolchains\\31f4403e35\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\31f4403e35\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\aarch64-zephyr-elf\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\x86_64-zephyr-elf\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;c:\\Users\\mhp\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.7.129-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;C:\\ncs\\zap-win;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\usbipd-win\\;C:\\Program Files\\Git\\cmd;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\CMake\\bin;C:\\Users\\mhp\\AppData\\Local\\Programs\\Python\\Python311;C:\\Users\\mhp\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\ncs\\gn;C:\\Program Files\\7-Zip;C:\\ncs\\gn-windows-amd64;C:\\Users\\mhp\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;",
          "ZEPHYR_BASE": "c:\\ncs\\v2.4.99\\zephyr",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk",
          "PYTHONPATH": "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Lib;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Lib\\site-packages"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "C:\\Users\\mhp",
          "HOMEDRIVE": "H:",
          "HOMEPATH": "\\",
          "Path": "C:\\ncs\\zap-win;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\usbipd-win\\;C:\\Program Files\\Git\\cmd;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\CMake\\bin;C:\\Users\\mhp\\AppData\\Local\\Programs\\Python\\Python311;C:\\Users\\mhp\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\ncs\\gn;C:\\Program Files\\7-Zip;C:\\ncs\\gn-windows-amd64;C:\\Users\\mhp\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;",
          "PATH": "C:\\ncs\\zap-win;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files\\usbipd-win\\;C:\\Program Files\\Git\\cmd;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\CMake\\bin;C:\\Users\\mhp\\AppData\\Local\\Programs\\Python\\Python311;C:\\Users\\mhp\\AppData\\Local\\Programs\\Python\\Python311\\Scripts;C:\\ncs\\gn;C:\\Program Files\\7-Zip;C:\\ncs\\gn-windows-amd64;C:\\Users\\mhp\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;"
        },
        "toolchainPath": "c:\\ncs\\toolchains\\31f4403e35",
        "toolchainBinPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin",
        "toolchainVersion": "2.4.0"
      },
      "terminal": {
        "defaultProfile": null
      }
    }

  • Hi, 

    Do you set the correct SDK version on the Welcome page?

    -Amanda H.

  • Hi, 

    Does it have nRF board files under nrf\boards\arm and zephyr\boards\arm?

    From the support information and setting figures, everything looks correct. I don't know why it cannot load the board for the build config. Does it also happen to the formal version like v2.4.1? Try to reopen the VSCode or PC to see if that can help or not. 

    -Amanda H.

Related