<?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>MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91689/mqtt-simple-disabling-serial-leads-to-crash-while-connecting</link><description>Hello, 
 
 I am working on a customized mqtt_simple version on the Thingy:91 to measure vibration and temperature data and send data in about 4 minutes rythm to our server via MQTT. This works quite well but during PSM I still have a power consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Sep 2022 08:58:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91689/mqtt-simple-disabling-serial-leads-to-crash-while-connecting" /><item><title>RE: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/385879?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 08:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2ac80a4-363e-43cd-98d1-9382d6265742</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jürgen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="grj"]Just one more question: Does this mean that with my project on a Thingy with version 1.6 or higher I automatically have a lower consumption of about 160 µA? Or is that not so easy to say?[/quote]
&lt;p&gt;I cannot be certain that this is the only problem wrt. sleep current, but this is a known issue with the older revisions of thingy:91. There&amp;#39;s several sensors connected to the nRF9160 on the thingy design, which again means that there&amp;#39;s several GPIOs that needs to be&amp;nbsp;set to an idle state before entering sleep mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you can do is to try to run other samples, even without the modem started, to evaluate the current consumption.&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: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/385875?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 08:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:824db415-0ea0-4dfc-b559-ebeed5cba47b</guid><dc:creator>grj</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon, thank you, I have sent you a direct message.&lt;br /&gt;&lt;br /&gt;Just one more question: Does this mean that with my project on a Thingy with version 1.6 or higher I automatically have a lower consumption of about 160 &amp;micro;A? Or is that not so easy to say?&lt;br /&gt;&lt;br /&gt;Best regards J&amp;uuml;rgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/385865?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 08:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b1df6f5-772a-48c9-8064-e8ba8eab80a1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jürgen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="grj"]I have been looking for it but I&amp;#39;m afraid the Thingy is sold out everywhere. Are there currently ways to get Thingy&amp;#39;s in version 1.6.0?&lt;br /&gt;Or do you know when they will be available?[/quote]
&lt;p&gt;Unfortunately, I do not have information related to availability.&lt;/p&gt;
&lt;p&gt;However, your local regional sales manager (RSM) shall be able to help you with this question.&lt;/p&gt;
&lt;p&gt;If you contact your local RSM, he/she will be able to help out.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you do not have the details of your local RSM, please send me a direct message, and I&amp;#39;ll provide the contact details.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&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: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/385640?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 07:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baf84891-ab12-42a2-b5e6-6db79c0494a6</guid><dc:creator>grj</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;oh, I&amp;#39;m afraid I have the version 1.4.0 .&lt;/p&gt;
&lt;p&gt;I have been looking for it but I&amp;#39;m afraid the Thingy is sold out everywhere. Are there currently ways to get Thingy&amp;#39;s in version 1.6.0?&lt;br /&gt;Or do you know when they will be available?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;J&amp;uuml;rgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/385638?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 07:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26e927e1-4b53-4320-8762-dfefe2965503</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jürgen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which version of thingy91 are you currently using?&lt;/p&gt;
&lt;p&gt;We had a hw issue with v1.5&amp;nbsp;and lower, where RF switches drew power:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80120/asset-tracker-v2-power-consumption-with-thingy-91/332108"&gt;RE: Asset Tracker V2 power consumption with Thingy:91&lt;/a&gt;&amp;nbsp;&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: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/385531?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 13:25:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fc43247-0491-4000-b24a-a970d9284bcc</guid><dc:creator>grj</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thank you very much for the quick reply!&lt;br /&gt;That was exactly the problem. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A have changed those two configurations, and now it works fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The consumption at sleep is now at 230 &amp;micro;A.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Would you have any tips on where I can find further potential savings in sleep mode?&lt;br /&gt;I have already PSM activated and the sensors are off which I do not need.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;J&amp;uuml;rgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Simple: Disabling Serial leads to crash while connecting</title><link>https://devzone.nordicsemi.com/thread/384800?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 12:31:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:206598a1-49c4-46f3-a80e-d9f79a7be1dd</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;You seem to be building with SPM on the secure side.&lt;/p&gt;
&lt;p&gt;in your spm.conf, it seems that CONFIG_SERIAL is unset. You can additionally add &amp;quot;CONFIG_SPM_BOOT_SILENTLY=y&amp;quot; to the child_image\spm.conf file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your application prj.conf, it seems that you have enabled the AT host library. This will use a uart backend.&lt;/p&gt;
&lt;p&gt;Try disabling it:&amp;nbsp;CONFIG_AT_HOST_LIBRARY=n&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and see if it helps lower the current?&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>