WiFi shell ,SCAN ,STA/AP sample fails on v3.0.2 for nrf7002EK with external host(stm32) 'RDSR2 failed' error

I'm trying to run Wi-Fi scanning or AP/STA mode examples on the NUCLEO-U575ZI-Q board with the nRF7002EK shield, but I keep getting an "RDSR2 register failed" error. I've tried with zephyr version also, but so far, I haven't found a solution. Interestingly, I tested the same shield with the STM32H747I Discovery board, and everything works perfectly — examples like the shell, AP/STA mode, and scan run without issues. However, on the NUCLEO board:

  • The shell example fails.

The Wi-Fi interface shows as down.When I try to bring the interface up, I get the following error:

uart:~$ net iface up 1 Cannot take interface 1 up (-120)

If anyone has managed to get this setup working or has suggestions. Thanks!

[00:00:00.487,884] <err> wifi_nrf_bus: Error: RDSR2 failed
[00:00:00.487,945] <err> wifi_nrf: zep_shim_bus_qspi_dev_add: RPU enable failed with error -1
[00:00:00.488,006] <err> wifi_nrf: nrf_wifi_bus_qspi_dev_add: nrf_wifi_osal_bus_qspi_dev_add failed
[00:00:00.488,067] <err> wifi_nrf: nrf_wifi_bal_dev_add: Bus dev_add failed
[00:00:00.488,128] <err> wifi_nrf: nrf_wifi_hal_dev_add: nrf_wifi_bal_dev_add failed
[00:00:00.488,250] <err> wifi_nrf: nrf_wifi_fmac_dev_add: nrf_wifi_hal_dev_add failed
[00:00:00.488,281] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fmac_dev_add failed
[00:00:00.488,281] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed

Parents
  • Hi

    How have you connected the nRF7002 EK to the Nucleo board here, and have you made sure to configure the board file to fit the nRF7002 EK pinout? The last time I saw this error message, it was due to the config and board not being set up correctly, so I think the first step is to double check the connection between the Nucleo board and nRF7002 EK to make sure it is connected correctly, as well as double check the EK is powered correctly. You can use the nRF7002 EK development guide here for reference: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/nrf7002ek_dev_guide.html 

    Best regards,

    Simon

  • Thanks for the reply. I had two evaluation kits (EK); one wasn't working, so I switched to the other, and it's powering up correctly now. However, I'm now encountering a different error, which I believe might be related to something else. My hardware  team is currently investigating it.

    Anyway, let's set that aside — I have some other errors I need help with.

    00> [00:00:00.002,000] <inf> wifi_nrf_bus: SPIM spi@40003800: freq = 8 MHz
    00> [00:00:00.002,000] <inf> wifi_nrf_bus: SPIM spi@40003800: latency = 0
    00> [00:00:01.112,000] <err> wifi_nrf: nrf_wifi_hal_fw_chk_boot: Boot_sig check failed for RPU(0), Expected: 0x5A5A5A5A, Actual: 0x0
    00> [00:00:01.112,000] <err> wifi_nrf: nrf_wifi_fmac_fw_boot: LMAC processor ROM boot check failed
    00> [00:00:01.112,000] <err> wifi_nrf: nrf_wifi_fmac_fw_load: FW boot failed
    00> [00:00:01.112,000] <err> wifi_nrf: nrf_wifi_fw_load: nrf_wifi_fmac_fw_load failed
    00> [00:00:01.112,000] <err> wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_fw_load failed
    00> [00:00:01.112,000] <err> wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
    00> *** Booting nRF Connect SDK v3.0.2-89ba1294ac9b ***
    00> *** Using Zephyr OS v4.0.99-f791c49f492c ***

  • Strange, can you confirm you've done the OTP memory programming on the nRF7002 EK on your end, which is needed to set the device up the first time used. Please check out the Device commissioning and Characterization app note in our documentation here: https://docs.nordicsemi.com/bundle/nan_043/page/APP/nan_043/otp_programming.html 

    Best regards,

    Simon

Reply Children
Related