<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>WM02C(nrf7002) scan example failed after a one attempt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123463/wm02c-nrf7002-scan-example-failed-after-a-one-attempt</link><description>Hi Team, 
 I&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Sep 2025 11:03:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123463/wm02c-nrf7002-scan-example-failed-after-a-one-attempt" /><item><title>RE: WM02C(nrf7002) scan example failed after a one attempt</title><link>https://devzone.nordicsemi.com/thread/549295?ContentTypeID=1</link><pubDate>Fri, 19 Sep 2025 11:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0960dc02-4d3b-4e15-825e-6f34c9bef554</guid><dc:creator>dev_nxp</dc:creator><description>&lt;p&gt;Apologies for the confusion &amp;mdash; the issue was on my end. Setting &lt;code data-start="146" data-end="173"&gt;CONFIG_HEAP_MEM_POOL_SIZE&lt;/code&gt; correctly resolved it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WM02C(nrf7002) scan example failed after a one attempt</title><link>https://devzone.nordicsemi.com/thread/545998?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 07:12:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa57da3b-703c-4ede-96d4-082591f42b2e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry about the late reply, but Susheel is currently out of office. Can you share some more details on when you see these UMAC timeouts? If you enable debugging I think you&amp;#39;ll be able to see more detailed information on what exactly is failing here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WM02C(nrf7002) scan example failed after a one attempt</title><link>https://devzone.nordicsemi.com/thread/545124?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 05:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e3ac5a3-b82c-4db3-8b34-a42b0311a1de</guid><dc:creator>dev_nxp</dc:creator><description>&lt;p&gt;Hi, sorry for the delay, and thank you for the suggestion. You were right&amp;mdash;it was a power-up issue because the RPU was in sleep mode. However, I&amp;#39;m occasionally seeing a UMAC timeout error. How can I resolve this?&lt;pre class="ui-code" data-mode="text"&gt;[00:00:08.043,000] &amp;lt;inf&amp;gt; wifi_nrf_bus: SPIM spi@40394000: freq = 8 MHz
[00:00:08.043,000] &amp;lt;inf&amp;gt; wifi_nrf_bus: SPIM spi@40394000: latency = 0
[00:00:08.168,000] &amp;lt;inf&amp;gt; wifi_nrf: Management buffer offload enabled

[00:00:23.168,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_sys_fmac_fw_init: UMAC init timed out
[00:00:23.169,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_sys_fmac_dev_init: nrf_wifi_sys_fmac_fw_init failed
[00:00:23.169,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_fmac_dev_add_zep: nrf_wifi_sys_fmac_dev_init failed
[00:00:23.169,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_dev_add_zep failed
*** Booting Zephyr OS build v4.2.0 ***
[00:00:23.169,000] &amp;lt;inf&amp;gt; wifi_supplicant: wpa_supplicant initialized
[00:00:23.171,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL
[00:00:23.171,000] &amp;lt;err&amp;gt; wpa_supp: _wpa_drv_zep_set_key: set_key op failed
[00:00:23.171,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL
[00:00:23.171,000] &amp;lt;err&amp;gt; wpa_supp: _wpa_drv_zep_set_key: set_key op failed
[00:00:23.171,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL
[00:00:23.171,000] &amp;lt;err&amp;gt; wpa_supp: _wpa_drv_zep_set_key: set_key op failed
[00:00:23.171,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL
[00:00:23.171,000] &amp;lt;err&amp;gt; wpa_supp: _wpa_drv_zep_set_key: set_key op failed
[00:00:23.171,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL
[00:00:23.171,000] &amp;lt;err&amp;gt; wpa_supp: _wpa_drv_zep_set_key: set_key op failed
[00:00:23.171,000] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_set_key: rpu_ctx_zep is NULL
[00:00:23.171,000] &amp;lt;err&amp;gt; wpa_supp: _wpa_drv_zep_set_key: set_key op failed
[00:00:28.169,000] &amp;lt;inf&amp;gt; MAIN: Connecting to SSID: galaxyTab&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WM02C(nrf7002) scan example failed after a one attempt</title><link>https://devzone.nordicsemi.com/thread/544560?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 07:37:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a969713a-d623-4414-8444-2f8e05f3f07f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;the scan failures are not probably due to our sample code but to how the Wi-Fi chip is powered and clocked on your custom PCB. On your board, the nRF7002 is only ever kept awake and clocked long enough for the very first scan. As soon as that finishes, the RPU (Radio Processing Unit) falls back into low-power/reset and never gets re-enabled, hence the “RPU context not initialized” error on every subsequent attempt.&lt;/p&gt;
&lt;p&gt;On our DK, Nordic’s DTS wiring does three key things that keep the chip alive across scans:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Dedicated power-enable GPIO (supply-gpios) that switches the nRF7002’s VDD rail on and off under software control.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reset or buck-enable GPIO (reset-gpios) held low until the driver is ready to bring the RPU out of reset.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Wake-up GPIO (wakeup-gpios) to exit low-power mode after each operation.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;24 MHz SPI clock (spi-max-frequency = &amp;lt;24000000&amp;gt;), matching the DK’s QSPI speed.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Your board was only using an 8 MHz SPI clock and didn’t have the power- and wake-control lines defined, so after the first scan the radio simply went to sleep. The fix is to mirror the DK’s &amp;amp;spi { wifi: .. } node in your device tree, updating the GPIO numbers for your layout:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    status = &amp;quot;okay&amp;quot;;
    wifi: wifi@0 {
        compatible = &amp;quot;nordic,nrf7002-spi&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        spi-max-frequency = &amp;lt;24000000&amp;gt;;
        spi-hold-cs;
        supply-gpios = &amp;lt;&amp;amp;gpio0 10 GPIO_ACTIVE_HIGH&amp;gt;;
        reset-gpios  = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_LOW&amp;gt;;
        wakeup-gpios = &amp;lt;&amp;amp;gpio0 12 GPIO_ACTIVE_HIGH&amp;gt;;
        status = &amp;quot;okay&amp;quot;;
    };
};
&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Once you rebuild with those three control lines wired up and the SPI bus running at 24 MHz, You should see the scan example succeed every time. If that does not work, then I will need to ask some assistance from my colleague to look into this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>