<?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>Using two SPIM instances - undefined SCK behavior</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41520/using-two-spim-instances---undefined-sck-behavior</link><description>Hello. In my application I am using nRF5 SDK 15.2.0 9412b96. I am trying to communicate with two devices on two different SPIM instances. The first device is a DW1000 radio placed on DWM1001 module, this is why I have to use two instances for two devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Dec 2018 12:48:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41520/using-two-spim-instances---undefined-sck-behavior" /><item><title>RE: Using two SPIM instances - undefined SCK behavior</title><link>https://devzone.nordicsemi.com/thread/161666?ContentTypeID=1</link><pubDate>Thu, 13 Dec 2018 12:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:607abef1-e75f-4ca1-804c-3fe095cf2b6c</guid><dc:creator>dpeplinski</dc:creator><description>&lt;p&gt;I&amp;#39;ve checked the pins configuration and it looks OK, our bootloader uses only led&amp;#39;s pin. For now, I wrote the SPI initialization with registers and a documentation and I set SCK and MOSI pins to High Drive. It looks much better now, but we are still testing the communication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using two SPIM instances - undefined SCK behavior</title><link>https://devzone.nordicsemi.com/thread/161445?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 13:06:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9f9303d-aa96-4359-a61a-036a702ec6a5</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Check the pin definitions and make sure you don&amp;#39;t have more than one function pr. pin then.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using two SPIM instances - undefined SCK behavior</title><link>https://devzone.nordicsemi.com/thread/161439?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 12:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e64055ac-d6b7-47bc-aa31-d3845d65a3ae</guid><dc:creator>dpeplinski</dc:creator><description>&lt;p&gt;I am using Decawave DWM1001 module, where nRF is connected with DW internally. Second SPIM instance is connected to logic analyzer right from the module&amp;#39;s pinout, no diodes, no resistors. I wrote a sample project for pca10040 devkit, where only SPIM is used (also two instances) and it looks to work nice, so it seems like it is not a problem with SPIM exactly, but rather with other peripherals colliding. I will try to debug it more deeply, with different peripherals initialized.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using two SPIM instances - undefined SCK behavior</title><link>https://devzone.nordicsemi.com/thread/161434?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 12:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc9e1f4-30c9-4dfa-8328-c239e13907c0</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Looks suspiciously as HW problem. Can you post a schematic of the connection between the nRF52 and the DW1000?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>