<?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>Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104184/wake-up-event-of-target-wake-time-twt-on-nrf7002-dk</link><description>Hi, 
 I&amp;#39;m developing an application to send data via UDP. In order to minimize the power consumption of my application, my idea is to send data during the wake time of TWT. 
 
 I start by connecting to the AP. To do this, I based myself on the Wi-Fi:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2023 14:41:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104184/wake-up-event-of-target-wake-time-twt-on-nrf7002-dk" /><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/450888?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 14:41:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5846e83-d96a-4e09-bf55-3e73d131245b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for posting the setup. This explains the difference between our results.&lt;/p&gt;
&lt;p&gt;The problem is that the nRF5340 is not power optimized in this&amp;nbsp;sample (logging is on, qspi etc), it is only the nRF7002, which explains why you&amp;#39;re seeing a base current of ~2 mA.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/450880?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 14:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:173dff1d-ea4a-4fa7-970c-6162f116443e</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697551320499v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I thought that turning off VCOM0 VCOM1 would be enough to measure the current consumed in this way, but I have seen that there are other components consuming current. By connecting the multimeter to the P22 port, I was able to verify a consumption of approximately 27uA during sleep time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/450641?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 15:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3425b7-8925-42ae-a78b-604da6b317d7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am running on the exact same tag, firmware unchanged, except for SSID/PWD used.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the current profile:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697468627092v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And the log output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.465,728] &amp;lt;inf&amp;gt; net_config: Waiting interface 1 (0x20001460) to be up...
[00:00:00.465,850] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.1.99
[00:00:00.465,911] &amp;lt;inf&amp;gt; net_config: Running dhcpv4 client...
[00:00:00.466,156] &amp;lt;inf&amp;gt; twt: Starting nrf7002dk_nrf5340_cpuapp with CPU frequency: 64 MHz
[00:00:01.466,308] &amp;lt;inf&amp;gt; twt: Static IP address (overridable): 192.168.1.99/255.255.255.0 -&amp;gt; 192.168.1.1
[00:00:03.387,786] &amp;lt;inf&amp;gt; twt: Connection requested
[00:00:03.387,847] &amp;lt;inf&amp;gt; twt: ==================
[00:00:03.387,847] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:03.687,988] &amp;lt;inf&amp;gt; twt: ==================
[00:00:03.688,018] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:03.988,159] &amp;lt;inf&amp;gt; twt: ==================
[00:00:03.988,189] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:04.288,299] &amp;lt;inf&amp;gt; twt: ==================
[00:00:04.288,330] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:04.588,439] &amp;lt;inf&amp;gt; twt: ==================
[00:00:04.588,470] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:04.888,580] &amp;lt;inf&amp;gt; twt: ==================
[00:00:04.888,610] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.188,751] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.188,781] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.488,922] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.488,952] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:05.789,062] &amp;lt;inf&amp;gt; twt: ==================
[00:00:05.789,093] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.089,202] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.089,233] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.389,373] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.389,404] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.689,514] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.689,544] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:06.989,654] &amp;lt;inf&amp;gt; twt: ==================
[00:00:06.989,685] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:07.289,825] &amp;lt;inf&amp;gt; twt: ==================
[00:00:07.289,855] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:07.589,996] &amp;lt;inf&amp;gt; twt: ==================
[00:00:07.590,026] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:07.890,136] &amp;lt;inf&amp;gt; twt: ==================
[00:00:07.890,167] &amp;lt;inf&amp;gt; twt: State: SCANNING
[00:00:08.190,277] &amp;lt;inf&amp;gt; twt: ==================
[00:00:08.190,307] &amp;lt;inf&amp;gt; twt: State: AUTHENTICATING
[00:00:08.437,957] &amp;lt;inf&amp;gt; twt: Connected
[00:00:08.495,849] &amp;lt;inf&amp;gt; net_dhcpv4: Received: 192.168.32.128
[00:00:08.495,971] &amp;lt;inf&amp;gt; net_config: IPv4 address: 192.168.32.128
[00:00:08.496,002] &amp;lt;inf&amp;gt; net_config: Lease time: 43200 seconds
[00:00:08.496,032] &amp;lt;inf&amp;gt; net_config: Subnet: 255.255.255.0
[00:00:08.496,063] &amp;lt;inf&amp;gt; net_config: Router: 192.168.32.1
[00:00:08.496,154] &amp;lt;inf&amp;gt; twt: DHCP IP address: 192.168.32.128
[00:00:08.498,382] &amp;lt;inf&amp;gt; twt: ==================
[00:00:08.498,382] &amp;lt;inf&amp;gt; twt: State: COMPLETED
[00:00:08.498,413] &amp;lt;inf&amp;gt; twt: Interface Mode: STATION
[00:00:08.498,443] &amp;lt;inf&amp;gt; twt: Link Mode: WIFI 6 (802.11ax/HE)
[00:00:08.498,474] &amp;lt;inf&amp;gt; twt: SSID: OpenWrt                         
[00:00:08.498,504] &amp;lt;inf&amp;gt; twt: BSSID: FC:34:97:0B:F6:DC
[00:00:08.498,535] &amp;lt;inf&amp;gt; twt: Band: 5GHz
[00:00:08.498,535] &amp;lt;inf&amp;gt; twt: Channel: 36
[00:00:08.498,565] &amp;lt;inf&amp;gt; twt: Security: WPA2-PSK
[00:00:08.498,565] &amp;lt;inf&amp;gt; twt: MFP: Optional
[00:00:08.498,596] &amp;lt;inf&amp;gt; twt: RSSI: -60
[00:00:08.498,596] &amp;lt;inf&amp;gt; twt: TWT: Supported
[00:00:10.498,687] &amp;lt;inf&amp;gt; twt: AP is TWT capable, establishing TWT
[00:00:10.511,627] &amp;lt;inf&amp;gt; twt: TWT setup requested
[00:00:10.519,897] &amp;lt;inf&amp;gt; twt: TWT response: TWT accept
[00:00:10.519,927] &amp;lt;inf&amp;gt; twt: == TWT negotiated parameters ==
[00:00:10.519,927] &amp;lt;inf&amp;gt; twt: TWT Dialog token: 1
[00:00:10.519,927] &amp;lt;inf&amp;gt; twt: TWT flow ID: 0
[00:00:10.519,958] &amp;lt;inf&amp;gt; twt: TWT negotiation type: TWT individual negotiation
[00:00:10.519,989] &amp;lt;inf&amp;gt; twt: TWT responder: true
[00:00:10.520,019] &amp;lt;inf&amp;gt; twt: TWT implicit: true
[00:00:10.520,019] &amp;lt;inf&amp;gt; twt: TWT announce: false
[00:00:10.520,050] &amp;lt;inf&amp;gt; twt: TWT trigger: false
[00:00:10.520,080] &amp;lt;inf&amp;gt; twt: TWT wake interval: 65024 us
[00:00:10.520,080] &amp;lt;inf&amp;gt; twt: TWT interval: 5005000 us
[00:00:10.520,080] &amp;lt;inf&amp;gt; twt: ========================
[00:00:10.520,812] &amp;lt;wrn&amp;gt; twt: TWT SLEEP
[00:00:15.507,629] &amp;lt;wrn&amp;gt; twt: TWT AWAKE
[00:00:15.573,364] &amp;lt;wrn&amp;gt; twt: TWT SLEEP
[00:00:20.513,671] &amp;lt;wrn&amp;gt; twt: TWT AWAKE
[00:00:20.580,688] &amp;lt;wrn&amp;gt; twt: TWT SLEEP
[00:00:20.594,268] &amp;lt;wrn&amp;gt; twt: TWT AWAKE
[00:00:20.594,390] &amp;lt;wrn&amp;gt; twt: TWT SLEEP
...&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure what the difference is in our setups. I&amp;#39;m supplying the VBAT from the PPK2, with 3.6V and measuring that current.&lt;/p&gt;
&lt;p&gt;Can you share a picture or similar with your measuring setup?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/450478?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 09:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16f0cba3-9d2e-4c6e-a402-2acabe4e0c0e</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I believe so. At least, I&amp;#39;m obtaining the following output:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697446434058v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now I&amp;#39;m also using SDK v2.4.99-dev2 and&amp;nbsp;a Asus RT-AX53U router.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is my sample code:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/twtNordicSample.zip"&gt;devzone.nordicsemi.com/.../twtNordicSample.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/450444?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 07:22:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e0e47c6-9b59-4bb8-9d81-2a481902ff65</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I set the TWT to 5.24 seconds, and wake interval to 65 ms, and this is my observed current during TWT:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697440929117v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Are you certain that you actually enter TWT? TWT shall have a floor current of less than 20 uA.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/450335?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 14:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2d42b4f-973a-45c3-b92b-2e3886e249c5</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now I can get the TWT events, but I have a question. At sleep time I&amp;#39;m supposed to have a uA consumption, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been looking at the power consumption with the Joulescoupe and the result is as follows:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697205942730v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;From the image above, I can see that the average current consumption is 2,697mA (approx).&lt;/p&gt;
&lt;p&gt;If I only pay attention to the sleep time, we have an average current consumption of 1.96mA (approx), as&amp;nbsp;we can see in the following image:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697206191833v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Isn&amp;#39;t this too much? Shouldn&amp;#39;t it be in the order of the uA?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m testing with&amp;nbsp;&lt;span&gt;CONFIG_TWT_INTERVAL&lt;/span&gt;&lt;span&gt;=5 sec and&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_TWT_WAKE_INTERVAL&lt;/span&gt;&lt;span&gt;=65 ms. I&amp;#39;ve tested with the default values (524ms and 65ms) and I have the same results.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448645?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 12:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14bb17f8-0973-4b2f-a98c-bfbfdc6ff283</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using a Asus RT-AX53U, where I have enabled TWT on both 2.4 GHz and 5 GHz bands.&lt;/p&gt;
&lt;p&gt;Their firmware requires to enable it explicitly on both bands, where the default is &amp;quot;disabled&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696335807356v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="diogo_"]Since TWT is a wifi 6 feature, if the AP has wifi 6, shouldn&amp;#39;t it support TWT?[/quote]
&lt;p&gt;Yes, but this is a feature that most access points need to explicitly enable.&lt;/p&gt;
[quote user="diogo_"]Do you have any AP list that allows TWT?[/quote]
&lt;p&gt;Most wifi-6 capable APs support it. I have both the Google nest wifi pro and the above mentioned Asus (most Asus wifi 6 capable routers have this feature)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448638?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 12:01:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:877fa11f-2b03-497c-b407-0b4feefc622c</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t understand what I was supposed to do because using the Toolchain Manager, I could only install up to SDK v2.4.2.&lt;/p&gt;
&lt;p&gt;I managed to install v2.4.99-dev2 through vscode, but now I have more questions.&lt;/p&gt;
&lt;p&gt;While through v2.4.2 I got an output saying that the AP supported TWT, the output I have now is the following:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696334376872v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Therefore, my questions are the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Since TWT is a wifi 6 feature, if the AP has wifi 6, shouldn&amp;#39;t it support TWT?&lt;/li&gt;
&lt;li&gt;What AP are you using to test this?&lt;/li&gt;
&lt;li&gt;Do you have any AP list that allows TWT?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448632?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 11:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11db5fa0-d6be-4515-9a78-48eb27e12cb5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;you will need to use a terminal or a command prompt, which has &amp;quot;west&amp;quot; and &amp;quot;git&amp;quot; in the path. This can be done by opening the toolchain manager and selecting command line or git bash, or &amp;quot;terminal&amp;quot; on mac/linux:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696332772166v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should be placed in the &amp;quot;root&amp;quot; of ncs, where you have to change to the &amp;quot;nrf&amp;quot; directory:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd nrf
git fetch
git checkout v2.4.99-dev2
west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The above commands can take some time, depending on your internet connection and so forth.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: your repositories must be clean, ie. no changed files or uncommited changes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448565?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 17:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27e6bcf5-0191-4d59-aaf5-f4bf9cb8774f</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;m testing on NCS v2.4.2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you are telling me is to replace the nrf folder (inside v2.4.2) with sdk-nrf-2.4.99-dev2?&amp;nbsp; If yes, I get multiple errors when I create new build configuration in vscode.&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/pastedimage1696266049686v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448518?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 12:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1b1beb5-d704-45f6-8d98-18a7f2414858</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies, but I&amp;#39;ve been testing on the devtag &amp;quot;v2.4.99-dev1&amp;quot; (dev2 is also out now), which includes this specific fix for the TWT sleep:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11488/files"&gt;https://github.com/nrfconnect/sdk-nrf/pull/11488/files&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you testing on NCS v2.4.2 or older? If yes, could you try to test on tag v2.4.99-dev2 and see if you are able to get the sleep events?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448379?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 14:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:915e4dc3-5d13-43d8-9435-325c5e24c937</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I can send the algorithm.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/twtUpdated.zip"&gt;devzone.nordicsemi.com/.../twtUpdated.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The AP that I&amp;#39;m using is t&lt;span&gt;he UniFi 6+.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448373?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 14:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18cd4567-825c-47d5-a9d7-308b5848257b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, as far as I see, you should now have gotten TWT events.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As your log output shows &amp;quot;wrn&amp;quot;, it should be configured with the correct.&amp;nbsp;Are you certain you set CONFIG_SCHEDULED_TX for this build? Could you try removing that ifdef and see if it starts printing? Here&amp;#39;s the output when I tried adding the same events and added a LOG_INF print in the event:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;...
[00:00:08.700,500] &amp;lt;inf&amp;gt; twt: DHCP IP address: 192.168.32.128
[00:00:08.703,063] &amp;lt;inf&amp;gt; twt: ==================
[00:00:08.703,094] &amp;lt;inf&amp;gt; twt: State: COMPLETED
[00:00:08.703,094] &amp;lt;inf&amp;gt; twt: Interface Mode: STATION
[00:00:08.703,125] &amp;lt;inf&amp;gt; twt: Link Mode: WIFI 6 (802.11ax/HE)
[00:00:08.703,155] &amp;lt;inf&amp;gt; twt: SSID: OpenWrt                         
[00:00:08.703,186] &amp;lt;inf&amp;gt; twt: BSSID: FC:34:97:0B:F6:DC
[00:00:08.703,216] &amp;lt;inf&amp;gt; twt: Band: 5GHz
[00:00:08.703,216] &amp;lt;inf&amp;gt; twt: Channel: 44
[00:00:08.703,247] &amp;lt;inf&amp;gt; twt: Security: WPA2-PSK
[00:00:08.703,247] &amp;lt;inf&amp;gt; twt: MFP: Optional
[00:00:08.703,277] &amp;lt;inf&amp;gt; twt: RSSI: -55
[00:00:08.703,277] &amp;lt;inf&amp;gt; twt: TWT: Supported
[00:00:10.703,369] &amp;lt;inf&amp;gt; twt: AP is TWT capable, establishing TWT
[00:00:10.715,850] &amp;lt;inf&amp;gt; twt: TWT setup requested
[00:00:10.817,718] &amp;lt;inf&amp;gt; twt: TWT response: TWT accept
[00:00:10.817,749] &amp;lt;inf&amp;gt; twt: == TWT negotiated parameters ==
[00:00:10.817,749] &amp;lt;inf&amp;gt; twt: TWT Dialog token: 1
[00:00:10.817,749] &amp;lt;inf&amp;gt; twt: TWT flow ID: 0
[00:00:10.817,779] &amp;lt;inf&amp;gt; twt: TWT negotiation type: TWT individual negotiation
[00:00:10.817,810] &amp;lt;inf&amp;gt; twt: TWT responder: false
[00:00:10.817,840] &amp;lt;inf&amp;gt; twt: TWT implicit: true
[00:00:10.817,840] &amp;lt;inf&amp;gt; twt: TWT announce: false
[00:00:10.817,871] &amp;lt;inf&amp;gt; twt: TWT trigger: false
[00:00:10.817,901] &amp;lt;inf&amp;gt; twt: TWT wake interval: 65024 us
[00:00:10.817,901] &amp;lt;inf&amp;gt; twt: TWT interval: 524000 us
[00:00:10.817,901] &amp;lt;inf&amp;gt; twt: ========================
[00:00:10.818,664] &amp;lt;inf&amp;gt; twt: NET_EVENT_WIFI_TWT_SLEEP_STATE
[00:00:10.818,725] &amp;lt;inf&amp;gt; twt: NET_EVENT_WIFI_TWT_SLEEP_STATE
[00:00:11.015,960] &amp;lt;inf&amp;gt; twt: TWT Setup success
[00:00:11.195,495] &amp;lt;inf&amp;gt; twt: NET_EVENT_WIFI_TWT_SLEEP_STATE
[00:00:11.654,846] &amp;lt;inf&amp;gt; twt: NET_EVENT_WIFI_TWT_SLEEP_STATE
...&lt;/pre&gt;&lt;/p&gt;
[quote user="diogo_"]Q2: When I obtain the result shown in Figure 5, the current consumption always remains around 173mA and never decreases again (even after those 60 seconds).[/quote]
&lt;p&gt;173 mA? That is alot.&amp;nbsp;I have seen RX current levels for 60 seconds if a operation fails (on-air) on previous ncs versions, but this seems like a larger scale problem. If you have an algorithm, or a sample, where this can be seen, I would be very interested in replicating and reporting it internally.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/448197?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 15:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85e09c89-30bb-4f1e-8a2b-3b1169016d69</guid><dc:creator>d_7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I decreased the TWT interval to 200ms but the problem remained (I did not detect the wake up and sleep events).&lt;/p&gt;
&lt;p&gt;Regarding your questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Q1: What is seen in&amp;nbsp;Image 5 does not occur every time. Although the code is always the same, sometimes it presents the result shown in&amp;nbsp;Image&amp;nbsp;3 and other times it presents the result in&amp;nbsp;Image 5.&lt;/li&gt;
&lt;li&gt;Q2: When I obtain the result shown in Figure 5, the current consumption always remains around 173mA and never decreases again (even after those 60 seconds).&lt;/li&gt;
&lt;li&gt;Q3: I&amp;#39;m testing with a Ubiquiti AP. I&amp;#39;m using the UniFi 6+.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was also testing the recently updated twt sample in main and I still can&amp;#39;t detect the events. In fact, it seems that it doesn&amp;#39;t even enter the NET_EVENT_WIFI_TWT_SLEEP_STATE case.&lt;/p&gt;
&lt;p&gt;In this sample I made the following changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;main.c :
&lt;ol&gt;
&lt;li&gt;Added the&amp;nbsp;NET_EVENT_WIFI_TWT_SLEEP_STATE to the WIFI_SHELL_MGMT_EVENTS:&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2023_2D00_09_2D00_28-15_2D00_00_2D00_46.png" alt=" " /&gt;&lt;/li&gt;
&lt;li&gt;Added LOG_WRN to the switch...case to check if these events occurred:&lt;img style="height:auto;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/changes_5F00_2.png" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Kconfig (samples/wifi/twt) :
&lt;ol&gt;
&lt;li&gt;As I want to use TWT, I changed the default value for SCHEDULED_TX&lt;img style="height:auto;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/Screenshot-from-2023_2D00_09_2D00_28-15_2D00_25_2D00_06.png" /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;prj.conf :
&lt;ol&gt;
&lt;li&gt;Added the following configugurations:&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_TRAFFIC_GEN_CLIENT=y
CONFIG_TRAFFIC_GEN_SERVER=n
CONFIG_TRAFFIC_GEN_DURATION=10
CONFIG_TRAFFIC_GEN_TYPE_TCP=y
CONFIG_TRAFFIC_GEN_REMOTE_IPV4_ADDR=&amp;quot;10.10.10.76&amp;quot;
#
CONFIG_TWT_TRIGGER_ENABLE=y
CONFIG_TWT_ANNOUNCED_MODE=y
CONFIG_SCHEDULED_TX=y&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The result is as follows:&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/Screenshot-from-2023_2D00_09_2D00_28-15_2D00_43_2D00_51.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So my questions are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;With the changes I&amp;#39;ve made, if TWT was working correctly, shouldn&amp;#39;t I have gotten the LOG_WRN(&amp;quot;NET_EVENT_WIFI_TWT_SLEEP_STATE event&amp;quot;)?&lt;/li&gt;
&lt;li&gt;And the LOG_INF(&amp;quot;SLEEP state&amp;quot;) and LOG_INF(&amp;quot;AWAKE state&amp;quot;)?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As far as I can see, I&amp;#39;m still not able to detect these events. Right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wake up event of Target Wake Time (TWT) on nRF7002-DK</title><link>https://devzone.nordicsemi.com/thread/447997?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 14:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6468f5a-1c7f-4258-91ad-09f223c9e8bd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]What am I doing wrong&amp;nbsp;in the wake up and sleep&amp;nbsp;events detection&amp;nbsp;(in order to send data via UDP during the wake time)?[/quote]
&lt;p&gt;I would recommend that you first try with a low TWT_INTERVAL, and then increase this when you have a working setup.&lt;/p&gt;
&lt;p&gt;We are continuously improving our handling in this case. Have you looked at the recently updated twt sample in main? It includes handling for this scenario:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/e05d9c964c8d7a5f77418347deda6f5795cf9b7e"&gt;https://github.com/nrfconnect/sdk-nrf/commit/e05d9c964c8d7a5f77418347deda6f5795cf9b7e&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Sometimes looks like the TWT is not set (Image 5):[/quote]
&lt;p&gt;Q1: Does the firmware run as expected here?&lt;/p&gt;
&lt;p&gt;Q2: Does the current consumption drop after 60 seconds?&lt;/p&gt;
&lt;p&gt;Q3: Which AP are you testing against?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>