<?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>Strange SPI clocking w/S140 (Update: S132 as well) enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21454/strange-spi-clocking-w-s140-update-s132-as-well-enabled</link><description>I&amp;#39;m having a strange issue with getting SPI running through the transaction manager whilst running a S140 softdevice (SDK13 w/ nrf52840 5.0.0-2Alpha - I know there&amp;#39;s a newer version but it&amp;#39;s not being used just yet. It&amp;#39;s there so I don&amp;#39;t accidentally</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Apr 2017 06:13:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21454/strange-spi-clocking-w-s140-update-s132-as-well-enabled" /><item><title>RE: Strange SPI clocking w/S140 (Update: S132 as well) enabled</title><link>https://devzone.nordicsemi.com/thread/84164?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 06:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a523029-7d48-4c2c-a08f-147f7de81149</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No problem, I&amp;#39;m happy to help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange SPI clocking w/S140 (Update: S132 as well) enabled</title><link>https://devzone.nordicsemi.com/thread/84165?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 01:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c3db16b-e4e2-4bf6-9edd-4155d6dee646</guid><dc:creator>Daniel Sullivan</dc:creator><description>&lt;p&gt;Wow, this is a rediculously weird one. After blowing away my project folder and replacing it with the zip and still getting the same issue, I removed literally every line from the board (an unused I2C bus and a couple of buttons as well as the control lines for the display (all of which were inactive)) and like magic I&amp;#39;m getting a clean trace again.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;sigh&lt;/em&gt; you can chalk this up to &amp;quot;user neglecting to troubleshoot absolutely EVERYTHING before asking for support&amp;quot;. Thank you for your time you wasted on me :) (as a developer myself I know how annoying people like myself are)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange SPI clocking w/S140 (Update: S132 as well) enabled</title><link>https://devzone.nordicsemi.com/thread/84163?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 14:06:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da795882-3f3d-493a-ac4a-880352b52289</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I changed the pins to P0.03 and P0.04 and compiled the project. You can see the logic trace below, I see no synchronisation issues. I just have to flash the example to the NRF52840 kit and then to the trace right?
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/spi_5F00_logic_5F00_trace.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange SPI clocking w/S140 (Update: S132 as well) enabled</title><link>https://devzone.nordicsemi.com/thread/84161?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 11:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928f9de6-bc40-402d-9bd8-772c7e385456</guid><dc:creator>Daniel Sullivan</dc:creator><description>&lt;p&gt;Hi Bjørn, thank you for looking into this. It&amp;#39;s really appreciated. I&amp;#39;m at a loss having traced it all the way back to the DMA controller. It looks like the clock is generated in hardware?&lt;/p&gt;
&lt;p&gt;The code in the zip is a little different to the code in the post. I&amp;#39;ve simplified it all the way down to a single nrf_drv_spi_transfer.&lt;/p&gt;
&lt;p&gt;Please ignore the warnings about unused variables - it&amp;#39;s just code paths I&amp;#39;ve commented out.&lt;/p&gt;
&lt;p&gt;My environment is the nRF52840 PDK using pin 3 (P0.3) as SPI CLK and pin 4 (P0.4) as SPI MOSI (no other lines). I have tested on other ports and have the same issue.&lt;/p&gt;
&lt;p&gt;Thank you again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange SPI clocking w/S140 (Update: S132 as well) enabled</title><link>https://devzone.nordicsemi.com/thread/84162?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 10:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d49e67bd-c2dd-4ffa-93f5-13f087ef0e3b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Can you zip the project folder from SDK v13 and attach it to the question? I would like to see if I can reproduce the behavior.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>