<?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>nRF5340, fastest possible time to disable/re-enable network core</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115635/nrf5340-fastest-possible-time-to-disable-re-enable-network-core</link><description>I found out nrf_reset_network_force_off() can be used to turn on/off the network core in firmware, per the example in NCS v2.5.0, samples/subsys/ipc/ipc_service/icmsg . I would like to use it in optimizing power in a project that needs to wirelessly transmit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Feb 2025 18:17:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115635/nrf5340-fastest-possible-time-to-disable-re-enable-network-core" /><item><title>RE: nRF5340, fastest possible time to disable/re-enable network core</title><link>https://devzone.nordicsemi.com/thread/521619?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 18:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5b14e2-cd9a-43a6-90cf-b1cbb3d29718</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It looks like the systemviewer is not able to connect to the device and there can be many reasons that this is happening. Many have succeeded in using Systemview like in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/118481/systemview-not-working-when-bluetooth-is-enabled"&gt;this thread&lt;/a&gt;. Please follow the guide from the systemviewer and make sure that you follow every step of it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340, fastest possible time to disable/re-enable network core</title><link>https://devzone.nordicsemi.com/thread/521214?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 06:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa805702-e64d-4d33-9993-6b6ade9be851</guid><dc:creator>esmart-engineering</dc:creator><description>&lt;p&gt;Hello, sorry for the late reply. My company only just brought this topic back up.&lt;/p&gt;
&lt;p&gt;I tested adding the config and C code, but was unable to see data appear in SystemView (I downloaded V3.58). I&amp;#39;m using an nRF5340DK, connected/powered via USB. SystemView appears to detect the J-Link via USB, but it will say &amp;quot;Recorder starting...&amp;quot; (and stay at 1%) and then shortly after report &amp;quot;Error starting recorder&amp;quot;. My settings were to use J-Link (USB), target connection &amp;quot;CORTEX-M33&amp;quot;, target interface SWD (4000kHz), and RTT control block detection at &amp;quot;auto&amp;quot;.&lt;/p&gt;
&lt;p&gt;Am I missing something in the hardware setup?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340, fastest possible time to disable/re-enable network core</title><link>https://devzone.nordicsemi.com/thread/507038?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 05:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62d8d6ae-7ea1-44b0-a5ea-ff85a1ce4620</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Segger Systemview is something you need to &lt;a href="https://www.segger.com/products/development-tools/systemview/"&gt;download&lt;/a&gt;. VSC does not have anything to see thread contexts in realtime yet.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340, fastest possible time to disable/re-enable network core</title><link>https://devzone.nordicsemi.com/thread/506982?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 17:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c47cda2-9c06-41e4-84f8-274afa01835e</guid><dc:creator>esmart-engineering</dc:creator><description>&lt;p&gt;Sorry I didn&amp;#39;t clarify earlier. My development environment is with Windows 10 and VS Code, not SEGGER. What would the corresponding settings be if I&amp;#39;m using VS Code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340, fastest possible time to disable/re-enable network core</title><link>https://devzone.nordicsemi.com/thread/506824?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 06:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:152dc97e-9863-4a83-86ec-f51c48b6a35e</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]Is there something I can do to have k_sem_take() finish quicker? I&amp;#39;m working on this at the moment, but am open to other tips.[/quote]
&lt;p&gt;Haven&amp;#39;t tried it but you should be able to see the activities before k_sem_take, if you enable system viewer from segger using the below configs in your prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_THREAD_NAME=y
CONFIG_SEGGER_SYSTEMVIEW=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_TRACING=y
# enable for post-mortem tracing
CONFIG_SEGGER_SYSVIEW_POST_MORTEM_MODE=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Add&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;SEGGER_SYSVIEW.h&amp;gt;
    SEGGER_SYSVIEW_Conf();  // Configure SystemView
    SEGGER_SYSVIEW_Start(); // Start SystemView recording&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;in your main function and see if the of wait is full use of CPU or of something else was just waiting. If there is a lot of wait before sem_take, you can see the context of which thread was waiting and probably there is some room for optimization there.&lt;/p&gt;
&lt;p&gt;The rest of your question will also be answered once you get your systemviewer running with your app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>