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.

  • I tried it on a custom board with nrf5340 and nrf7001 but it is not working (nothing on NET core uart0). All the modifications to switch from nrf7002 to nrf7001 have been made and wifi test is working well.

  • Hi
    Do you get any output from the netcore with other samples?

    Are you using internal or external clock for the nrf5340? If you are using internal remember that you need to set the clock config in the .config for the network core. You might also need to set CONFIG_BOARD_ENABLE_CPUNET=y on your app core. 

    Another alternative is that you have forgotten to the following in your overlay

    gpio_fwd: nrf-gpio-forwarder {
      compatible = "nordic,nrf-gpio-forwarder";
      status = "okay";
    
      uart {
        gpios = <&gpio1 1 0>, <&gpio1 0 0>, <&gpio1 5 0>, <&gpio1 4 0>;
      };
    };

    Regards

    Runar

  • Hi,

    With nrf-gpio-forwarder, it worked, thanks.

    But now, I want to communicate with the chip using VCOM instead of UART and RTT viewer.

    I think it is possible because D+ and D- are rooted to an USB C port :

    I want to have log from APP core on VCOM0 and logs from NET core on VCOM1. Here is the code I use for APP core:

    zephyr_udc0: &usbd {
    	compatible = "nordic,nrf-usbd";
    	status = "okay";
    
    	cdc_acm_uart0: cdc_acm_uart0 {
    		compatible = "zephyr,cdc-acm-uart";
    		label = "CDC ACM 0";
    	};
     
    	cdc_acm_uart1: cdc_acm_uart1 {
    		compatible = "zephyr,cdc-acm-uart";
    		label = "CDC ACM 1";
    	};
    };

    compatible = "nordic,caelimp-nrf5340-cpuapp";
    
    	chosen {
    		zephyr,console = &cdc_acm_uart0;
    		zephyr,shell-uart = &cdc_acm_uart0;
    		zephyr,uart-mcumgr = &uart0;
    		zephyr,bt-mon-uart = &uart0;
    		zephyr,bt-c2h-uart = &uart0;
    		zephyr,sram = &sram0_image;
    		zephyr,flash = &flash0;
    		zephyr,code-partition = &slot0_partition;
    		zephyr,sram-secure-partition = &sram0_s;
    		zephyr,sram-non-secure-partition = &sram0_ns;
    		nordic,pm-ext-flash = &mx25l32;
    		zephyr,wifi = &wlan;
    	};

    # Enable USB subsystem
    CONFIG_USB_CDC_ACM=y
    CONFIG_CDC_ACM_IAD=y
    CONFIG_USB_DEVICE_STACK=y
    CONFIG_UART_INTERRUPT_DRIVEN=y 
    CONFIG_USB_DEVICE_MANUFACTURER="4MOD TECHNOLOGY"
    CONFIG_USB_DEVICE_PRODUCT="CAELIMP_9192"
    CONFIG_USB_DEVICE_SN="0001"
    CONFIG_USB_CONFIGURATION_STRING_DESC_ENABLE=y
    CONFIG_USB_CONFIGURATION_STRING_DESC="CDC ACM"
    CONFIG_USB_DEVICE_VID=0x2804
    CONFIG_USB_DEVICE_PID=0x9192
    CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
    CONFIG_USB_COMPOSITE_DEVICE=y
    CONFIG_USB_CDC_ACM_RINGBUF_SIZE=2048
    CONFIG_EARLY_CONSOLE=n
    CONFIG_UART_USE_RUNTIME_CONFIGURE=n

    When I plug the USB on my computer, I don't see the VCOM0 in the connected device area and in the windows manager I have : Unknown USB device - A USB device descriptor request failed.

    My questions are : 

    - Why the board is not reconized ?

    - How to enable it for NET core ?

    Best regards,

    Mallory.

  • Hi. 

    I would recommend that you start with the sample in zephyr/subsys/usb/console and see what they do just to get the USB running on the app core. After this is working you can add the network core

    Regards

    Runar

  • Hi,

    I ran the code example on my custom board ans on the nrf7002DK but same problem, unknown USB device - A USB device descriptor request failed for both.

    Best regards,

    Mallory.

Reply Children
Related