<?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>How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90984/how-to-stop-nrf52832-i2c-clock</link><description>I would like to stop nRF52832 I2C clock for power saving. Which API should I use?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Aug 2022 06:49:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90984/how-to-stop-nrf52832-i2c-clock" /><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/382139?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 06:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4581684f-558a-45b3-89e8-cda434599f35</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Yes, the un initialization function will revert the GPIOs back to their default state.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/382093?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 14:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbb0bdfb-c9d2-4fb7-87c5-2a27f3350e5f</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Do you mean what I need is just call I2C &lt;span&gt;uninitialized function and don&amp;#39;t need to call GPIO function?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/381905?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 07:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acdf08b-2f5d-4b7f-8e1f-fecef3f27153</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/55305292a2a8e4149869951451311452f4566e9a/drivers/src/nrfx_twim.c#L366"&gt;The GPIOs assigned to SDA and SCL will be configured back to its default state as Input with Input buffer disconnected and no pull.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/381867?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 01:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b0f31b3-e05e-4cf3-9be5-d7275ffc1189</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;After calling I2c uninitialized function, i2c in high or low state? Do I need to call gpio function to force it to high or low state?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/381664?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 05:36:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a2a9456-a9e0-4941-9aa6-0cf23ed82fcb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;The clock should be stopped after the transaction has stopped. It would be best to un-initialize&amp;nbsp; the TWI driver after you&amp;#39;re done with the transaction to save as much power as possible. How are you determining the state of the clock? Are you measuring the power consumption?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/381654?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 02:59:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f47087f5-0add-4377-9498-ef5a0eb0fccc</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply! I use I2C as communication interface between nRF52832 and analog front-end (AFE). I have power down AFE. Do I need to uninitialize&amp;nbsp; I2C driver for stopping I2C clock for power saving?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/381502?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 09:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80c0468a-b7cf-48db-825a-5d8a3fa077bb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Un- initializing the driver after the transaction has stopped should be enough.&lt;/p&gt;
&lt;p&gt;In some cases, the TWI driver will not stop the clock even after un-initializing the driver. If that is the case, then you&amp;#39;re most likely experiencing &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43998/clarification-of-nrf52832-pan-89"&gt;errata 89&lt;/a&gt;, you should then power cycle the peripheral by following the workaround as described &lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev3/ERR/nRF52832/Rev3/latest/anomaly_832_89.html?cp=4_2_1_0_1_26"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to stop nRF52832 I2C clock?</title><link>https://devzone.nordicsemi.com/thread/381487?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 08:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27912e1c-2603-41b8-9c36-a2ee87f219e7</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5430.i2c.c"&gt;devzone.nordicsemi.com/.../5430.i2c.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>