<?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>Low Power with SPI peripheral Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81877/low-power-with-spi-peripheral-zephyr</link><description>I&amp;#39;m trying to achieve a low power operation on a device which has a nRF52833 module with a SPI peripheral on Zephyr. It is based on the peripheral_lbs. 
 The intended behaviour is for the device to be connectable but low power while not used and active</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Nov 2021 07:23:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81877/low-power-with-spi-peripheral-zephyr" /><item><title>RE: Low Power with SPI peripheral Zephyr</title><link>https://devzone.nordicsemi.com/thread/340643?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 07:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bb5fbac-6f66-4346-80ab-d4c41b72cc87</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not think you should call the power management callbacks directly from the applications, that is the reasons callbacksk to the PM policies like&amp;nbsp;spim_nrfx_pm_control are static in nature so that they are not visible to your application.&lt;/p&gt;
&lt;p&gt;If you still want to do this via power management module, the best way is make sure that &lt;a href="https://docs.zephyrproject.org/1.14.1/reference/kconfig/CONFIG_SYS_POWER_MANAGEMENT.html#cmdoption-arg-config-sys-power-management"&gt;CONFIG_SYS_POWER_MANAGEMENT&lt;/a&gt;&amp;nbsp;is enabled and use&amp;nbsp;&lt;strong&gt;&lt;a href="https://docs.zephyrproject.org/latest/reference/pm/index.html?highlight=pm_device_state_set#c.pm_device_state_set"&gt;pm_device_state_set&lt;/a&gt;&amp;nbsp;&lt;/strong&gt;so that power the callback you are intending to call can be triggered through power management module.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>