<?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 at 32MHz timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62721/spim-at-32mhz-timing</link><description>Hello Nordic team, 
 I&amp;#39;m working on an nrf52840 with the SDK 15.3.0. 
 I&amp;#39;m using the SPIM instance 3 at 32MHz to interract with a Slave SPI which can support up to 40MHz. 
 When stressing the SPI access using easyDMA data transfer, I have some SPI errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jun 2020 09:46:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62721/spim-at-32mhz-timing" /><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/257525?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 09:46:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67059d95-edfc-4438-aab3-9b331d465431</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;Here it is in the&amp;nbsp; post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33982/sdk-15-software-crash-during-spi-session/216252"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33982/sdk-15-software-crash-during-spi-session/216252&lt;/a&gt;&lt;/p&gt;
&lt;div class="author"&gt;
&lt;div class="avatar"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/akyr"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="meta"&gt;&lt;span class="qa-votes"&gt;&lt;a class="ui-presentcontent ui-forumvotes reply ui-tip" href="https://devzone.nordicsemi.com/f/nordic-q-a/62721/spim-at-32mhz-timing"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/257523?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 09:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f335cc5b-3e8e-4774-b01c-d5f5526755f7</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1593510318181v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/257522?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 09:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb672e3-6162-4210-8231-95e1d24c57b9</guid><dc:creator>Mars_xu</dc:creator><description>&lt;p&gt;How can I not find the sample code for spim3 dedicated ram?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/257521?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 09:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f39091-40c5-467f-8af3-5ac968018787</guid><dc:creator>Mars_xu</dc:creator><description>&lt;p&gt;How can I not find the sample code for spim3 dedicated ram?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255842?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 16:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:734cea07-03fc-4977-a5e2-234620f82ca8</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33982/sdk-15-software-crash-during-spi-session/216252"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33982/sdk-15-software-crash-during-spi-session/216252&lt;/a&gt;&amp;nbsp;looks&amp;nbsp;&lt;span&gt;to be the way indeed, thank you for your help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255757?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 11:56:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02991ae-2560-42d3-a051-b110cd870c60</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;Ok thanks !&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Indeed with SD disabled and workaround 198 the errors on SPI bus disappear.&lt;/p&gt;
&lt;p&gt;Unfortunately my app needs the SD enabled.&lt;/p&gt;
&lt;p&gt;Does something like&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33982/sdk-15-software-crash-during-spi-session/216252"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33982/sdk-15-software-crash-during-spi-session/216252&lt;/a&gt;&amp;nbsp;before last answer about creating a section in RAM for SPIM3 would work with softdevice enable ? If so is there any source code example you may have ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255727?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 10:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e5ddd16-9533-4ed3-821e-9b171baf0a54</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;See SDK release notes, known issues: Does not work with softdevice enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255723?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 10:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d22dae-87d1-43de-95f4-498d3f95fa9a</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;Enabling NRFX_SPIM3_NRF52840_ANOMALY_198_WORKAROUND_ENABLED&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Provoke error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;error&amp;gt; app: SOFTDEVICE: INVALID MEMORY ACCESS&lt;/p&gt;
&lt;p&gt;Any input on this ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255717?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 09:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4adffa1c-bb3a-4f76-81c3-7fca8ead95b5</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;Yeah I found that you were talking about errata 198 forget my last message. I&amp;#39;m trying it right now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255704?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 09:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5004728-ec11-480a-9e43-34593f2df9cd</guid><dc:creator>AKYR</dc:creator><description>&lt;p&gt;Hello and thanks for your answer !&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve indeed manually set the GPIOs used for SPI in high drive mode &amp;#39;0&amp;#39; and &amp;#39;1&amp;#39; (PIN_CNF[n] = 0x3xx).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking at &amp;quot;bool errata_66()&amp;quot; which has the same build requirement for the flaw it looks like i&amp;#39;m in a build with this default but I can&amp;#39;t find in my SDK nor in the new 16.0.0 SDK an &amp;quot;errata_174()&amp;quot;&amp;nbsp; reference.&lt;/p&gt;
&lt;p&gt;Do you have a patch for the errata you mentionned or some input on how to ensure if I have this flaw ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM at 32MHz timing</title><link>https://devzone.nordicsemi.com/thread/255613?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 16:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef388115-be4a-418a-97ff-36bd1d8249e0</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Did you remember to check the errata sheet and implemented the required workaround for EasyDMA on SPIM3?&lt;/p&gt;
&lt;p&gt;Also, you need to manually put the SPI output pins in high drive mode IIRC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>