<?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>SPIM doesn&amp;#39;t transmit after a few transfers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70387/spim-doesn-t-transmit-after-a-few-transfers</link><description>Using SDK 17.0.2 and the nRF52840DK, I am setting up SPIM with a memory IC (not actually hooked up though, just looking at the signals on the oscilloscope). This code is executed before anything else (except the spi init), so nothing else is running.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jan 2021 18:25:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70387/spim-doesn-t-transmit-after-a-few-transfers" /><item><title>RE: SPIM doesn't transmit after a few transfers</title><link>https://devzone.nordicsemi.com/thread/288757?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 18:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ea777af-5479-4c85-ad7d-89de302ff0a5</guid><dc:creator>SmallerPond</dc:creator><description>&lt;p&gt;Hmmm, good to know, thanks.&amp;nbsp; I am also misusing the nrfx_spim_end_event_get function (not sure what I was thinking that should be).&amp;nbsp; As it turned out, I needed a Write Enable command before every write - once I added this and changed to blocking the right way, everything works.&amp;nbsp; Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM doesn't transmit after a few transfers</title><link>https://devzone.nordicsemi.com/thread/288745?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 17:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cee0080-1813-470c-be67-8ea85d9c5d4a</guid><dc:creator>sebre</dc:creator><description>&lt;p&gt;If you want blocking behaviour, pass a NULL event handler at driver init and don&amp;#39;t call nrfx_spim_xfer in a loop. The NRFX_SPIM_FLAG_NO_XFER_EVT_HANDLER flag does not set a transfer to blocking.&lt;/p&gt;
&lt;p&gt;See description of nrfx_spim_init and nrfx_spim_xfer in nrfx_spim.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>