<?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 put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59007/how-to-put-m33-mcu-in-nrf9160-sleep-mode-imcuoffo</link><description>Hi, 
 
 Are there any sample code to put M33 MCU in nRF9160 SOC in sleep mode (Imcuoffo). 
 
 With regards, 
 Praveen Palaparthi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Apr 2020 12:48:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59007/how-to-put-m33-mcu-in-nrf9160-sleep-mode-imcuoffo" /><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/243194?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 12:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96dd6f10-e3fe-4d02-bcbc-f717f469a61c</guid><dc:creator>praveenpalaparthi</dc:creator><description>&lt;p&gt;Thank you Martin... I got the information..I have another query on low power modes i have created new case for that lets meet there.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/242976?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 13:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b55bd507-3fa7-4f0f-b5b5-ba48c3988f55</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;I&amp;#39;m not 100% about what you mean with regards to the idle.c file, but I would assume that should work fine as well if you have a similar &amp;quot;enter_sleep&amp;quot; function in that .c file where you call that function from one of your threads. (e.g. the main thread)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/242825?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 04:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d81e1499-16f7-4a4c-9755-d365200a461c</guid><dc:creator>praveenpalaparthi</dc:creator><description>&lt;p&gt;In order to implement power management API&amp;#39;s do we need to create a operate thread or can we implement in system Idle thread in idle.c file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/240628?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 12:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95aaf343-2734-4437-a5fe-25f5a6052990</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Praveen,&lt;br /&gt;I assume you will not use the nrf9160 for a Serial modem (thin modem) and can overlook the SLM functionality in&amp;nbsp;what was described earlier.&lt;br /&gt;&lt;br /&gt;Here is the documentation for &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fpmu.html&amp;amp;cp=2_0_0_4_0_0_1&amp;amp;anchor=system_off_mode"&gt;System OFF mode for the M33&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt; To just put the MCU to SYSTEM OFF mode you can use the three functions in the snippet shared earlier.&lt;br /&gt; &lt;/p&gt;
&lt;p&gt;#include &amp;lt;lte_lc.h&amp;gt;&lt;/p&gt;
&lt;p&gt;#include &amp;lt;bsd.h&amp;gt;&lt;/p&gt;
&lt;p&gt;#include &amp;lt;hal/nrf_regulators.h&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;void enter_sleep(void)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* The LTE modem also needs to be stopped by issuing a command&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* through the modem API, before entering System OFF mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* Once the command is issued, one should wait for the modem&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* to respond that it actually has stopped as there may be a&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* delay until modem is disconnected from the network.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* Refer to &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/"&gt;infocenter.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* pmu.html?cp=2_0_0_4_0_0_1#system_off_mode&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*/&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.2.0/lib/lte_link_control/lte_lc.c#L322"&gt;lte_lc_offline();&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/include/bsd.h#L78"&gt;bsd_shutdown();&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/hal/nrf_regulators.h#L243"&gt;nrf_regulators_system_off&lt;/a&gt;(&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fregulators.html&amp;amp;cp=2_0_0_4_2_2"&gt;NRF_REGULATORS_NS);&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt; &lt;br /&gt; Please follow the links for more info on each.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/240225?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 11:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9b172c-8ac3-45ea-b263-af493311c537</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;In the Kconfig file in the SLM folder, see an excerpt below. The other macro you mentioned is also defined there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;choice
	prompt &amp;quot;UART for Interconnect&amp;quot;
	default SLM_CONNECT_UART_0
	help
		Sets the UART to use for interconnect
		-  UART 0
		-  UART 1
		-  UART 2
	config SLM_CONNECT_UART_0
		bool &amp;quot;UART 0&amp;quot;
	config SLM_CONNECT_UART_1
		bool &amp;quot;UART 1&amp;quot;
	config SLM_CONNECT_UART_2
		bool &amp;quot;UART 2&amp;quot;
endchoice&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/240207?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 10:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c31ef2e7-aeee-4480-88ab-04fdfe027403</guid><dc:creator>praveenpalaparthi</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for pointing me to serial LTE modem sample code,&lt;/p&gt;
&lt;p&gt;In the SLM example code, where does the macro&amp;nbsp;CONFIG_SLM_CONNECT_UART_0&amp;nbsp; is defined.In the documents mentioned that this macro is default enabled. Could you please point me to the file where it is defined.There are few other macros too which like&amp;nbsp;CONFIG_SLM_AT_HOST_TERMINATION,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1584440431756v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much in advance.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;Praveen P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to put M33 MCU in nRF9160 sleep mode(Imcuoffo)</title><link>https://devzone.nordicsemi.com/thread/239548?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 13:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5dd3ae4-d180-4f23-8114-cf53c0ce0e5c</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to put the MCU in&amp;nbsp;&lt;em&gt;system off&lt;/em&gt; mode is shown in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/serial_lte_modem/README.html"&gt;Serial LTE Modem sample&lt;/a&gt;, with the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.2.0/samples/nrf9160/serial_lte_modem/src/main.c#L49"&gt;enter_sleep()&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>