<?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>NRF5340 TMP116 power management</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93542/nrf5340-tmp116-power-management</link><description>Hello, 
 
 I have a TMP117 attached to I2C1 on a nrf5340 and am using the zephyr NCS v2.0.0 driver to communicate with it. 
 How can I configure I2C1 for power management to sleep/suspend to conserve power when not in use given that the initialization</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Nov 2022 18:48:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93542/nrf5340-tmp116-power-management" /><item><title>RE: NRF5340 TMP116 power management</title><link>https://devzone.nordicsemi.com/thread/394541?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 18:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e25dd69d-53f7-4106-8a30-9876a34a5f55</guid><dc:creator>wifiuser</dc:creator><description>&lt;p&gt;I switched boards and did a clean build. I am now getting satisfactory results calling pm_device_action_run for I2C1. It seems that it was a hardware issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 TMP116 power management</title><link>https://devzone.nordicsemi.com/thread/394533?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 17:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8067d68-0be2-4f40-b60e-77805de10a3a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&amp;nbsp;Currently my program crashes when that routine is called[/quote]
&lt;p&gt;Do you get any log output (from UART or Segger RTT) that gives you more info about the crash?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 TMP116 power management</title><link>https://devzone.nordicsemi.com/thread/394512?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 16:03:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad084ea-ceab-4c1a-b013-a61f79f324cc</guid><dc:creator>wifiuser</dc:creator><description>&lt;p&gt;In file&amp;nbsp;C:\ncs\v2.0.0\zephyr\subsys\pm\device.c&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;pm_device_action_run calls&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;pm_device_state_is_locked&amp;nbsp;which calls&amp;nbsp;&lt;/span&gt;&lt;/span&gt;atomic_test_bit&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;atomic_test_bit is defined in&amp;nbsp;C:\ncs\v2.0.0\zephyr\include\zephyr\sys\atomic.h&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 TMP116 power management</title><link>https://devzone.nordicsemi.com/thread/394278?ContentTypeID=1</link><pubDate>Sun, 06 Nov 2022 17:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ec0bd5-23ef-4e9c-b6eb-07590a11659e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In what file is atomic_test_bit(&amp;amp;pm-&amp;gt;flags, PM_DEVICE_FLAG_STATE_LOCKED); called?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>