Combined WiFi and BLE Radio testing for nRF7002DK

Hello,

We are in certification stages for our custom product based on the nRF7002DK. Our application requires BLE and WiFi to be operational simultaneously. Consequently, the certification process also requires capability to test both WiFi and BLE radio simultaneously.

We have been referring to the existing separate nordic samples for BLE and WiFi radio tests but unable to find a sample/ guide which can make both work as part of the same application.

Is there any way to achieve this where the radio tests can be performed simultaneously for WiFi and BLE through a common build?

Thanks,

Ashish 

  • Hi,

     

    You can enable building wifi/radio_test to build both by setting:

    CONFIG_NRF70_RADIO_TEST_COMBO=y

     

    This will include the peripheral/radio_test on the network core of the nRF5340, accessible via UART on P1.00/P1.01.

     

    Kind regards,

    Håkon

  • Hello Håkon,

    Thanks for guiding with this, will try this out tomorrow.

    Had 2 questions in the meantime - 

    1. Which NCS version does CONFIG_NRF70_RADIO_TEST_COMBO need? - our production build is currently on NCS 2.6.1; updating to NCS 2.8 is currently a work in progress
    2. Is there any way to control both WiFi and BLE radio test through RTT? - P1.00/P1.01 are already allocated for other purposes on our system.

    Thank you,

    Ashish

  • Hi,

     

    1. Yes, this is available in v2.6.1.

    2. You can use RTT (this will require additional configuration), but if you have two unused GPIOs (routed to test points for instance) to use instead, that is recommended.

    Here's an example configuration for enabling RTT:

    CONFIG_SERIAL=n
    CONFIG_SHELL_BACKEND_SERIAL=n
    CONFIG_RTT_CONSOLE=y
    CONFIG_UART_CONSOLE=n
    
    CONFIG_USE_SEGGER_RTT=y
    CONFIG_SHELL_BACKEND_RTT=y

    place this in the ncs/nrf/samples/peripheral/radio_test/boards/nrf7002dk_nrf5340_cpuapp.conf and it should be automatically detected when you configure the samples/wifi/radio_test sample with CONFIG_NRF700X_RADIO_TEST_COMBO=y set.

    Let me know if you run into any issues or see problems.

     

    Kind regards,

    Håkon

  • Hi Håkon,

    We performed the following steps - 

    1. Enabled CONFIG_NRF700X_RADIO_TEST_COMBO=y in prj.conf file in ncs/nrf/samples/wifi/radio_test
    2. Added RTT logs in ncs/nrf/samples/peripheral/radio_test/boards/nrf7002dk_nrf5340_cpuapp.conf
    3. Built ncs/nrf/samples/wifi/radio_test for nrf7002dk_nrf5340_cpuapp

    On following the above steps, we are able to run the WiFi test commands via RTT but getting 'not found' errors when trying to run BLE commands (screenshot below).

     

    Also, validated that on enabling CONFIG_NRF700X_RADIO_TEST_COMBO, separate network and app core builds are being generated.

    Anything we might be missing?

     

    Thanks,

    Ashish

  • Now you have two separate images running on each core. Your app_core is running wifi/radio_test and the network core is running peripheral/radio_test. These two do not communicate to eachother, meaning that you need to open up a communication channel to each core.

    You need to connect to the network core (in JLinkRTTViewer: NRF5340_XXAA_NET) in order to issue bluetooth radio_test commands.

     

    Kind regards,

    Håkon

Related