<?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>NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96000/nrf52810-power-issue-spi</link><description>I do have different issue with Nrf52810. I am trying to build a wearable device with NRF52810 and LSM6DSMTR. I am measuring the current towards the NRF52810 using a series resistor (100E). Rectangle part is SPI Communication (NrF Delay) in the graph Whenever</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Mar 2023 14:30:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96000/nrf52810-power-issue-spi" /><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/415255?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 14:30:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2221829d-8ead-4240-a4d5-7987bcaad7d0</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;I have tried pulled up and down the pin12 and nothing works.&lt;br /&gt;I tried to pull down the Pin 10 and it works for me. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/415039?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 02:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b4fd23-bcbd-4a07-926a-f6cc3f2bea05</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;HI Stian,&lt;br /&gt;I am giving more clarification.&lt;br /&gt;there are two Peripherals&lt;br /&gt;1) Temperature sensor AS6212- on I2C Bus(Twi Driver). I am able to solve the current issues by Commenting twi_init and Twi deinit.&lt;br /&gt;&lt;br /&gt;2. IMU Sensor LSM6DSM connected through SPI . I am more concerning here , as the polling of this sensor very frequent. I am observing large current flow once after i am sending an SPI command.&amp;nbsp; I need your support on this area. Thank you!&lt;br /&gt;&lt;br /&gt;I will check Pin12 and update you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/415009?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 19:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f1f81d2-d0c6-4e6e-98a1-95e3e59927be</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
[quote user="Vijil Jose"]When you are saying measure the voltage and current for the TWI lines, hope you are referring SPI lines (SCK, MOSI, MISO, CS)[/quote]
&lt;p&gt;I&amp;#39;m just referring to the pins you are using in your design. You said this:&lt;/p&gt;
[quote user="Vijil Jose"]Noticed same kind of issue there also. But When&amp;nbsp;&amp;nbsp;I commented //twi_init(); &amp;amp;&amp;nbsp;&amp;nbsp;//twi_deinit(); from teh call function issue resolved.&lt;br /&gt;So I hardly believe this is something with the SPI lines.[/quote]
&lt;p&gt;So my apologies if you are using SPI only, and comment the TWI functions. If that is the case, the only pin I am worried about is pin 12. Can you try to pull this high (or low) while measuring current, and see if you have the same problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/414762?ContentTypeID=1</link><pubDate>Sat, 11 Mar 2023 17:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a47173c-3b0c-470b-af22-5d94ef7f0e1b</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;Hi Stian,&lt;br /&gt;Can you advice on this. Thanks in Advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/414607?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 11:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0f692a2-e35b-4354-94ec-cb5c16790e2e</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/d393c4bf_2D00_79bb_2D00_46ad_2D00_84d5_2D00_ccd951fe64ea.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/414523?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 06:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8edd9ea-a7fb-4b19-8cbc-801d94ea2ef7</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;When you are saying measure the voltage and current for the TWI lines, hope you are referring SPI lines (SCK, MOSI, MISO, CS)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/414409?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 14:19:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b64277f1-320a-4058-af40-964031498434</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Are you able to plot the voltage on the TWI lines, and at the same time plot the current? The reason I&amp;#39;m asking all these questions is that this is typical for floating GPIOs, i.e. the input buffer is connected internally, but it is not connected to anything externally. It could be other GPIOs as well, which are unintentionally left as floating inputs. For example the UART. The UART us used for logging by default in nordic examples, and the RX pin must be driven to a logic 1 while not in use, unless you can see current similar to your plots. This is also very unpredictable, so external changes may trigger this issue, like when you added the additional TWI lines.&lt;/p&gt;
&lt;p&gt;Can you run this command and check the status of all GPIOs? Then please post the output here. Thanks&lt;/p&gt;
&lt;pre&gt;nrfjprog --memrd 0x50000700 --n 0x80&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/414386?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 13:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4549814-fdee-4b5e-b90e-c2f089ef28c3</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/NRF52810_5F00_IMU.pdf"&gt;devzone.nordicsemi.com/.../NRF52810_5F00_IMU.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/414325?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 09:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea7a39a1-7851-4dcf-9f46-1efeb962f84d</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Do you have the schematics of the board? It sounds to me like some of the GPIOs are incorrectly configured. Have you enabled pullup reistors on the TWI lines?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/413821?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 12:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f027dc3-82ee-4d2b-b282-9c1bcc7f3d4e</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;I have checked all the ways. Its not an issue associated with the sensor.&amp;nbsp;&amp;nbsp;&lt;br /&gt;I also connected a AS6212 temperature sensor to the same chip using I2C lines.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Noticed same kind of issue there also. But When&amp;nbsp;&amp;nbsp;I commented //twi_init(); &amp;amp;&amp;nbsp;&amp;nbsp;//twi_deinit(); from teh call function issue resolved.&lt;br /&gt;So I hardly believe this is something with the SPI lines.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;float AS6212_read_temp(void)
{

  float temperature_c = 0.0;
  bool singleSt = 0;
 
  //twi_init();

  nrf_drv_twi_enable(&amp;amp;m_twi);

  triggerSingleShotConversion();// enabling sleep mode

  nrf_delay_ms(AS6212_CONVERSION_TIME); //conversion ongoing

  for(char i=0; i&amp;lt;10; i++)
  {
    singleSt = getSingleShotStatus(); 
    if(!singleSt) {break;}
    else
    {
     NRF_LOG_INFO(&amp;quot;AS6212 Conversion Not completed&amp;quot;); 
     nrf_delay_ms(5);
    }
  }

  temperature_c = readTempC();


  nrf_drv_twi_disable(&amp;amp;m_twi);  
  //twi_deinit();

  return temperature_c;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/406577?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 07:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9630a2bf-4a63-4ff8-a597-518d84d1ebca</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;This is an issue with IMU sensor, It is taking power through SPI lines. I moved teh Question to STM community&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a id="" href="https://community.st.com/s/question/0D53W000025d3DZSAY/lsm6dsmtr-taking-more-power-on-vddio-pin"&gt;https://community.st.com/s/question/0D53W000025d3DZSAY/lsm6dsmtr-taking-more-power-on-vddio-pin&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can close the ticket from here&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/406533?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 17:49:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace98374-7657-486b-ab05-dc5acadc755f</guid><dc:creator>Vijil Jose</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I have tried with lower resistance also. results are pretty same. I am using a 3V coin cell Battery&lt;br /&gt;&lt;br /&gt;&lt;span&gt;LSM6DSMTR&amp;nbsp;also using the same 3V supply.&amp;nbsp;it is having the&amp;nbsp;same voltage level&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;MISO I will check and update you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Power Issue (SPI )</title><link>https://devzone.nordicsemi.com/thread/406502?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 15:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb2003c1-56fd-4a52-b531-d85dfc2be867</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, can you try with a lower value series resistor, and check if you see the same thing? 100 Ohm is quite large, and you will get a significant voltage drop when the current increases. Maybe try with 10Ohm maximum.&lt;/p&gt;
&lt;p&gt;Is the LSM6DSMTR powered from the same power source? I.e. does it have the same voltage level? Are you able to measure the voltage on the MISO pin (and any other input pins you might have) and see if it is at a stable voltage during the triangular shaped period, and not floating up and down?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>