<?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 on 52832, emStudio, SES, SDK 16.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62814/spim-on-52832-emstudio-ses-sdk-16-0</link><description>I have an application using 4 wire SPI connecting to a 2MB data flash. An application using UART (no BLE) works fine reading and writing to this device. However with BLE enabled, it only works with larger transfers and never generates the completion callback</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jun 2020 14:26:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62814/spim-on-52832-emstudio-ses-sdk-16-0" /><item><title>RE: SPIM on 52832, emStudio, SES, SDK 16.0</title><link>https://devzone.nordicsemi.com/thread/256506?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 14:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81d660f-8bd9-462f-9c4d-65e20f47e872</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Jed,&lt;/p&gt;
[quote user="jedmvpitech"]I won&amp;#39;t bother you again.[/quote]
&lt;p&gt;We are not bothered, do not worry. The forum exists for you to post questions and issues, this is fine.&lt;br /&gt;What Awneil pointed out is that by using the &lt;em&gt;insert-&amp;gt;code&lt;/em&gt; option the readability of your code drastically increases, and thus it will be easier to help you.&lt;br /&gt;It will also make it more likely that someone in the forum will spot and point out your issue, which could lead to a faster response.&lt;br /&gt;&lt;br /&gt;Now over to your issue.&lt;br /&gt;You say that you code is working fine when you are not using BLE - could you elaborate what this means? Does it mean that you have excluded the BLE parts and SoftDevice from your project entierly, or does it mean that you have temporarily disabled it?&lt;br /&gt;Could you also elaborate how it does not work for smaller transfers - does it generate any errors?&lt;br /&gt;Lastly, just to make sure, when you say UART in your ticket you are actually referencing the SPIM interface, is this correct?&lt;br /&gt;&lt;br /&gt;From the parts that you have shared from your sdk_config it seems to me that you are enabling both the legacy SPI and the nrfx SPIM instances.&lt;br /&gt;This will cause the legacy driver to overwrite the nrfx spim module - this is a feature to maintain compatability of older projects.&lt;br /&gt;Instead, you should &lt;em&gt;remove&lt;/em&gt; or comment out the SPI_ENABLED, SPI1_*, and SPI2_* defines, and only have the NRFX_SPIM_* enabled.&lt;br /&gt;For emphesis; it is not enought to leave the old SPI_ENABLED in the sdk_config set to 0 - as long as it is defined then the apply_old_config will overwrite the nrfx module. For clarity in your code I would also make sure that you stick to only using SPIM or SPI in your naming convention, based on which module you are utilizing.&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together,&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM on 52832, emStudio, SES, SDK 16.0</title><link>https://devzone.nordicsemi.com/thread/256043?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2020 18:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba7c380-2f92-41fe-b83d-31c8c7eafb5c</guid><dc:creator>Jed Marti</dc:creator><description>&lt;p&gt;I won&amp;#39;t bother you again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM on 52832, emStudio, SES, SDK 16.0</title><link>https://devzone.nordicsemi.com/thread/256016?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 23:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6ebc84b-ed8a-4a38-a27c-d2377d5269e0</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1738._5F00_Insert-Code-_2D00_-Nordic-2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>