<?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 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95841/nrf5340-set-low-power-mode-between-advertising-interval</link><description>Hi 
 I want to set the low power mode between advertising interval. I intend to have advertising interval around 5s. According to online power profile for BLE, I should be able to reach avg current 7.1uA 
 
 
 
 Test setup 
 
 
 
 Voltage 
 1.8 V 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jan 2023 07:13:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95841/nrf5340-set-low-power-mode-between-advertising-interval" /><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/406379?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 07:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d4068d0-22fc-45f4-ba64-09d9e8b7b09f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What board are you trying to build for?&lt;/p&gt;
&lt;p&gt;Which SDK version are you using?&lt;/p&gt;
&lt;p&gt;Did you install the SDK using the Toolchain Manager?&lt;/p&gt;
&lt;p&gt;Are you building from command line or using an IDE?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/406231?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2023 12:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb9c28e4-180a-4017-b88a-fb51d854c06b</guid><dc:creator>szhaulai</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I cannot build the project out of the box. I am using nrf5340DK. Thanks for the document. This one explain better than other version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/406211?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2023 11:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b7b76c3-4201-4144-a15c-6956898f832e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You mean to say the multicore sample doesn&amp;#39;t build out of the box, or did you make some changes to the project?&lt;/p&gt;
&lt;p&gt;If so, could you summarize what you changed?&lt;/p&gt;
&lt;p&gt;Which board did you build the sample for?&lt;/p&gt;
&lt;p&gt;Regarding documentation for adding child images, please take a look &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_multi_image.html#adding-a-child-image-using-zephyr-modules"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/405971?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 08:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3ebb787-fb17-4678-9faf-dd59b8dded5f</guid><dc:creator>szhaulai</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I found out the problem now. The BT stack consumes around 240uA.&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/74092/high-power-consumption-when-running-the-ble-stack"&gt;High power consumption when running the BLE stack.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have to configure the&amp;nbsp;\ncs\v2.0.2\zephyr\samples\bluetooth\hci_rpmsg&amp;nbsp; &amp;nbsp;project with CONFIG_SERIAL=n&lt;/p&gt;
&lt;p&gt;to deactivate the logging in network core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here it raise another question. Is it possible to combine the sub image build configuration in the parent paroject. I tried to build the multicore example with no success.&amp;nbsp;The following are my error log from build&amp;nbsp;&lt;/p&gt;
&lt;p&gt;FAILED: zephyr/merged_domains.hex &lt;br /&gt;cmd.exe /C &amp;quot;cd /D C:\Users\info\ncs\firmware_v3\multicore\build &amp;amp;&amp;amp; C:\Users\info\ncs\toolchains\v2.0.2\opt\bin\python.exe C:/Users/info/ncs/v2.0.2/zephyr/scripts/mergehex.py -o C:/Users/info/ncs/firmware_v3/multicore/build/zephyr/merged_domains.hex C:/Users/info/ncs/firmware_v3/multicore/build/hci_rpmsg/zephyr/merged_CPUNET.hex C:/Users/info/ncs/firmware_v3/multicore/build/cpunet/zephyr/merged_cpunet.hex C:/Users/info/ncs/firmware_v3/multicore/build/zephyr/merged.hex&amp;quot;&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;C:/Users/info/ncs/v2.0.2/zephyr/scripts/mergehex.py&amp;quot;, line 28, in merge_hex_files&lt;br /&gt; ih.merge(to_merge, overlap=overlap)&lt;br /&gt; File &amp;quot;c:\Users\info\ncs\toolchains\v2.0.2\opt\bin\Lib\site-packages\intelhex\__init__.py&amp;quot;, line 875, in merge&lt;br /&gt; raise AddressOverlapError(&lt;br /&gt;intelhex.AddressOverlapError: Data overlapped at address 0x1000000&lt;/p&gt;
&lt;p&gt;During handling of the above exception, another exception occurred:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;C:/Users/info/ncs/v2.0.2/zephyr/scripts/mergehex.py&amp;quot;, line 56, in &amp;lt;module&amp;gt;&lt;br /&gt; main()&lt;br /&gt; File &amp;quot;C:/Users/info/ncs/v2.0.2/zephyr/scripts/mergehex.py&amp;quot;, line 52, in main&lt;br /&gt; merge_hex_files(args.output, args.input_files, args.overlap)&lt;br /&gt; File &amp;quot;C:/Users/info/ncs/v2.0.2/zephyr/scripts/mergehex.py&amp;quot;, line 30, in merge_hex_files&lt;br /&gt; raise AddressOverlapError(&amp;quot;{} has merge issues&amp;quot;.format(hex_file_path))&lt;br /&gt;intelhex.AddressOverlapError: C:/Users/info/ncs/firmware_v3/multicore/build/cpunet/zephyr/merged_cpunet.hex has merge issues&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;c:\Users\info\ncs\toolchains\v2.0.2\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\Users\info\ncs\firmware_v3\multicore\build&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It would be nice to have a more detail explanation&amp;nbsp;step by step to include a child image configuration in side parent project. I am kind of dumbed or lacking of information to understand the content describe in the following link.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/nrf5340/multicore/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/nrf5340/multicore/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/405966?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 08:32:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:924f9dd3-183d-4f41-b70b-6a8cde35b91b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You mean all you did was to open the standard basic/blinky sample and add CONFIG_BT=y?&lt;/p&gt;
&lt;p&gt;Did you remember to disable logging?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With the following config I see no difference in current consumption whether I have CONFIG_BT enabled or not:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/405858?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2023 14:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3a1c3a9-c38e-4567-a023-2def7783688e</guid><dc:creator>szhaulai</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried the blinky example in the documentation. I get 5.9uA avg current which is good. However, if I add CONFIG_BT=y in the prj.conf file , then it becomes 250uA. Is it possible to send bluetooth advertisement without configure CONFIG_BT=y?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How is it possible to achieve 7.1uA&amp;nbsp; a&lt;span&gt;ccording to online power profile for BLE. As long as CONFIG_BT is activated, it starts to consume 250uA?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 set low power mode between advertising interval</title><link>https://devzone.nordicsemi.com/thread/405695?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 13:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5263bea-72cf-4b25-b98b-a115a4a666be</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All the Bluetooth examples in the nRF Connect SDK should go to sleep in between Bluetooth events, but typically the examples will&amp;nbsp;enable the UART for logging purposes, which will negatively affect the sleep current.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_power_opt.html"&gt;This&lt;/a&gt; documentation page contains some information on how to optimize the examples for low power. Please note it is targeting nRF91 applications specifically, but a lot of the information is relevant for the nRF53 as well. In particular the section regarding logging.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>