<?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>Basic SPI setup</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67983/basic-spi-setup</link><description>Hello, 
 I am using a nrf52 DK in an educational context. 
 For this reason, I am not using the SDK, but implement basic features on a lower level. 
 
 I used the implementation in nrfx_spi.c from SDK17.0.2_d674dde as reference. 
 
 Before I provide a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Nov 2020 16:38:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67983/basic-spi-setup" /><item><title>RE: Basic SPI setup</title><link>https://devzone.nordicsemi.com/thread/278502?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 16:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88a4a753-06e3-42c0-91db-2659123c4d43</guid><dc:creator>iwmbq</dc:creator><description>&lt;p&gt;Thanks, that instantly resolved my issue.&lt;/p&gt;
&lt;p&gt;Now I have correct waveforms on SCK and MOSI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Basic SPI setup</title><link>https://devzone.nordicsemi.com/thread/278500?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 16:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c704f125-ab71-44b1-a7fe-801d1c7d7a6e</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Wrong order of operations.&lt;/p&gt;
&lt;p&gt;SPI works as&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;put byte in TX register&lt;/li&gt;
&lt;li&gt;wait for event and clear event register&lt;/li&gt;
&lt;li&gt;read RX byte&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>