<?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>nRF9160DK LTE Sensor Gateway low power operation without UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80634/nrf9160dk-lte-sensor-gateway-low-power-operation-without-uart</link><description>I&amp;#39;m using the LTE Sensor Gateway sample (NCS 1.7) to transfer data from a BLE sensor to the nRF9160DK up to NRF Cloud. To get low power operation, I&amp;#39;ve been able to use the PSM feature to reduce LTE radio power draw, but my current consumption floor is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Oct 2021 07:36:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80634/nrf9160dk-lte-sensor-gateway-low-power-operation-without-uart" /><item><title>RE: nRF9160DK LTE Sensor Gateway low power operation without UART?</title><link>https://devzone.nordicsemi.com/thread/334268?ContentTypeID=1</link><pubDate>Fri, 15 Oct 2021 07:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0310e8fb-23da-4c29-8ec8-b1f1c07a4765</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 deepest apologies.&lt;/p&gt;
&lt;p&gt;I see what is the issue. Could you try to set this in prj.conf?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CONSOLE=n&lt;/pre&gt;&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: nRF9160DK LTE Sensor Gateway low power operation without UART?</title><link>https://devzone.nordicsemi.com/thread/334227?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 16:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:570544df-a39c-480a-9099-8bed71978f7c</guid><dc:creator>mraj</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; Thanks for the quick response. Starting with an unmodified&amp;nbsp;lte_ble_gateway project (NCS 1.7.0), I tried the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;a) Running the unmodified code on the nRF9160DK. Connected to NRF Cloud successfully with the following current profile, which looks correct. You&amp;#39;ll notice the&amp;nbsp;current floor in the idle periods is around 845 uA.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/LTESensorGatewayUART.png" /&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;&amp;nbsp; b) I then modified ./child_image/spm.conf to include CONFIG_SERIAL=n and disabled uart0 in the device tree&amp;nbsp;overlay file (./boards/nrf9160dk_nrf9160_ns.overlay), as you suggested. I got the following current profile:&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/LTESensorGatewayNOUART.png" /&gt;&amp;nbsp;To me, this&amp;nbsp;looks like the device is reset due to an error condition, but since I disabled the UART I can&amp;#39;t monitor the&amp;nbsp;device to debug. Is it&amp;nbsp;possible the base project requires uart0 for something specific?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any&amp;nbsp;additional insights you can give&amp;nbsp;would be greatly&amp;nbsp;appreciated, thanks very much.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; Milan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160DK LTE Sensor Gateway low power operation without UART?</title><link>https://devzone.nordicsemi.com/thread/334202?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 14:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa352d3d-5b89-4eba-ae89-351274dc1627</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;For the HCI part, you can have a look at the lpuart example for nrf9160dk_nrf52840 board:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.7.0/samples/bluetooth/hci_lpuart"&gt;https://github.com/nrfconnect/sdk-nrf/tree/v1.7.0/samples/bluetooth/hci_lpuart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The lte_ble_gateway example uses lpuart by default for the nRF9160, but you need to disable serial in SPM.&lt;/p&gt;
&lt;p&gt;That is done by adding CONFIG_SERIAL=n to this file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.7.0/samples/nrf9160/lte_ble_gateway/child_image/spm.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.7.0/samples/nrf9160/lte_ble_gateway/child_image/spm.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can also disable uart0 in the device tree overlay file (&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.7.0/samples/nrf9160/lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.7.0/samples/nrf9160/lte_ble_gateway/boards/nrf9160dk_nrf9160_ns.overlay&lt;/a&gt;) :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and see if it works better now?&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></channel></rss>