Wifi and BLE frequency test

Hi,

I'm trying to combine Wifi and BLE frequency test on nRF7002 DK. I started with radio_test example on nRF SDK 2.9.1 and toolchain 3.0.2.

I have added CONFIG_NRF70_RADIO_TEST_COMBO=y to prj.conf as suggested on others tickets. The project is compiling and I can send commands to tests the wifi on VCOM1 (logs from app core). On VCOM0, " *** Booting nRF Connect SDK v3.5.99-ncs1 *** " is printed twice but nothing after on net core. I can't send ble test commands  like "start_tx_carrier" and i have no more logs.

Any suggestions ?

Best regards,

Mallory.

Parents
  • Hi

     I would also recommend that you change toolchain version so that it matches the version of NCS you are using. 

    When you tried this, which sample did you use as starting point? You should be using the wifi/radio test sample

    Regards

    Runar

  • Hi,

    I'm starting with this project : https://docs.nordicsemi.com/bundle/ncs-2.9.1/page/nrf/samples/wifi/radio_test/README.html

    Noted, switching to SDK V2.9.1 and toolchain V2.9.1 also.

    Best regards,

    Mallory.

  • In addition, this are the uart terminal outputs:



    Best regards,

    Mallory.

  • Sorry for the delay. My recommendation would be to run this sample on NCS 3.+ as they have made it ready for multidomain out of the box

    Regards

    Runar

  • No problem.

    I followaed your recommandations and started a new project based on Wi-Fi: Radio test (Multi domain) with NRF SDK V3.1 and Toolchain V3.1.

    I tried to built the project but CONFIG_NRF70_RADIO_TEST_COMBO is not reconnized :100 

     *  Exécution de la tâche : nRF Connect: Build [pristine]: multi_domain/build 
    
    Building multi_domain
    west build --build-dir c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain --pristine --board nrf7002dk/nrf5340/cpuapp --sysbuild -- -DCONF_FILE="prj.conf"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/b8b84efebd/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v3.1.0/zephyr/.cache
    -- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
    -- Board: nrf7002dk, qualifiers: nrf5340/cpuapp
    Parsing c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/Kconfig.sysbuild
    Loaded configuration 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/_sysbuild/empty.conf'
    Merged configuration 'c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/sysbuild.conf'
    Configuration saved to 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/zephyr/.config'
    Kconfig header saved to 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/_sysbuild/autoconf.h'
    --
       **********************************
       * Running CMake for multi_domain *
       **********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/b8b84efebd/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v3.1.0/zephyr/.cache
    -- Zephyr version: 4.1.99 (C:/ncs/v3.1.0/zephyr)
    -- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
    -- Board: nrf7002dk, qualifiers: nrf5340/cpuapp
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b8b84efebd/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b8b84efebd/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/b8b84efebd/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v3.1.0/zephyr/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp.dts
    -- Generated zephyr.dts: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/zephyr.dts
    -- Generated pickled edt: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/edt.pickle
    -- Generated devicetree_generated.h: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/include/generated/zephyr/devicetree_generated.h
    
    warning: MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG (defined at
    C:/ncs/v3.1.0/zephyr/modules/mbedtls\Kconfig.mbedtls:606, modules\mbedtls\Kconfig.mbedtls:606) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    ((MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" &&
    MBEDTLS) || (MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-
    mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBED
    TLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG and/or look up
    MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG in the menuconfig/guiconfig interface. The
    Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices
    sections of the manual might be helpful too.
    
    
    warning: The choice symbol MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG (defined at
    C:/ncs/v3.1.0/zephyr/modules/mbedtls\Kconfig.mbedtls:568, modules\mbedtls\Kconfig.mbedtls:568) was
    selected (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG and/or look
    up MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    Parsing C:/ncs/v3.1.0/zephyr/Kconfig
    C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/prj.conf:40: warning: attempt to assign the value 'y' to the undefined symbol NRF70_RADIO_TEST_COMBOLoaded configuration 'C:/ncs/v3.1.0/zephyr/boards/nord
    ic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_defconfig'
    Merged configuration 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/prj.conf'
    Merged configuration 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/.config.sysbuild'
    
    
    error: Aborting due to Kconfig warnings
    
    CMake Error at C:/ncs/v3.1.0/zephyr/cmake/modules/kconfig.cmake:377 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      C:/ncs/v3.1.0/nrf/cmake/modules/kconfig.cmake:83 (include)
      C:/ncs/v3.1.0/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:9 (find_package)
    
    -- Configuring incomplete, errors occurred!
    
    CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
      CMake configure failed for Zephyr project: multi_domain
    
      Location: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain
    Call Stack (most recent call first):
      cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
      cmake/modules/sysbuild_default.cmake:21 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      C:/ncs/v3.1.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/CMakeFiles/CMakeOutput.log".
    ←[91mFATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b8b84efebd\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/b8b84efebd/opt/bin/python.exe '-Bc:\Documents\4MOD\NORDIC\CAELIMP\multi
    _domain\build' -GNinja -DBOARD=nrf7002dk/nrf5340/cpuapp -DCONF_FILE=prj.conf '-SC:\ncs\v3.1.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Documents\4MOD\NORDIC\CAELIMP\multi_domain'
    ←[0m
     *  Arrêt du processus de terminal. Code de sortie : 1. 
     *  Le terminal sera réutilisé par les tâches, appuyez sur une touche pour le fermer.


    Best regards,

    Mallory.

Reply
  • No problem.

    I followaed your recommandations and started a new project based on Wi-Fi: Radio test (Multi domain) with NRF SDK V3.1 and Toolchain V3.1.

    I tried to built the project but CONFIG_NRF70_RADIO_TEST_COMBO is not reconnized :100 

     *  Exécution de la tâche : nRF Connect: Build [pristine]: multi_domain/build 
    
    Building multi_domain
    west build --build-dir c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain --pristine --board nrf7002dk/nrf5340/cpuapp --sysbuild -- -DCONF_FILE="prj.conf"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/b8b84efebd/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v3.1.0/zephyr/.cache
    -- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
    -- Board: nrf7002dk, qualifiers: nrf5340/cpuapp
    Parsing c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/Kconfig.sysbuild
    Loaded configuration 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/_sysbuild/empty.conf'
    Merged configuration 'c:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/sysbuild.conf'
    Configuration saved to 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/zephyr/.config'
    Kconfig header saved to 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/_sysbuild/autoconf.h'
    --
       **********************************
       * Running CMake for multi_domain *
       **********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/b8b84efebd/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v3.1.0/zephyr/.cache
    -- Zephyr version: 4.1.99 (C:/ncs/v3.1.0/zephyr)
    -- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
    -- Board: nrf7002dk, qualifiers: nrf5340/cpuapp
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b8b84efebd/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b8b84efebd/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/b8b84efebd/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v3.1.0/zephyr/boards/nordic/nrf7002dk/nrf7002dk_nrf5340_cpuapp.dts
    -- Generated zephyr.dts: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/zephyr.dts
    -- Generated pickled edt: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/edt.pickle
    -- Generated devicetree_generated.h: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/include/generated/zephyr/devicetree_generated.h
    
    warning: MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG (defined at
    C:/ncs/v3.1.0/zephyr/modules/mbedtls\Kconfig.mbedtls:606, modules\mbedtls\Kconfig.mbedtls:606) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    ((MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-mbedtls.h" &&
    MBEDTLS) || (MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-
    mbedtls.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBED
    TLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG and/or look up
    MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG in the menuconfig/guiconfig interface. The
    Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices
    sections of the manual might be helpful too.
    
    
    warning: The choice symbol MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG (defined at
    C:/ncs/v3.1.0/zephyr/modules/mbedtls\Kconfig.mbedtls:568, modules\mbedtls\Kconfig.mbedtls:568) was
    selected (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG and/or look
    up MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    Parsing C:/ncs/v3.1.0/zephyr/Kconfig
    C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/prj.conf:40: warning: attempt to assign the value 'y' to the undefined symbol NRF70_RADIO_TEST_COMBOLoaded configuration 'C:/ncs/v3.1.0/zephyr/boards/nord
    ic/nrf7002dk/nrf7002dk_nrf5340_cpuapp_defconfig'
    Merged configuration 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/prj.conf'
    Merged configuration 'C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/multi_domain/zephyr/.config.sysbuild'
    
    
    error: Aborting due to Kconfig warnings
    
    CMake Error at C:/ncs/v3.1.0/zephyr/cmake/modules/kconfig.cmake:377 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      C:/ncs/v3.1.0/nrf/cmake/modules/kconfig.cmake:83 (include)
      C:/ncs/v3.1.0/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:9 (find_package)
    
    -- Configuring incomplete, errors occurred!
    
    CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
      CMake configure failed for Zephyr project: multi_domain
    
      Location: C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain
    Call Stack (most recent call first):
      cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
      cmake/modules/sysbuild_default.cmake:21 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      C:/ncs/v3.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      C:/ncs/v3.1.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Documents/4MOD/NORDIC/CAELIMP/multi_domain/build/CMakeFiles/CMakeOutput.log".
    ←[91mFATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b8b84efebd\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/b8b84efebd/opt/bin/python.exe '-Bc:\Documents\4MOD\NORDIC\CAELIMP\multi
    _domain\build' -GNinja -DBOARD=nrf7002dk/nrf5340/cpuapp -DCONF_FILE=prj.conf '-SC:\ncs\v3.1.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Documents\4MOD\NORDIC\CAELIMP\multi_domain'
    ←[0m
     *  Arrêt du processus de terminal. Code de sortie : 1. 
     *  Le terminal sera réutilisé par les tâches, appuyez sur une touche pour le fermer.


    Best regards,

    Mallory.

Children
Related