nRF7002dk example WiFi SCAN not working

I have got to start with nRF7002-dk and the Wi-Fi sample from the quick start is not working.

I have tried to compile the code on VS code and flash the same code on the device but still the same problem exists.

Parents Reply Children
  • Hi,

    Just a quick addition to my previous reply:

    According to the error which you are receiving, it seems that the interface is not up by the time you scan. This usually happens if the firmware doesn't load or the driver init failed. In some cases, the board target is wrong (not in your case) or a hardware issue if its a custom board. You don't have to modify any default kconfigs. In prj.conf, can you confirm that you have the following enabled?

    CONFIG_WIFI=y

    CONFIG_NET_L2_WIFI_MGMT=y

    CONFIG_WIFI_NRF70=y

    CONFIG_NETWORKING=y

    These should be enabled in order for the interface to be brought up. 

    Best Regards,

    Samruddhi

  • Hi,

    Thank you for your reply.

    Yes, I have all those configurations enabled in my project. Should I conclude that my board is not useful anymore?

  • Hi,

    Are you able to see any different COM ports?

    Best Regards,

    Samruddhi

  • Hi,

    Yes, here is the full output from the COM port. I can see two COM Ports.

    *** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***
    *** Using Zephyr OS v3.7.99-0bc3393fb112 ***
    [00:00:00.389,556] <err> wifi_nrf_bus: Error: RDSR2 failed
    [00:00:00.389,587] <err> wStarting nrf7002dk with CPU frequency: 64 MHz
    ifi_nrf: zep_shim_bus_qspi_dev_add: RPU enable failed with error -1
    [00:00:00.389,678] <err> wifi_nrf: nrf_wifi_bus_qspi_dev_add: nrf_wifi_osal_bus_qspi_dev_add failed
    [00:00:00.389,739] <err> wifi_nrf: nrf_wifi_bal_dev_add: Bus dev_add failed
    [00:00:00.389,801] <err> wifi_nrf: nrf_wifi_hal_dev_add: nrf_wifi_bal_dev_add failed
    [00:00:00.389,923] <err> wifi_nrf: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed
    [00:00:00.389,953] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed
    [00:00:00.389,984] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
    [00:00:01.402,648] <err> wifi_nrf: nrf_wifi_if_stop_zep: rpu_ctx_zep is NULL
    [00:00:01.405,426] <err> wifi_nrf_bus: Error: RDSR2 failed
    [00:00:01.405,456] <err> wifi_nrf: zep_shim_bus_qspi_dev_add: RPU enable failed with error -1
    [00:00:01.405,548] <err> wifi_nrf: nrf_wifi_bus_qspi_dev_add: nrf_wifi_osal_bus_qspi_dev_add failed
    [00:00:01.405,609] <err> wifi_nrf: nrf_wifi_bal_dev_add: Bus dev_add failed
    [00:00:01.405,700] <err> wifi_nrf: nrf_wifi_hal_dev_add: nrf_wifi_bal_dev_add failed
    [00:00:01.405,822] <err> wifi_nrf: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed
    [00:00:01.405,853] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed
    [00:00:01.405,853] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
    [00:00:01.405,944] <inf> scan: OTP not programmed, proceeding with local MAC: F6:CE:36:00:00:01
    [00:00:01.405,975] <err> wifi_nrf: nrf_wifi_disp_scan_zep: Interface not UP
    [00:00:01.405,975] <err> scan: Scan request failed
    [00:00:11.406,097] <err> wifi_nrf: nrf_wifi_disp_scan_zep: Interface not UP
    [00:00:11.406,127] <err> scan: Scan request failed
    [00:00:21.406,250] <err> wifi_nrf: nrf_wifi_disp_scan_zep: Interface not UP
    [00:00:21.406,280] <err> scan: Scan request failed

  • Hi,

    Thanks for providing the whole output. I will look further into this and get back to you. Do you get the same error while using the other COM port as well?

    Best Regards,

    Samruddhi

Related