<?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>Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105871/wi-fi-ncs-example-gremlins</link><description>I am working through the ncs wi-fi samples on an nRF7002 DK board ... 
 I can get the shell example to work ... so I know that authentication with my access point (AP) and 
 DHCP is working correctly. 
 When I build and try to run the sta (station) example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Feb 2024 07:43:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105871/wi-fi-ncs-example-gremlins" /><item><title>RE: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/469153?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 07:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb217c2-a6ec-4436-9a1d-2e9823387dc8</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The Wi-Fi shell sample has another way of working with the Wi-Fi credentials library, explained in the documentation &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/wifi/shell/README.html"&gt;here&lt;/a&gt;. You can use &lt;strong&gt;wifi_cred add &amp;lt;SSID&amp;gt; &amp;lt;Passphrase&amp;gt; &amp;lt;Band&amp;gt;&amp;nbsp;&lt;/strong&gt;to add network credentials for an AP in order to later auto connect to it. You will need to add the aforementioned config&amp;nbsp;to set the SSID in your .conf file.&lt;/p&gt;
&lt;p&gt;Please create a new case if you need further help, as this is getting out of topic for the initial ticket&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: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/469014?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 12:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17e492cd-20eb-4b24-a82f-65d5f15289e6</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;I was trying it on wifi shell sample code&lt;br /&gt;Actually want to set ssid and password through ble, can I do it in wifi shell sample code or need to flash some other sample code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/469006?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 11:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7e289b3-f92d-444d-a7af-213bf06411f1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What sample have you added this CONFIG in? It needs to be set in the Kconfig file and in the nRF Connect SDK only the WiFi/STA and WiFi/sr_coex samples have these by default.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config STA_SAMPLE_SSID
	string &amp;quot;SSID&amp;quot;
	help
	  Specify the SSID to connect&lt;/pre&gt;&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: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/468940?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 08:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9031221b-302c-4a22-84a5-3343e4010b8f</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;I tried this&lt;br /&gt;I also want to set ssid and password but I facing an error: a&lt;span&gt;ttempt to assign the value &amp;#39;&amp;quot;UH_home&amp;quot;&amp;#39; to the undefined symbol STA_SAMPLE_SSID&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/457356?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 14:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ebf5edf-93a8-4c56-809d-17857da1ac20</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Check out the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/clock_control.html"&gt;clock control API in Zephyr here&lt;/a&gt;. Sorry, but I didn&amp;#39;t have time for a more in-depth answer today. I&amp;#39;ll get back to you next week if you&amp;#39;re still having trouble then.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/457233?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 18:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfb922ab-c1b2-40a3-b1de-5dbd8dd5263b</guid><dc:creator>andywe</dc:creator><description>&lt;p&gt;Hi Simon, ... the wifi shell example was compiled as is and the same for the sta example ..&lt;/p&gt;
&lt;p&gt;The code that set the cpu clock rateto&amp;nbsp; 128 Mhz in the wifi shell example was... &lt;/p&gt;
&lt;p&gt;#if defined(CLOCK_FEATURE_HFCLK_DIVIDE_PRESENT) || NRF_CLOCK_HAS_HFCLK192M&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* For now hardcode to 128MHz */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;nrfx_clock_divider_set(NRF_CLOCK_DOMAIN_HFCLK,&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_CLOCK_HFCLK_DIV_1);&lt;br /&gt;#endif&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printk(&amp;quot;Starting %s with CPU frequency: %d MHz\n&amp;quot;, CONFIG_BOARD, SystemCoreClock/MHZ(1));&lt;/p&gt;
&lt;p&gt;Where can I find out more about how to configure and check the SystemCoreClock settings .. searching the Zephyr documentation for the function SystemCoreClock or SystemCoreClockUpdate does not bring up any helpful documentation ... also when looking for __SYSTEM_CLOCK_MAX nothing turned up when searching the documentation either ...&lt;/p&gt;
&lt;p&gt;Is there a function I can call that will display the cpu core frequency ?&lt;/p&gt;
&lt;p&gt;Is there a way of forcing the clock frequency to be 128 MHz ...&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/457087?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 08:37:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a4088f0-153c-4e1d-a261-44ca34bfbda4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;By default the system clock in this sample should be set to 64MHz. You can see in the STA sample, that the clock frequency is set by SystemCoreClock / MHZ(1). The SystemCoreClock is set to __SYSTEM_CLOCK_DEFAULT (set to 64MHz) by default in the MDK (system_nrf53400_application.c).&amp;nbsp;There must be something in your project calling a SystemCoreClockUpdate or similar that sets the SystemCoreClock til __SYSTEM_CLOCK_MAX (128MHz) instead, but that&amp;#39;s not part of the STA sample from what I cans see.&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: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/457042?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 22:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49e4b032-9423-4873-a8d5-ca763a12236d</guid><dc:creator>andywe</dc:creator><description>&lt;p&gt;I double checked the proj.conf settings ... &lt;/p&gt;
&lt;p&gt;The wifi shell example says that the CPU clock is running at 128 MHz&lt;/p&gt;
&lt;p&gt;in above wifi example output have the line &lt;span style="font-family:Arial, sans-serif;"&gt;Starting nrf7002dk_nrf7001_nrf5340_cpuapp with CPU frequency: 128 MHz&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Arial, sans-serif;"&gt;How can I set this frequency in the STA example - to see if this is causing the problem I observe.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Arial, sans-serif;"&gt;Thanks in advance.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wi Fi  ncs example gremlins ...</title><link>https://devzone.nordicsemi.com/thread/456694?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 13:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ebeb12-df5d-4d52-af19-c7f6a3cc6965</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you set up the IP address, SSID and password correctly in the prj.conf file of your STA project? You need to set the&amp;nbsp;CONFIG_STA_SAMPLE_SSID to whatever SSID you want to connect to, as well as set the security to what level your AP uses with either of the security levels below, and change the&amp;nbsp;CONFIG_STA_SAMPLE_PASSWORD if applicable.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Below configs need to be modified based on security
# CONFIG_STA_KEY_MGMT_NONE=y
# CONFIG_STA_KEY_MGMT_WPA2=y
# CONFIG_STA_KEY_MGMT_WPA2_256=y
# CONFIG_STA_KEY_MGMT_WPA3=y
CONFIG_STA_SAMPLE_SSID=&amp;quot;Myssid&amp;quot;
CONFIG_STA_SAMPLE_PASSWORD=&amp;quot;Mypassword&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The prj.conf file is also where you change your IP address if you would like a custom IP address to be set statically.&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></channel></rss>