<?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>How to reach &amp;lt; 10 uA current in PSM mode with the nrf9160 DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42977/how-to-reach-10-ua-current-in-psm-mode-with-the-nrf9160-dk</link><description>Hi everyone! 
 
 We are currently trying to use the nrf9160 DK in order to test the LTE-M coverage &amp;amp; low-power capacity. We ran into some issues regarding the low-power measurement on the board : 
 
 * Software 
 - We are using the asset_tracker software</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2019 06:51:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42977/how-to-reach-10-ua-current-in-psm-mode-with-the-nrf9160-dk" /><item><title>RE: How to reach &lt; 10 uA current in PSM mode with the nrf9160 DK?</title><link>https://devzone.nordicsemi.com/thread/197992?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 06:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b01494c1-ae3a-4920-b5d0-f48dacb4ae02</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/hardware-design/posts/measuring-psm-idle-current-on-the-nrf91-dk"&gt;Measuring PSM idle current on the nRF91 DK&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach &lt; 10 uA current in PSM mode with the nrf9160 DK?</title><link>https://devzone.nordicsemi.com/thread/197967?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 04:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ee3b531-593a-41f9-9a28-533009ea4537</guid><dc:creator>slomusti</dc:creator><description>&lt;p&gt;Dear Erienne, did you happen to be successful with the above work? Can you share some details please.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach &lt; 10 uA current in PSM mode with the nrf9160 DK?</title><link>https://devzone.nordicsemi.com/thread/173180?ContentTypeID=1</link><pubDate>Wed, 27 Feb 2019 09:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96fb5b86-cf17-4cac-8963-ce7f1639210f</guid><dc:creator>&amp;#201;tienne Castani&amp;#233;</dc:creator><description>&lt;p&gt;Dear Martin,&lt;/p&gt;
&lt;p&gt;Thank you for your detailed answer.&lt;/p&gt;
&lt;p&gt;We started again working on the nrf9160 DK these days. Our main goal remains the same: compiling a working example that regulary sends data to a server (mqtt or http or else could even be SMS) then goes to sleep in PSM mode between transmissions.&lt;/p&gt;
&lt;p&gt;If such an example is published please do not hesitate to tell us where we can find it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We tried using the mqtt_simple example as you said. We ran into some issues with the latest master branches (similar to what this ticket describes&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43366/nrf9160-mqtt-example"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/43366/nrf9160-mqtt-example&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We are currently trying to get mqtt_simple example working, then we will be able to test the modifications you suggested (using&amp;nbsp;lte_lc_psm_req() or the AT cmds).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&amp;Eacute;tienne&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach &lt; 10 uA current in PSM mode with the nrf9160 DK?</title><link>https://devzone.nordicsemi.com/thread/169560?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 14:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14a09a1f-541a-4b56-8489-2c899896e92c</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Étienne,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since the &lt;em&gt;asset_tracker&lt;/em&gt; is not yet power optimized, I would rather recommend you to use the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/tree/master/samples/nrf9160/mqtt_simple"&gt;&lt;em&gt;simple_mqtt&lt;/em&gt; &lt;/a&gt;sample as a starting point.&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;The thing is that the PSM periods needs to be negotiated&amp;nbsp;with the network, and also the idle eDRX periods:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="text-decoration:underline;"&gt;1.use functions from the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c"&gt;lte_link_control driver:&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Function for requesting modem to go to PSM mode:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c#L193"&gt;lte_lc_psm_req()&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Function for requesting modem to use eDRX.&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c#L218"&gt;&amp;nbsp;&lt;em&gt;lte_lc_edrx_req()&lt;/em&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For configuring the PSM values, you can set the&amp;nbsp;C&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/reference/kconfig/CONFIG_LTE_PSM_REQ_RPTAU.html?highlight=config_lte_psm_req_rptau"&gt;ONFIG_LTE_PSM_REQ_RPTAU&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/reference/kconfig/CONFIG_LTE_PSM_REQ_RAT.html?highlight=config_lte_psm_req_rat"&gt;CONFIG_LTE_PSM_REQ_RAT&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;in the&amp;nbsp;&lt;em&gt;prj.conf file&lt;/em&gt;&amp;nbsp;or directly in the SES IDE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For configuring the eDRX values, you can set the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/reference/kconfig/CONFIG_LTE_EDRX_REQ_ACTT_TYPE.html?highlight=config_lte_edrx_req_actt_type"&gt;CONFIG_LTE_EDRX_REQ_ACTT_TYPE &lt;/a&gt;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/reference/kconfig/CONFIG_LTE_EDRX_REQ_VALUE.html?highlight=config_lte_edrx_req_value#cmdoption-arg-config-lte-edrx-req-value"&gt;CONFIG_LTE_EDRX_REQ_VALUE&lt;/a&gt;&amp;nbsp;in the &lt;em&gt;prj.conf file&lt;/em&gt; or directly in the SES IDE:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-937bc2a2ed27430d93878659ef06582e/pastedimage1549378864665v1.png" alt=" " /&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;&lt;span style="text-decoration:underline;"&gt;2. manually with AT+commands&lt;/span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would advise&amp;nbsp;you to set the Power Saving Mode (PSM) via &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/at_commands/latest/REF/at_commands/nw_service/cpsms_set" rel="noopener noreferrer" target="_blank"&gt;this AT-command&amp;nbsp;&lt;/a&gt;and then set the requested Extended Discontinuous&amp;nbsp;&lt;/span&gt;Reception (eDRX) via &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/at_commands/latest/REF/at_commands/nw_service/cedrxs_set" rel="noopener noreferrer" target="_blank"&gt;this AT-Command&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can add this into your application similar to how it&amp;#39;s done in this&lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/simple_at/src/main.c"&gt; &amp;quot;&lt;em&gt;simple_at&lt;/em&gt;&amp;quot; sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And when measuring the current you should avoid having UART and such enabled to avoid additional current consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reach &lt; 10 uA current in PSM mode with the nrf9160 DK?</title><link>https://devzone.nordicsemi.com/thread/168408?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 09:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14aac0e0-5000-427a-b7dc-efb7cdad335e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Eacute;tienne,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am sorry for&amp;nbsp;the delay.&lt;br /&gt;&lt;em&gt;[&lt;a href="https://devzone.nordicsemi.com/b/nrf9160-development-status/posts/nrf9160-development-status"&gt;Note&lt;/a&gt;&lt;/em&gt; that the FW is not quite completed with regards to power optimizations.]&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That being&amp;nbsp;said you should be able to reach a much lower current consumption than you are&amp;nbsp;measuring.&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;First&amp;nbsp;thing that needs to be modified is the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/0.3.0/nrf/samples/nrf9160/secure_boot/README.html"&gt;&lt;em&gt;secure_boot &lt;/em&gt;&lt;/a&gt;application&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;We need to disable the Serial Drivers&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&amp;#39;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548749176240v2.png" alt=" " /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or directly modify the &amp;quot;&lt;em&gt;&lt;strong&gt;prj.conf&lt;/strong&gt;&amp;quot; &lt;/em&gt;file by setting:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SERIAL=n&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The &amp;quot;&lt;strong&gt;prj.conf&lt;/strong&gt;&amp;quot; file is located in the same folder as where the CMakeLists.txt is located:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548749566796v3.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[Build and flash the new s&lt;em&gt;ecure_boot&lt;/em&gt; FW]&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Regarding the Asset_tracker sample, it is not power optimized to the fullest, so there may be some peripherals/clocks running in the background.&lt;/p&gt;
&lt;p&gt;I need more time to debug and look at this. I will update this case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>