<?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>nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37143/nrf52832-not-able-to-go-to-low-power-mode</link><description>Hi All, 
 I am developing an application in which i am interfacing the nRF52832 with an ADC via SPI. 
 I am doing channel multiplexing (2 channels) such that when i get data from 2 sensors, i am putting the micro in low power mode for 2 seconds and the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Aug 2018 02:38:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37143/nrf52832-not-able-to-go-to-low-power-mode" /><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143282?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 02:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e21b19a9-bdfe-429a-987c-be3da1d9b6fd</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Thank you, this worked. Error&amp;nbsp;above that i was getting was because of usage of wrong function names (SILLY!!!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143281?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 02:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e03c9be7-5572-4c22-9811-cc94516fa6f5</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Thanks, i included that in the project now. But it is throwing a compiler error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/500x70/__key/communityserver-discussions-components-files/4/pastedimage1533693532332v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I followed this forum afterwards to solve the issue:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29174/adding-arm-math-library-to-segger-s-nrf52-ble-projects---check-__fpu_present-compile-error"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/29174/adding-arm-math-library-to-segger-s-nrf52-ble-projects---check-__fpu_present-compile-error&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But, issue still remains. Could you help me resolve this issue as well?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143228?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 12:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:515e0140-e598-473a-8db4-5e65312e33e8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you add the use of floats at the same time you added the change_mux_channel function? Have you added the workaround described in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev1.errata/anomaly_832_87.html?cp=2_1_1_1_1_24"&gt;this errata&lt;/a&gt; to your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143168?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 09:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21499b52-8c8d-4c40-ac88-9fa63fd800d9</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;It doesn&amp;#39;t get stuck anywhere actually.&lt;/p&gt;
&lt;p&gt;change_mux_channel() is just sending commands to configure registers on ADC for channel switching.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is how the flow is supposed to be working:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. gets data from pH channel (default configuration)&lt;/p&gt;
&lt;p&gt;2. Change channel to configure for Temperature&lt;/p&gt;
&lt;p&gt;3. Go to low power mode till timer 2 is not expired&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. gets data from temperature channel&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. Change channel to configure for pH&amp;nbsp;&lt;/p&gt;
&lt;p&gt;6. go to low power mode till timer 2 expires&amp;nbsp;&lt;/p&gt;
&lt;p&gt;7. repeat 1-6&lt;/p&gt;
&lt;p&gt;During this channel switching, problem lies. There is some event or INTR thats keeping it up and now allowing to go to low power mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143165?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 09:08:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d56e3363-c206-4a31-85b2-543fa665d3d7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What exactly do you mean by &amp;quot;change_mux_channel is the one causing the issue&amp;quot;? Do the application get stuck in this function? If it does, on which exact line is is stuck? If not, do it enter the other states in your application where power_manage() is called after change_mux_channel is done?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143103?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 00:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c3fb583-43cb-45e8-b8cb-5e1edf7deded</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes i did. Function change_mux_channel is the one causing the issue. Once i try to change ADC channel, it is not going to low power. Any thoughts if its related to how i am handling SPI?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/143009?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 11:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:226f2dcb-1568-4767-b469-910af28e2779</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you debugged the application to see if it is stuck in a loop somewhere? It looks like there is some cases in you application where power_manage()/sd_app_evt_wait() will not be called.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/142922?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 00:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6446c063-0284-4540-a7d1-fd499d1fd78e</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will attach the main.c file for your reference.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5481.main.c"&gt;devzone.nordicsemi.com/.../5481.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 not able to go to low power mode</title><link>https://devzone.nordicsemi.com/thread/142785?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 11:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67cd25e4-c8f3-441b-b258-6ef6acce6136</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you please post some code showing how you interface the SPI devices, and how you put the device into low power mode?&lt;/p&gt;
&lt;p&gt;Uploading your entire project would also help to debug this issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>