<?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>spi Config register</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3605/spi-config-register</link><description>Hello ! 
 When i was trying to configur my SPI, I observed that there is a difference between the position field announced in the nrf51 reference manual v2.1 and the nRF51_bitfields : 
 nRF51_bitfields says :
/* Register: SPI_CONFIG /
/ Description</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Aug 2014 13:34:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3605/spi-config-register" /><item><title>RE: spi Config register</title><link>https://devzone.nordicsemi.com/thread/13073?ContentTypeID=1</link><pubDate>Wed, 27 Aug 2014 13:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0443231-b4ee-4e61-9a67-ec79514e8463</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Sorry for the confusion. Clearly I was looking at the CONFIG register for the SPI slave, where the definition for the CPHA and CPOL bits is correct. So the conclusion is that the nRF51 Series reference manual v2.1, section 25.2.7, which describes the CONFIG register of the SPI master, is incorrect. In section 25.2.7, the CPOL bit should be bit C and CPHA should be bit B.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi Config register</title><link>https://devzone.nordicsemi.com/thread/13072?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2014 20:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9192150c-0825-4e5d-ac3c-e0b091c36a8c</guid><dc:creator>Saad</dc:creator><description>&lt;p&gt;Yes I&amp;#39;m. just take a look at the nRF51_bitfields.h and compare the positions annonced there and the other one annonced at the nRF51 Series Reference Manual v2.1 and you&amp;#39;ll see what I&amp;#39;m talking about !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi Config register</title><link>https://devzone.nordicsemi.com/thread/13071?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2014 09:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2aa429a-6f5a-4698-8e37-83e0ed6445b6</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I observe that the SDK and the nRF51 Series Reference Manual v2.1 are in sync. I look in the nRF51 Series Reference Manual v2.1, section 26.5.11 and it says:&lt;/p&gt;
&lt;p&gt;B   CPHA    Serial clock (SCK) phase.
C   CPOL    Serial clock (SCK) polarity.&lt;/p&gt;
&lt;p&gt;Are you sure you are looking at v2.1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>