<?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 CPOL CPHA Mode documentation mismatch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17756/spi-cpol-cpha-mode-documentation-mismatch</link><description>Hello,
I&amp;#39;m looking into documentation nRF52832_PS_v1.2.pdf and there is written: 
 Mode Clock polarity Clock phase
CPOL CPHA
SPI_MODE0 0 (Leading) 0 (Active High)
SPI_MODE1 0 (Leading) 1 (Active Low)
SPI_MODE2 1 (Trailing) 0 (Active High)
SPI_MODE3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Nov 2016 14:59:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17756/spi-cpol-cpha-mode-documentation-mismatch" /><item><title>RE: SPI CPOL CPHA Mode documentation mismatch</title><link>https://devzone.nordicsemi.com/thread/68365?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 14:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25749c9a-345f-4a82-8aa2-a9b794e3262e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The SDK is correct.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CPOL 0 = Active high
    
CPOL 1 = Active low
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CPHA 0 = Leading

CPHA 1 = Trailing
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI CPOL CPHA Mode documentation mismatch</title><link>https://devzone.nordicsemi.com/thread/68366?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 14:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96e3f99-4357-47e9-b9fc-67ce37b70590</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;Looking at it for some more time it seems the wrong is documentation, and SDK is right.
IMO the correct documentation shall say&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Table 69: SPI modes
Mode Clock polarity Clock phase
CPOL CPHA
SPI_MODE0 0 (Active High) 0 (Leading)
SPI_MODE1 0 (Active High) 1 (Trailing)
SPI_MODE2 1 (Active Low) 0 (Leading)
SPI_MODE3 1 (Active Low) 1 (Trailing)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But still can you correct it at source? Unfortunately I do not have access to latex sources of your documentation so I can not correct it myself...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>