Hi Team,
I'm encountering an issue when using scan and STA mode.
When I run the shell example along with my custom board, the scan works successfully the first time. However, subsequent attempts fail.
I also ran a bus test, which passed successfully.
Additionally, when I run another standalone STA example, I get the following error:
"RPU context not initialized"
Please find the logs for both scenarios attached.
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> *** Booting Zephyr OS build v4.2.0 *** 00> [00:00:00.303,000] <inf> net_config: Initializing network 00> [00:00:00.303,000] <inf> net_config: Waiting interface 1 (0x240012e8) to be up... 00> [00:00:00.303,000] <inf> net_config: IPv4 address: 192.168.1.99 00> [00:00:00.303,000] <inf> net_config: Running dhcpv4 client... 00> [00:00:00.303,000] <inf> sta: Starting custom_h743ig with CPU frequency: 400 MHz 00> [00:00:00.303,000] <inf> wifi_supplicant: wpa_supplicant initialized 00> [00:00:01.303,000] <inf> sta: Static IP address (overridable): 192.168.1.99/255.255.255.0 -> 192.168.1.1 00> [00:00:01.311,000] <inf> net_wifi_mgmt: Connection requested 00> [00:00:01.311,000] <inf> sta: Connection requested 00> [00:00:01.311,000] <inf> sta: ================== 00> [00:00:01.311,000] <inf> sta: State: SCANNIN 00> 00> [00:00:04.070,000] <inf> sta: ================== 00> [00:00:04.070,000] <inf> sta: State: DISCONNECTED 00> [00:00:04.270,000] <err> wifi_nrf: nrf_wifi_wpa_supp_scan2: RPU context not initialized 00> [00:00:04.270,000] <err> wpa_supp: wpa_drv_zep_scan2: scan2 op failed 00> [00:00:04.370,000] <inf> sta: ================== 00> [00:00:04.370,000] <inf> sta: State: DISCONNECTED