[nrf5340+nrf7002] Wifi:shell Unable to execute

Good day.
I'm working on a custom board that uses nRF5340 as the main MCU with a WIFI module, nRF7002.
The nRF5340 and nRF7002 are wired based on the nRF7002DK.
When I uploaded a shell example to that custom board, I received an error.

[00:00:00.349,487] <err> spi_nor: Device id 00 00 00 does not match config c2 28 17
[00:00:00.354,095] <err> wifi_nrf_bus: Error: RDSR2 failed
[00:00:00.354,125] <err> wifi_nrf: zep_shim_bus_qspi_dev_add: RPU enable failed with error -1
[00:00:00.354,187] <err> wifi_nrf: nrf_wifi_bus_qspi_dev_add: nrf_wifi_osal_bus_qspi_dev_add failed
[00:00:00.354,248] <err> wifi_nrf: nrf_wifi_bal_dev_add: Bus dev_add failed
[00:00:00.354,339] <err> wifi_nrf: nrf_wifi_hal_dev_add: nrf_wifi_bal_dev_add failed
[00:00:00.354,461] <err> wifi_nrf: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed
[00:00:00.354,492] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed
[00:00:00.354,492] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
Starting nrf7002dk with CPU frequency: 128 MHz
[00:00:00.356,536] <inf> wpa_supp: Successfully initialized wpa_supplicant
uart:~$

Unfortunately, I don't know much about the WIFI connection part and would love some help.
Do you have any idea what that error is, and if you have any idea how to fix it, I'd love to have your help.
Thank you.

Parents
  • Hi,

     

    It can be due to initialization of the external flash, which seems to fail:

    [00:00:00.349,487] <err> spi_nor: Device id 00 00 00 does not match config c2 28 17

     

    Could you try to remove/disable the external flash?

    &spi4 {
        status = "disabled";
    };

     

    Kind regards,

    Håkon

  • Thanks to your advice!

    I tried that but I got a same error message except spi_nor error.

    [00:00:00.411,163] <err> wifi_nrf_bus: Error: RDSR2 failed
    [00:00:00.411,224] <err> wifi_nrf: zep_shim_bus_qspi_dev_add: RPU enable failed with error -1
    [00:00:00.411,285] <err> wifi_nrf: nrf_wifi_bus_qspi_dev_add: nrf_wifi_osal_bus_qspi_dev_add failed
    [00:00:00.411,376] <err> wifi_nrf: nrf_wifi_bal_dev_add: Bus dev_add failed
    [00:00:00.411,437] <err> wifi_nrf: nrf_wifi_hal_dev_add: nrf_wifi_bal_dev_add failed
    [00:00:00.411,560] <err> wifi_nrf: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed
    [00:00:00.411,590] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed
    [00:00:00.411,590] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
    *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
    *** Using Zephyr OS v3.6.99-100befc70c74 ***
    Starting nrf7002dk with CPU frequency: 128 MHz
    [00:00:00.413,848] <inf> wpa_supp: Successfully initialized wpa_supplicant
    

    It would be great if i could get information about this error!

    Thanks to your help!

Reply
  • Thanks to your advice!

    I tried that but I got a same error message except spi_nor error.

    [00:00:00.411,163] <err> wifi_nrf_bus: Error: RDSR2 failed
    [00:00:00.411,224] <err> wifi_nrf: zep_shim_bus_qspi_dev_add: RPU enable failed with error -1
    [00:00:00.411,285] <err> wifi_nrf: nrf_wifi_bus_qspi_dev_add: nrf_wifi_osal_bus_qspi_dev_add failed
    [00:00:00.411,376] <err> wifi_nrf: nrf_wifi_bal_dev_add: Bus dev_add failed
    [00:00:00.411,437] <err> wifi_nrf: nrf_wifi_hal_dev_add: nrf_wifi_bal_dev_add failed
    [00:00:00.411,560] <err> wifi_nrf: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed
    [00:00:00.411,590] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed
    [00:00:00.411,590] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
    *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
    *** Using Zephyr OS v3.6.99-100befc70c74 ***
    Starting nrf7002dk with CPU frequency: 128 MHz
    [00:00:00.413,848] <inf> wpa_supp: Successfully initialized wpa_supplicant
    

    It would be great if i could get information about this error!

    Thanks to your help!

Children
Related