<?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 data shift on first transfer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55196/spis-data-shift-on-first-transfer</link><description>Hello, 
 I have two micro-controllers communicating over SPI. 
 The STM32F746 is SPI master. The nRF52840 is SPI slave. I use SDK v15.3. 
 I am sending two bytes over SPI from the STM32F746 to the nRF52840 every 5-30 milliseconds. 
 The MISO data of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Dec 2019 09:48:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55196/spis-data-shift-on-first-transfer" /><item><title>RE: SPIS data shift on first transfer</title><link>https://devzone.nordicsemi.com/thread/223527?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 09:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33b813bf-186c-47e9-96f5-53405e6f6be5</guid><dc:creator>YBR</dc:creator><description>&lt;p&gt;I&amp;#39;ve actually found the problem.&lt;/p&gt;
&lt;p&gt;The SPIS module on the nRF52840 was ready before the SPI Master on the STM32F746.&lt;/p&gt;
&lt;p&gt;The SPIS module must have &amp;quot;registered&amp;quot; something while lines were not yet stable. With an extra GPIO &amp;quot;ready&amp;quot;, it is possible to postpone the configuration of the SPIS module to after the lines have been stabilized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS data shift on first transfer</title><link>https://devzone.nordicsemi.com/thread/223504?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 09:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7453d9e3-4340-43a8-b8e6-007efed83192</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do you have any logic analyzer trace to share? A 1-bit shift seems very much like an mismatch issue with the mode/polarity of SPI, so you may want to change mode/polarity to see what impact that has one the 1-bit shift.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>