<?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 pins config fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67557/spim-pins-config-fail</link><description>I try to use the SPIM0 but the configuration of the pins fail, the value in PSEL doesn&amp;#39;t change after the call to nrfx_spim_init().</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Oct 2020 08:51:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67557/spim-pins-config-fail" /><item><title>RE: SPIM pins config fail</title><link>https://devzone.nordicsemi.com/thread/277299?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 08:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:366d856c-c702-493a-a79c-c87d444dd7a4</guid><dc:creator>Nicolas Brunner</dc:creator><description>&lt;p&gt;Thank you for those information&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM pins config fail</title><link>https://devzone.nordicsemi.com/thread/277186?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa4f9432-b5f1-462c-9bc8-ede73bc74a21</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again, Nicolas!&lt;br /&gt;&lt;br /&gt;I believe I have tracked down the issue. Some peripherals, like UART0 and SPIM0 cannot be active at the same time. Hence, I recommend that you use SPIM1. However, if you want to use SPIM0 you have to apply an overlay file to the project in order to disable UART0. I&amp;#39;ve attached the one I used to make it work:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0250.nrf5340pdk_5F00_nrf5340_5F00_cpuapp.txt"&gt;devzone.nordicsemi.com/.../0250.nrf5340pdk_5F00_nrf5340_5F00_cpuapp.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Place this file in your project directory, and change the type from &amp;quot;.txt&amp;quot; to &amp;quot;.overlay&amp;quot;. Note that I&amp;#39;ve enabled UART1 with the same configuration as UART0 in order to get serial output.&lt;br /&gt;&lt;br /&gt;Hope this works for you!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM pins config fail</title><link>https://devzone.nordicsemi.com/thread/276642?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 13:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4f12c09-78fb-49d8-ac25-58e914207825</guid><dc:creator>Nicolas Brunner</dc:creator><description>&lt;p&gt;prj.conf:&lt;/p&gt;
&lt;p&gt;CONFIG_NO_OPTIMIZATIONS=y&lt;br /&gt;CONFIG_DEBUG=y&lt;br /&gt;CONFIG_DEBUG_INFO=y&lt;br /&gt;CONFIG_ASSERT=y&lt;br /&gt;&lt;br /&gt;CONFIG_NRFX_SPIM=y&lt;br /&gt;CONFIG_NRFX_SPIM0=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;PCA10095&lt;/p&gt;
&lt;p&gt;0.8.0&lt;/p&gt;
&lt;p&gt;2019.50&lt;/p&gt;
&lt;p&gt;960106339&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM pins config fail</title><link>https://devzone.nordicsemi.com/thread/276639?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 13:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79ff3ce6-9420-4645-8304-9e91798e62ce</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello!&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not seeing the same behavior when testing here. Could you share your prj.conf, as well as your nRF5340 PDK version number?&lt;br /&gt;&lt;br /&gt;Looking forward to help you with this!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>