<?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>nRF7002 - wlan0 interface goes down after repeated making HTTP requests</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122772/nrf7002---wlan0-interface-goes-down-after-repeated-making-http-requests</link><description>Wonder if anyone has experience this but my Zephyr OS and a http client application eventually crashes due the network interface going down coming back up. Initialization of the WIFI interface and initial requests are all perfect until the WIFI interface</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Jul 2025 17:38:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122772/nrf7002---wlan0-interface-goes-down-after-repeated-making-http-requests" /><item><title>RE: nRF7002 - wlan0 interface goes down after repeated making HTTP requests</title><link>https://devzone.nordicsemi.com/thread/541984?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 17:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b32730d9-64ba-49e4-bc69-7af3a3696b55</guid><dc:creator>tomtran_montage</dc:creator><description>&lt;p&gt;Thanks for the feedback.&amp;nbsp; Yeah, this doesn&amp;#39;t even have the MQTT library that I want to include.&amp;nbsp; Hmm, this is a custom board with the nRF52840+nRF7002 on it.&amp;nbsp; Getting it to even started working was a challenge in itself.&amp;nbsp; I did notice that it&amp;#39;s experimental.&amp;nbsp; I am talking to management about switching to the nRF5340 now.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 - wlan0 interface goes down after repeated making HTTP requests</title><link>https://devzone.nordicsemi.com/thread/541885?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 08:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e30c1fa5-4fcb-40ba-abac-a9b88a3715cd</guid><dc:creator>Elfving</dc:creator><description>[quote user="tomtran_montage"]Building the WIFI application is challenging because the nRF52840 has only 256KB RAM, which built with NCS v3.0.1 reaches RAM maximum.&amp;nbsp; Tweaking stack sizes (prj.conf) to fit the app+zephyr OS into 256KB could possibly have ramifications to the system driver stack etc.[/quote]
&lt;p&gt;Yeah, that is a tough one. The memory requirements for our Wi-Fi stack is already a bit high no matter what nRF you use, so &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/station_mode/mem_requirements_sta.html"&gt;using the NRF52840&lt;/a&gt; instead of a 53 can make this particularly difficult. &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/software_maturity.html#wi-fi_feature_support"&gt;Note that support for the nRF52840 is currently listed as experimental here.&lt;/a&gt;&amp;nbsp;So it is expected to work, though we haven&amp;#39;t taken it through any rigorous testing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe I&amp;#39;ve also seen crashes like this due to memory exhaustion. It might be that some extra ram rummaging would have better ramifications,&amp;nbsp;and I can also ask the relevant R&amp;amp;D team if they have any ideas on this. But before we get to that, is switching to the nRF5340 an option for you?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 - wlan0 interface goes down after repeated making HTTP requests</title><link>https://devzone.nordicsemi.com/thread/541674?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 17:08:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0416926-c7fb-40e2-866b-2bb2da165e55</guid><dc:creator>tomtran_montage</dc:creator><description>&lt;p&gt;My host MPU is a nRF52840 controlling a nRF7002.&amp;nbsp; Building the WIFI application is challenging because the nRF52840 has only 256KB RAM, which built with NCS v3.0.1 reaches RAM maximum.&amp;nbsp; Tweaking stack sizes (prj.conf) to fit the app+zephyr OS into 256KB could possibly have ramifications to the system driver stack etc.&lt;/p&gt;
&lt;p&gt;I tried with both NCS version v2.9.1 and v3.0.1.&amp;nbsp; Only that v3.0.1 last a few minutes longer before it crashes.&amp;nbsp; The snapshot below is from v3.0.1&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1751907152823v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I guess my question would be why is the interface going down?&amp;nbsp; A few questions comes to mind:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Is it entering low-power mode?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Why would the WIFI interface which is currently active decides to go down?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Is nRF7002 low-power mode periodic?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I can see that if there&amp;#39;s no TX/RX activities, WIFI is not connected to a SSID, or that the actual WIFI device has a status fault, then bringing the interface down would make sense.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002 - wlan0 interface goes down after repeated making HTTP requests</title><link>https://devzone.nordicsemi.com/thread/541610?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 11:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5023b588-2548-4540-87c6-2a7d7b9aa104</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;Do you have any error log of this? What NCS version are you using - or are you saying that this is vanilla zephyr?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I guess this could be&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-3.0.1.html#wi-fi"&gt;SHEL-3596&lt;/a&gt;. Having a look at the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/shutdown/README.html"&gt;shutdown sample&lt;/a&gt; might also be helpful.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>