<?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>SPIS appears to keep clock active while idle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48970/spis-appears-to-keep-clock-active-while-idle</link><description>I have been tearing my hair over a really odd behaviour... We are using an nRF52811 based module that interfaces with another microcontroller via SPI. The 52811 is the SPI slave in the setup, and the microcontroller sends data about once per second. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jun 2019 12:51:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48970/spis-appears-to-keep-clock-active-while-idle" /><item><title>RE: SPIS appears to keep clock active while idle</title><link>https://devzone.nordicsemi.com/thread/194883?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 12:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b57d20b-9990-46d7-ac0d-f5edec8006b8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you try to toggle the power register after disabling the SPIS peripheral?&lt;/p&gt;
&lt;p&gt;You can use the followign code if you are using SPIS0:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;*(volatile uint32_t *)0x40004FFC = 0;
*(volatile uint32_t *)0x40004FFC;
*(volatile uint32_t *)0x40004FFC = 1;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And this if you are using SPIS1:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;*(volatile uint32_t *)0x40003FFC = 0;
*(volatile uint32_t *)0x40003FFC;
*(volatile uint32_t *)0x40003FFC = 1;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS appears to keep clock active while idle</title><link>https://devzone.nordicsemi.com/thread/194657?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 12:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84530246-c2f9-45b1-91bd-30afe5838502</guid><dc:creator>umisef</dc:creator><description>&lt;p&gt;(Additional experimentation:)&lt;br /&gt;Turns out that even turning on the UART mere milliseconds before the SPI transaction (using the RTC1 for timing), and turning it off in the SPI interrupt handler, will make the SPIS clock behaviour as expected. Turning on and off TIMER1, on the other hand, does not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>