<?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>VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84683/vl53l1x---i2c-consumption</link><description>Hello,

How do I deactivate/activate a SDA/SCL line? 
I perform a test on an Icarus board with a VL53L1X sensor, everything works fine.
However, in idle/sleep mode, whether I turn off the sensor or not (by XSHUT, GPIO or physically), it consumes an additional</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Mar 2022 11:32:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84683/vl53l1x---i2c-consumption" /><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/355516?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 11:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e52e8ab-c70d-4c05-bce2-1dfd8be0d5af</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi Alskandar,&lt;/p&gt;
&lt;p&gt;So there are actually pull up resistors on the breakout board. That&amp;#39;s actually where the leakage is coming from. These resistors have a marking 05C which is 11kOhms, so that accounts exactly for the amount that you see when you push XSHUT to GND!&lt;/p&gt;
&lt;p&gt;Just remove these 2 resistors and you should be fine &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/355511?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 11:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2731a0d4-8280-4258-aa44-0305d5e8ede2</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;I tested sensor by itself (juste VCC &amp;amp; GND connected).&lt;/p&gt;
&lt;p&gt;At 3,3V, it gives 12,5uA&lt;/p&gt;
&lt;p&gt;At 2,8V, it gives 10,5uA&lt;/p&gt;
&lt;p&gt;So i have a little more than in datasheet (5uA at 2,8V).&lt;/p&gt;
&lt;p&gt;Unfortunately , i don&amp;#39;t have the design plans for this sensor.&lt;/p&gt;
&lt;p&gt;Here is a photo, there seems to be resistors (350 Ohms, i think, on GPIO1 &amp;amp; XSHUT) but i don&amp;#39;t know what the others are.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/VL53L1X-back.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/354989?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 10:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b29e9ed4-8437-4089-80de-133b3c38fa54</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi Alskandar,&lt;/p&gt;
&lt;p&gt;Since you see this regardless whether I2C is connected perhaps something in your firmware &amp;quot;misbehaves&amp;quot; when the I2C to the sensor is lost (when XSHUT is low I2C is disabled on the sensor anyway). As a sanity check I would check the sensor separately, without any other board connected and that should yield 5-7 uA. If that is indeed the case, then you should check your firmware on how it handles sleep mode when losing connection to the sensor.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you absolutely positive that there are no components on the breakout board? A ~10k pull-up resistor on XSHUT could easily justify this amount of current drawn when setting XSHUT to low&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/354965?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 09:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8e76d11-fd21-4d43-9c20-0e7766bba644</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;Hi Mike, yes that&amp;#39;s it.&lt;/p&gt;
&lt;p&gt;I made a bridge between XSHUT and GND.&lt;/p&gt;
&lt;p&gt;I think this is the same as if i directly connect XSHUT to 0V, right ?&lt;/p&gt;
&lt;p&gt;And i get 340uA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/354543?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 11:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dcda7d9-7bcd-484c-8a23-c29d3d8b0fc2</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi Alskandar,&lt;/p&gt;
&lt;p&gt;In the case of XSHUT connected to GND, you measured 340uA? Is that correct or is it a typo?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353916?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 16:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ee31d2e-384b-4457-a540-b0f056655389</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Yes i agree for i2c, it&amp;#39;s just an information like what to connect or not VCC / GND, as long as i2c is connected, there are these 10uA.&lt;/p&gt;
&lt;p&gt;I did the tests:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;always 45uA (for VCC + XSHUT without or with i2c)&lt;/li&gt;
&lt;li&gt;340uA (for GND + XSHUT without or with i2c)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;if it is the hardware shutdown current, this consumption should disappear once the operation is carried out, right ?&lt;/p&gt;
&lt;p&gt;Even after 30sec, still nothing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353584?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 11:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dfd7e66-2221-44fa-b31f-9709b92fd285</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi Alskandar,&lt;/p&gt;
&lt;p&gt;In general the I2C should never be connected without the IC being properly connected on VCC and GND. Some (most?) times the ICs get backpowered from the I2C/UART/etc lines when not properly connected to VCC+GND.&lt;/p&gt;
&lt;p&gt;From what I see there are no pull-ups on the breakout board, so that takes away the possibility of leakage from them.&lt;/p&gt;
&lt;p&gt;Here is what I would do to pinpoint the source:&lt;/p&gt;
&lt;p&gt;- Connect GND + VCC, tie XSHUT TO VCC, leave I2C and GPIO1 unconnected -&amp;gt; measure the current&lt;/p&gt;
&lt;p&gt;- Tie the &lt;span&gt;XSHUT&amp;nbsp;&lt;/span&gt;line to GND -&amp;gt; measure the current&lt;/p&gt;
&lt;p&gt;- Connect the I2C lines with short wires -&amp;gt; measure the current&lt;/p&gt;
&lt;p&gt;That should give us where the current difference is coming from.&lt;/p&gt;
&lt;p&gt;The datasheet specifies that hardware shutdown current draw can be up to 7uA, and that&amp;#39;s for 2.8V VDD, so in my opinion most of what you see is just that. But anyway, the above should give more info.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353554?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 10:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d9d2966-7e2a-47b8-9325-94e4ba9e9e4b</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/mike_5f00_actinius"&gt;mike_actinius&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;No, i don&amp;#39;t use a breakout board.&lt;/p&gt;
&lt;p&gt;Not in the sense with additional features.&lt;/p&gt;
&lt;p&gt;This one:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/VL53L1X.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;It seems, as &lt;a href="https://devzone.nordicsemi.com/members/oyvind-schei"&gt;Øyvind&lt;/a&gt; assumed, that it comes from the leakage current at in off mode or 0V (or just i2c plugged in without 3V3 and GND).&lt;/p&gt;
&lt;p&gt;I am looking to see if there is a simple solution to put in place to &amp;quot;scrape&amp;quot; these uAs and lower consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353487?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 01:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b313f75e-9d98-4eb9-bed0-674ca7970d58</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi Alskandar,&lt;/p&gt;
&lt;p&gt;Are you using the&amp;nbsp;&lt;span&gt;VL53L1X with a breakout board? If so, which one and what is on it?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;PS the FTDI is completely unrelated to this and it anyway does not draw any current when the USB is unconnected. You schematic Alskandar seems fine and VBAT is indeed the right pin to connect the Otii.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Mike&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353312?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 10:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b212442b-8f78-4f48-8d69-cb4525ae9835</guid><dc:creator>ivnn</dc:creator><description>&lt;p&gt;I meant you should desolder it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353299?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 09:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d68500c-f268-474c-a217-edcd1233d82c</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;The Otii Arc power the board in 3.6V (on Vbat) at the same times it takes the measurement.&lt;br /&gt;For UART, in my prj.conf i make CONGIG_SERIAL=n, same for spm.conf.&lt;br /&gt;Otherwise the consumption increases by 600uA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353192?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 18:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaaa1acf-24de-4802-9b61-74e70605c778</guid><dc:creator>ivnn</dc:creator><description>&lt;p&gt;Onboard,&amp;nbsp;&lt;span&gt;FTDI UART Bridge could take this current. Try to add power directly to 3.3V pin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353187?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 18:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afaa11c5-226f-487c-9f5b-ac1c366723fc</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/icarus.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Here is the diagram of Icarus board with VL53L1X sensor (connected in i2c on 26 &amp;amp; 27, 3V3 &amp;amp; GND).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Current-consumption-_2D00_-no-sensor.png" /&gt;&lt;/p&gt;
&lt;p&gt;Without sensor connected, i have a consumption near 33uA&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Current-consumption-_2D00_-With-sensor.png" /&gt;&lt;/p&gt;
&lt;p&gt;With sensor connected, all connected (GND, 3V3 &amp;amp; i2c) or even with just i2c (without 3V3 &amp;amp; GND), i have a consumption near 45uA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353178?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 17:10:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df33295-7b21-4fca-9db5-847129555c85</guid><dc:creator>ivnn</dc:creator><description>&lt;p&gt;Pls, provide a simplified schematic of your setup this might help us to guide you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/353177?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 17:03:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95bcc056-ccfc-4510-b8bb-5423c13f85d4</guid><dc:creator>Alskandar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes i saw it too but i don&amp;#39;t know how to use this information.&lt;/p&gt;
&lt;p&gt;Should i mount an auxiliary system with a resistor to block state ?&lt;/p&gt;
&lt;p&gt;For current measurement, i use an Otii Arc (on Vbat &amp;amp; GND with Icarus Board) (like SMU mode with nRF9160-DK).&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/352938?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2022 14:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7634e04f-5850-4527-bc8c-dadb9092d8fa</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Looking at the datasheet of the sensor itself, it looks like the sensor has a leakage current of 10µA when AVDD is 0V. How are you measuring the current consumption?&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/352786?ContentTypeID=1</link><pubDate>Sun, 13 Feb 2022 21:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5340589e-0ef6-4a62-bbe0-d9814dc38f39</guid><dc:creator>Alskandar</dc:creator><description>&lt;pre dir="ltr"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;" lang="en"&gt;Hi,&lt;br /&gt;I&amp;#39;m with an nRF9160.
I tried like this, without success.&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre id="tw-target-text" dir="ltr"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;" lang="en"&gt;That is to say that the ports are at 0V but no reduction in consumption. &lt;br /&gt;Worse when I reactivate the port, it rises above 1.5mA.&lt;/span&gt;&lt;/pre&gt;
&lt;pre dir="ltr"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;pins_vl53L1X = device_get_binding(&amp;quot;GPIO_0&amp;quot;);&lt;br /&gt;&lt;/span&gt;gpio_pin_configure(pins_vl53L1X, 26, GPIO_OUTPUT);&lt;br /&gt;gpio_pin_configure(pins_vl53L1X, 27, GPIO_OUTPUT);&lt;br /&gt;gpio_pin_set(pins_vl53L1X, 26, 0);&lt;br /&gt;gpio_pin_set(pins_vl53L1X, 27, 0);&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X - i2c consumption</title><link>https://devzone.nordicsemi.com/thread/352742?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 23:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821af864-de2e-4d58-88a4-2b6d0a67c783</guid><dc:creator>ivnn</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;try to configure gpio pins to&amp;nbsp;tri-state, which could be done with&amp;nbsp;&lt;span&gt;nrf_gpio_cfg_default(pin)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>