<?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>Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112295/low-power-mode-using-gnss-sample-code-with-nrf9160-dk</link><description>Hi, 
 I am investigating low power modes in the nRF9160. I am currently using the GNSS sample code and getting around 36mA. Is there any way to configure the base code to achieve a much lower current? Ideally, I want to drop the current from mA to uA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2024 07:52:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112295/low-power-mode-using-gnss-sample-code-with-nrf9160-dk" /><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/494489?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 07:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf5a8710-fba2-4822-a1b0-8e3d84bfc500</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Great! You are welcome. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/494401?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 13:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c996a4f4-efd4-45b9-9235-fccde2d35ab2</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It works as expected now. I&amp;#39;m not sure what the issue was but the debug has been disabled and I am getting the same floor current as you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your assistance.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/494359?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 12:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0077c0ec-ee15-4238-ba25-ea5f8b2a098e</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Sure, here it is. I also attached the firmware gnss.hex built with &amp;quot;west build -p -b nrf9160dk_nrf9160_ns&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/gnss.zip"&gt;devzone.nordicsemi.com/.../gnss.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/494321?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 11:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54d98d4-bc21-485d-9f6a-fb33285f29e3</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the response. I made the changes but somehow, I am still not getting the desired results.&lt;/p&gt;
&lt;p&gt;Would it at all be possible if you could send or provide the GNSS application you built so that I can compile it on my PC and flash it to my nRF9160. That way I should get the same readings as you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/493949?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 14:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:513ba306-f0e8-4fcd-9fa0-48313ba54610</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Wesley,&lt;/p&gt;
&lt;p&gt;I did the following change to the original GNSS sample. Set it to period GNSS modem with default 120s interval and 20s timeout.&lt;/p&gt;
&lt;p&gt;You can see the PPK recording shows it reach to floor current when timeout or GNSS fix happen.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;chs1@csh1 MINGW64 /c/NCS/v1.9.0/nrf/samples/nrf9160/gnss ((v1.9.0))
$ git diff --cached
diff --git a/samples/nrf9160/gnss/child_image/spm.conf b/samples/nrf9160/gnss/child_image/spm.conf
new file mode 100644
index 000000000..72a7d45fe
--- /dev/null
+++ b/samples/nrf9160/gnss/child_image/spm.conf
@@ -0,0 +1 @@
+CONFIG_SERIAL=n
\ No newline at end of file
diff --git a/samples/nrf9160/gnss/prj.conf b/samples/nrf9160/gnss/prj.conf
index 9a81e3ed0..ce5a385c0 100644
--- a/samples/nrf9160/gnss/prj.conf
+++ b/samples/nrf9160/gnss/prj.conf
@@ -45,3 +45,8 @@ CONFIG_NET_NATIVE=n
 CONFIG_HEAP_MEM_POOL_SIZE=2048
 CONFIG_MAIN_STACK_SIZE=4096
 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
+
+
+CONFIG_GNSS_SAMPLE_MODE_PERIODIC=y
+CONFIG_GNSS_SAMPLE_PERIODIC_TIMEOUT=20
+CONFIG_SERIAL=n
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:640px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x480/__key/communityserver-discussions-components-files/4/ppk_2D00_20240715T141514.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/493849?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 10:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:402cd946-96f4-431e-bee1-b3c8bef82a71</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Please advise on any alternate solutions or methods I could try.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/493848?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 10:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ffc1dde-1285-4dd6-9118-db05922ad1d7</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Sorry for the late response and I appreciate the feedback you&amp;#39;ve given. Came back to this project and even though the output is disabled, the text (from the image at the top of this chat) still appears even after changing CONFIG_SERIAL to n. The current still drops to 440uA instead of the intended 2-4uA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/491287?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 10:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c433db-737d-4b3b-b4b5-31f9cc677bcb</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;I add &amp;quot;CONFIG_SERIAL=n&amp;quot; to&amp;nbsp;v1.9.0\nrf\samples\spm\prj.conf then the log output for SPM is disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/491265?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 09:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25e7758c-912b-44a5-a1d9-97a84225f0d2</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;No it did not unfortunately&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/491263?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 09:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ae81c4f-cb59-459a-92bd-7f3da456de91</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Wesley,&lt;/p&gt;
&lt;p&gt;Sorry, I will borrow a Linux PC to try now. Does it mean your test with&amp;nbsp;&lt;span&gt;prj_minimal.conf&amp;nbsp;not work at all?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/491234?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 08:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68093f0c-3752-481c-9784-09be416f4285</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Hi Charlie, Any update on this query?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489984?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 13:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d182d84-5c09-429d-96e6-8710dd207aee</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s perfectly fine. I will continue to investigate using the resources you provided.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489972?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2007612-ace7-470a-8a4e-fec909659b12</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Wesley,&lt;/p&gt;
&lt;p&gt;Sorry, I have not worked with SPM for a while and I need to set up the environment for NCS 1.9.0 for this request and will come back to you next week.&lt;/p&gt;
&lt;p&gt;You can have quick try by copy content in&amp;nbsp;prj_minimal.conf replace the configuration in prj.conf of&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v1.9-branch/samples/spm"&gt;sdk-nrf/samples/spm at v1.9-branch · nrfconnect/sdk-nrf (github.com)&lt;/a&gt;&amp;nbsp;sample then rebuild the whole project.&lt;/p&gt;
&lt;p&gt;The theory behind is introduced in the following pages:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/using-a-custom-secure-partition-manager-wtih-your-application"&gt;(+) Using a custom Secure Partition Manager with your application - Software - nRF Connect SDK guides - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489963?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 12:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ab91c3-7c7b-4a22-af26-f7cbe1251415</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Hi Charlie, thanks for this site. I have tried to implement the same configurations for the GNSS sample code but still had no luck.&lt;/p&gt;
&lt;p&gt;I have to work with the GNSS sample and with SDK 1.9.0 due to this being a product for the NETSTAR customer. Your responses are appreciated.&lt;/p&gt;
&lt;p&gt;The nRF9160 with the GNSS sample code consumes 36mA and then drops to around 440uA as expected. If I am able to disable all debug in the serial terminal, then this should drop the current to 2uA-4uA which is my intended goal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489955?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 11:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:520c9eba-bdca-4b73-8ef9-f43d2bf6a3b4</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Ok, you can refer to the spm.conf configuration in SLM sample. It disables the log output from SPM.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.9-branch/applications/serial_lte_modem/child_image/spm.conf"&gt;sdk-nrf/applications/serial_lte_modem/child_image/spm.conf at v1.9-branch · nrfconnect/sdk-nrf (github.com)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489946?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 11:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1a1e1ce-e7a4-4b57-98ad-b82812fd95fa</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Thank you for the timely response. For my investigation, I have to work with 1.9.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Wesley&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489943?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 11:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d146f915-8573-46ab-b340-b98df7ab5b3f</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Wesley,&lt;/p&gt;
&lt;p&gt;If you just start your development, I strongly suggest you&amp;nbsp;switch&amp;nbsp;to the latest NCS version(NCS 2.6.1 now and NCS 2.7.0 will be released next week)+MFW 1.3.6.&lt;/p&gt;
&lt;p&gt;NCS 1.x and 2.x has a big change on&amp;nbsp;security management, you would not have this displaying when you switch from SPM to TF-M (introduced since NCS 2.0.0).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_1.x_to_2.x.html#default_secure_firmware_solution_change"&gt;Migration notes for nRF Connect SDK v2.0.0 (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/tfm.html#migrating_from_secure_partition_manager_to_trusted_firmware-m"&gt;Running applications with Trusted Firmware-M (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/tfm/index.html"&gt;Trusted Firmware-M Documentation (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you still have to work with NCS 1.9.0 or not.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489900?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:35:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c37ba6c-6065-4c07-aae0-aa316fb1c7c4</guid><dc:creator>Wesley14</dc:creator><description>&lt;p&gt;Thank you, Charlie, for the response. The blog definitely helped. One more concern I have is with regards to the &amp;quot;Booting Zephyr OS&amp;quot; message that appears in the serial terminal. Below is an image displaying the issue.&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/pastedimage1718961970174v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;My question is, how do I stop this message from displaying?&lt;/p&gt;
&lt;p&gt;I am using SDK 1.9.0.&lt;/p&gt;
&lt;p&gt;I have changed the following as well, but the message still appears:&lt;/p&gt;
&lt;p&gt;CONFIG_SERIAL=n&lt;/p&gt;
&lt;p&gt;CONFIG_UART_SERIAL=n&lt;/p&gt;
&lt;p&gt;CONFIG_SECURE_BOOT_DEBUG=n&lt;/p&gt;
&lt;p&gt;CONFIG_LOG=n&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Power mode using GNSS sample code with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/489869?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 08:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:179b8f32-76b6-4c80-acbb-267504dc9e42</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Wesley,&lt;/p&gt;
&lt;p&gt;Thanks for checking with us this request. You can start with the following blog, it basically covers your two questions.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/the-benefits-of-assisted-gps-in-asset-tracking-applications"&gt;(78) Up to 4x battery life: The benefits of assisted GPS in asset tracking - Blogs - Nordic Blog - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you have more questions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>