Low Power mode using GNSS sample code with nRF9160 DK

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 if possible.

I only need the GNSS sample code to basically locate my device every 2 hours

So, my main questions are:

How do I activate low power or sleep mode in the nRF9160?

How can I configure the GNSS sample code to achieve low current consumption?

Thanks

Parents Reply Children
  • Please advise on any alternate solutions or methods I could try.

    Regards,

    Wesley

  • Hi Wesley,

    I did the following change to the original GNSS sample. Set it to period GNSS modem with default 120s interval and 20s timeout.

    You can see the PPK recording shows it reach to floor current when timeout or GNSS fix happen.

    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
    

    Best regards,

    Charlie

Related