<?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 problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28517/low-power-problem-with-gpio-i2c-and-spi-in-nrf52</link><description>Hi all, we have a problem with a project based in nrf52832 and a custom board. The project is based in &amp;quot;ble_app_uart&amp;quot; example, and also we have the following sensors: 
 Accelerometer gyroscope and magnetometer (BMX055 from Bosch: datasheet ) Ultraviolet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Dec 2017 10:08:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28517/low-power-problem-with-gpio-i2c-and-spi-in-nrf52" /><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112875?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 10:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2d2934e-1eb5-4557-acfa-361b0bd2b952</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I suppose that now that &lt;a href="https://devzone.nordicsemi.com/question/183277/consumption-problem-changing-project-to-other-pc/"&gt;your other case&lt;/a&gt; is solved, then this case solved too?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112871?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 09:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f591527-2494-4fc1-9a24-1f6d3e457471</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;m using the same SDK files, reboot after programming and I have the latest JLink drivers installed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112873?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 14:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91cef8be-65aa-4a29-8884-32ff65c50a66</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;BTW: does it help to power cycle the devices after programming? And can you make sure to upgrade to the latest JLink drivers? Some old drivers used to keep the device in debug mode after programming, which effectively left the CPU running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112872?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 13:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f9e2e6-c185-41cb-8cc2-62d97c86a561</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Are you also using the exact same SDK files? I once spent hours trying to recreate a customer&amp;#39;s problem on my system, but everything seemed to work fine. It turned out that he had made changes to the drivers in his local SDK files and then forgotten about it. So when he then sent me his project files and I used them with my own SDK files, everything worked fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112874?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2017 10:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0fd9fab-e407-4d32-89d6-50d0c64e01a8</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;p&gt;any idea Martin? What could be the problem when changing computers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112869?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 14:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7e62907-a011-4156-8ca3-fabeac352a4a</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;ol&gt;
&lt;li&gt;ARM Compiler V5.06&lt;/li&gt;
&lt;li&gt;Impossible, the software was unistalled from the old PC because it belongs to a former employee&lt;/li&gt;
&lt;li&gt;Yes, and everything is ok&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112865?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 11:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be7ba83-a240-45c5-a3fd-5c4998ebaf06</guid><dc:creator>MartinBL</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Which compilers do you use?&lt;/li&gt;
&lt;li&gt;Can you double check that the compiler settings and all the defines and settings in the SDK (like logging enabled, etc. ) are the same?&lt;/li&gt;
&lt;li&gt;If everything seems ok, can you compare the original hex file with the one compiled on your new system?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112867?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 11:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee121b21-c588-4d4e-a01e-049a30dfa294</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;p&gt;I compile with a different compiler, but the same version of sdk and softdevice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112866?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 11:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b8621ca-000a-445d-b123-650f010e7e3d</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Do you flash the exact same hex file with both PCs? Or do you compile the application with a different compiler and different compile settings on the new PC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112864?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 08:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5295f5-df15-4490-8be4-7f8b8310353c</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;p&gt;Right, but the problem is that we had ~2mA of consumption (acceptable value at the moment), but we had to change the PC which we flash, and the same project, same development board and same custom board, give us 4,2mA and we need 2mA again. What could be the problem when we changed the PC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112868?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 14:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4826f171-c74c-4835-a4d1-3a9934a7516a</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I just mean that with the peripheral drivers in the SDK the interrupts should be cleared without any action required from you. In other words, you shouldn&amp;#39;t have to worry about this at all.&lt;/p&gt;
&lt;p&gt;If you write your own peripheral drivers from scratch however, you will most likely have to explicitly clear the interrupt in your interrupt routine yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112863?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 09:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc074299-7947-4b94-b0b5-c90f60ab73c2</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;p&gt;Hi Martin, thanks for your answer. I’ll take a look to what you say, by the way, what do you mean with “this can happen if you don’t use our drivers”.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112877?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 08:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2084a7af-7057-47c8-ab1b-45f4ae6d0aee</guid><dc:creator>adrisecmotic</dc:creator><description>&lt;p&gt;Hi Alex, thanks for your answer. No, we can’t measure the consumption of the components separately, and yes, we use interrupts, and the I2C and SPI are switched off in sleep mode when they are not in use&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112870?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 08:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d52b5318-cb80-465d-b0e3-7fe10f95bde0</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Typically currents of ~4mA means that the CPU is running and your application is not able to put your system to sleep (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/cpu.html?cp=2_1_0_6_1_0#unique_1170171947"&gt;CPU current values&lt;/a&gt;). It could also be that you have unprocessed interrupts pending. This can happen if you don&amp;#39;t use our drivers and forget to clear interrupts within their corresponding interrupt routines.&lt;/p&gt;
&lt;p&gt;Shooting from the hip: Are you using floating point variables? It could be related to this erratum: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev1.errata/anomaly_832_87.html?cp=2_1_1_0_1_24"&gt;CPU: Unexpected wake from System ON Idle when using FPU&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power problem with GPIO, I2C and SPI in nrf52</title><link>https://devzone.nordicsemi.com/thread/112876?ContentTypeID=1</link><pubDate>Sun, 03 Dec 2017 23:45:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:080bc983-a0cc-4ad3-8854-df71ddf61393</guid><dc:creator>AlexB</dc:creator><description>&lt;p&gt;Are you able to measure the power consumption of the various components separately? Do you have interrupts for UART, I2C and SPi switched off in Sleep?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>