<?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>nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120636/nrfxlib-wi-fi-driver-documentation</link><description>We have firmware that works great on the nRF7002-DK board, but now that we have our own board with a Fanstel Wi-Fi module it appears that the Wi-Fi hardware is not responding. Since the connections between the nRF5340 and nRF7002 are inside of the Fanstel</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 May 2025 16:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120636/nrfxlib-wi-fi-driver-documentation" /><item><title>RE: nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/thread/533781?ContentTypeID=1</link><pubDate>Fri, 02 May 2025 16:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09a1d8bf-98fe-4816-b277-6a4fb5e36433</guid><dc:creator>Saxman58</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;We also later found an issue with our board that was drawing much more current than expected, so that plus the spikes in Wi-Fi current pushed us over the edge.&amp;nbsp; Everything is fine since we increased the limit and fixed the other problem.&lt;/p&gt;
&lt;p&gt;Glen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/thread/533393?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 12:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c617aa23-b70c-43ba-8a70-ee3e8b9a1332</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Glen,&lt;/p&gt;
&lt;p&gt;Sorry about the&amp;nbsp;wait, we&amp;#39;ve had the Easter period&amp;nbsp;off here. Glad to hear that you&amp;#39;ve found the problem.&lt;/p&gt;
&lt;p&gt;The consumption can &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf7002/page/chapters/elspec/doc/electrical_specification.html"&gt;momentarily be a bit extreme&lt;/a&gt;. You are seeing no issues now that you&amp;#39;ve raised the current limit? Raising the current limit and bypass caps sounds like an idea.&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: nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/thread/531591?ContentTypeID=1</link><pubDate>Sat, 12 Apr 2025 19:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c8abb6d-5d7a-4648-9301-92605af1adbd</guid><dc:creator>Saxman58</dc:creator><description>&lt;p&gt;I found the problem.&amp;nbsp; When trying to connect to the Wi-Fi network, a very short but high current draw spike from the nRF7002 was causing a brown out apparently.&amp;nbsp; Raising the current limit on our supply makes the problem go away.&amp;nbsp; It might be a good idea to add some more bypass caps to the Fanstel supply pins too.&lt;br /&gt;&lt;br /&gt;I traced the Wi-Fi driver code down to the QSPI transfers and everything looked fine until the RPU would return a buffer address of 0xAAAAAAAA instead of the normal address ranges.&amp;nbsp; It may have be in the middle of resetting or something, and would never recover with rebooting the firmware (which then reinitializes the RPU).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/thread/531575?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 20:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10a80355-9ef9-44a4-9ad2-7bd1bd45ef2c</guid><dc:creator>Saxman58</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for the link.&amp;nbsp; I do have more information now:&lt;/p&gt;
&lt;p&gt;To take our firmware out of the equation, I am running the simpler example from your Wi-Fi course, lesson 2 exercise 1, with all the debug console outputs turned on.&amp;nbsp; I can see that the QSPI communications to the nRF7002 are working because the driver is installing the patches and check the RPU status.&amp;nbsp; And the radio is working because I am able to run a Wi-Fi scan and see all the available Wi-Fi networks in the area.&lt;/p&gt;
&lt;p&gt;Everything seems fine until we try to connect to a Wi-Fi network with the console.&amp;nbsp; Then we get the same errors that we get from our application (which tries to auto-connect).&amp;nbsp; If the default low power option is set, then the errors look like there is a problem waking the RPU:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:480px;max-width:640px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/4/low_5F00_power.png" /&gt;&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;&lt;span&gt;CONFIG_NRF_WIFI_LOW_POWER=n is set, to keep the RPU from sleeping, then the errors look like this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:480px;max-width:640px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/4/low_5F00_power_5F00_off.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The invalid address matches what the stacks get filled with to see the high water marks (when CONFIG_INIT_STACKS=y).&amp;nbsp; That leads me to believe that the error might be an errant pointer that is pointing to a stack area or something like that.&amp;nbsp; And the wake errors might actually be false if the pointers in the driver are getting trashed.&lt;br /&gt;&lt;br /&gt;But what is really strange is that the errors are the same for the Nordic Wi-Fi course example, and our much more complex code.&amp;nbsp; And both work fine on the nRF7002-DK board.&lt;br /&gt;&lt;br /&gt;Fanstel put us in touch with the designer of their module, and he reviewed our schematic and verified that all of our connections to their module look correct.&amp;nbsp; They expose the internal connections between the nRF5340 and nRF7002 such as the QSPI bus and status and control lines, but we have no connection to those pins.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So it seems like the hardware is working correctly to be able to do a Wi-Fi scan, but then something goes wrong as soon as we try to connect.&amp;nbsp; And if it is an errant pointer, the fault may have occurred earlier but is only evident once that pointer is used.&amp;nbsp; Again, it is very hard to understand why the two boards would act different when we are only using the Wi-Fi interface and the console UART in this example code, assuming the Fanstel module really copies the nRF7002-DK circuits between the MCU and RPU.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/thread/531502?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 10:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e91b7ed-db4a-41a8-a0aa-e18fdbb977fe</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Glen,&lt;/p&gt;
[quote user="Saxman58"]I found the CONFIG_WIFI_NRF700X_BUS_LOG_LEVEL_DBG and CONFIG_WIFI_NRF700X_LOG_LEVEL_DBG settings to turn on a ton of debug outputs, so now I can search for the WiFi driver code that produces the console outputs of interest to better understand where things are going wrong.[/quote]
&lt;p&gt;Sounds good.&lt;/p&gt;
[quote user=""]Can you point me towards any documentation on the Nordic Wi-Fi driver in nrfxlib/nrf_wifi?[/quote]
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/drivers/wifi/nrf70_native.html"&gt;You can&amp;nbsp;for instance see here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Both the 54 and nRF7 is on the module? If so I guess a hardware wouldn&amp;#39;t be necessary, and I assume the ordering on when what is powered on is also being followed. Have you written to the OTP of the board? Are you seeing it not responding even with a radio test sample?&amp;nbsp;&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: nrfxlib Wi-Fi driver documentation</title><link>https://devzone.nordicsemi.com/thread/531436?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 19:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05545031-b730-4a3b-aab9-45a46bf0be0d</guid><dc:creator>Saxman58</dc:creator><description>&lt;p&gt;I found the CONFIG_WIFI_NRF700X_BUS_LOG_LEVEL_DBG and CONFIG_WIFI_NRF700X_LOG_LEVEL_DBG settings to turn on a ton of debug outputs, so now I can search for the WiFi driver code that produces the console outputs of interest to better understand where things are going wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>