<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Optimizing consumption on nRF52 running TWI</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88604/optimizing-consumption-on-nrf52-running-twi</link><description>Hi guys, 
 
 I&amp;#39;m thinking of implementing consumption optimization on a system that runs on nrf52832 with S132 SDK 16. 
 
 The idea is to call nrf_pwr_mgmt_run() to put our device into low power mode every time we can. 
 
 
 The catch is that we’re using</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 15 Jun 2022 13:26:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88604/optimizing-consumption-on-nrf52-running-twi" /><item><title>RE: Optimizing consumption on nRF52 running TWI</title><link>https://test-devzone.nordicsemi.com/thread/372593?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 13:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a70694a0-905f-4e40-b933-8147f000fafc</guid><dc:creator>user108031</dc:creator><description>&lt;p&gt;Thanks Simon, I was hoping that there was some king of DMA that didn&amp;#39;t need the core powered while performing the transaction it self.&lt;/p&gt;
&lt;p&gt;But nevertheless, thanks for the support.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jorge&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Optimizing consumption on nRF52 running TWI</title><link>https://test-devzone.nordicsemi.com/thread/371128?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 12:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d448f6-b5f0-43fd-bd35-4d27283664ad</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;Hi Jorge&lt;/p&gt;
&lt;p&gt;1. I don&amp;#39;t see how this would make much sense, as the &lt;strong&gt;nrf_twi_mngr_schedule&lt;/strong&gt;() call will start a new transaction if currently idle, so if it is idle it would immediately just start the TWI transaction. Then, when it is done, it would make sense to call the sd_app_evt_wait() function after the TWI transaction is completed.&lt;/p&gt;
&lt;p&gt;2. The device should indeed go to low power mode after the TWI transaction. But you need to wait for it to finish successfully before calling the&amp;nbsp;&lt;span&gt;sd_app_evt_wait().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. The device will/should be awake for the TWI transaction, and only go to sleep inbetween, when the device doesn&amp;#39;t have anything to do (is idle).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>