I've been trying to use SPI instead of QSPI to connect the nrf7002 to de nrf5340 on the nrf7002dk. I used the wifi shell example from nordic. I used an overlay file to reassign the nrf7002 module to de SPI pins, and the example is building correctly. I have an issue at running time. This is whats appears at the terminal:
[00:00:00.285,766] <inf> wifi_nrf: SPIM spi@b000: freq = 24 MHz
[00:00:00.285,797] <inf> wifi_nrf: SPIM spi@b000: latency = 1
[00:00:00.286,193] <err> wifi_nrf: hal_rpu_reg_read: Error !! Value read at addr_offset = 400 is = FFFFFFFF
[00:00:00.286,254] <err> wifi_nrf: hal_rpu_irq_enable: Reading from Root interrupt register failed
[00:00:00.286,285] <err> wifi_nrf: wifi_nrf_hal_dev_add: hal_rpu_irq_enable failed
[00:00:00.286,407] <err> wifi_nrf: wifi_nrf_fmac_dev_add: wifi_nrf_hal_dev_add failed
[00:00:00.286,437] <err> wifi_nrf: wifi_nrf_fmac_dev_add_zep: wifi_nrf_fmac_dev_add failed
[00:00:00.286,437] <err> wifi_nrf: wifi_nrf_drv_main_zep: wifi_nrf_fmac_dev_add_zep failed
[00:00:00.286,712] <err> wifi_nrf: wifi_nrf_if_init_zep: Device wlan0 is not ready
[00:00:00.286,956] <err> wifi_nrf: wifi_nrf_if_start_zep: Device wlan0 is not ready
[00:00:00.290,771] <inf> fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.290,802] <inf> fs_nvs: alloc wra: 0, fe8
[00:00:00.290,802] <inf> fs_nvs: data wra: 0, 0
*** Booting Zephyr OS build v3.2.99-ncs2 ***
Starting nrf7002dk_nrf5340_cpuapp with CPU frequency: 128 MHz
[00:00:00.291,015] <inf> wpa_supp: z_wpas_start: 385 Starting wpa_supplicant thread with debug level: 3
[00:00:00.291,137] <inf> wpa_supp: Successfully initialized wpa_supplicant
uart:~$
uart:~$ wifi scan
Scan request failed
[00:04:12.161,987] <err> wifi_nrf: wifi_nrf_disp_scan_zep: Interface not UP
nrf7002dk_nrf5340_cpuapp.overlay
I suspect that there are errors in the configuration, but i couldn't find any information about this.