<?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>nRF52 SDK12.2 SPI master and AD7793</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18429/nrf52-sdk12-2-spi-master-and-ad7793</link><description>Howdy. I have some trouble when trying to communicate with AD7793 using SPI. 
 
 
 I used ble_app_uart example and combined it with the SPI master example and the general driver from analog . I set up SPI at 1Mhz, and I disabled the SPI event by sending</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Dec 2016 10:30:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18429/nrf52-sdk12-2-spi-master-and-ad7793" /><item><title>RE: nRF52 SDK12.2 SPI master and AD7793</title><link>https://devzone.nordicsemi.com/thread/71122?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2016 10:30:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12eed81-2c2c-4b98-baf8-c17a1e1c3392</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Erltot,&lt;/p&gt;
&lt;p&gt;I think the issue you&amp;#39;re seeing is related to anomaly [58] SPIM: An additional byte is clocked out when RXD.MAXCNT = 1, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev1.errata/anomaly_832_58.html?cp=2_2_1_0_1_8"&gt;this&lt;/a&gt; page in the nRF52 Errata document.&lt;/p&gt;
&lt;p&gt;I implemented the workaround in the SDK v11.0.0 SPI example using the SPI driver and PPI API, see the attached zip. Porting it to SDK v12 should be fairly easy, it should be mostly copy-paste.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Attachments:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/spi_5F00_pan_5F00_58_5F00_workaround.zip"&gt;spi_pan_58_workaround.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>