<?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>SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99858/spi-clock-and-mosi-not-working</link><description>Hello, 
 I am basing a project off of the NORA-B1 EVK device tree and I think I am getting some conflicts with pin assignments. As some background, I am using SPI4 successfully on some other pins. So I copied these settings over to another file and made</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2023 15:02:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99858/spi-clock-and-mosi-not-working" /><item><title>RE: SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/thread/427002?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 15:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4d5a759-693c-4598-9827-7ab5597eb550</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Okay, please let me know when you&amp;#39;ll do the tests.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/thread/426997?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 14:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89441eee-14a8-4285-9526-666d249a34db</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;Hi Michal. To answer your questions:&lt;/p&gt;
&lt;p&gt;1) This is a custom board now, so I can&amp;#39;t use the SW2. But my GPIOs are routed directly to an EEPROM chip, so there shouldn&amp;#39;t be any interference there.&lt;/p&gt;
&lt;p&gt;2) NCS version is 2.0.2&lt;/p&gt;
&lt;p&gt;3) I am using SPI4 to talk to a set of three SPI-UART bridge ICs. These are working utilizing three separate chip select lines as assigned in the overlay. I can temporarily switch SPI4 over to these pins to see if that works. It is a good suggestion, thanks.&lt;/p&gt;
&lt;p&gt;4) I didn&amp;#39;t test out SPI1 previously on the dev kit, so I didn&amp;#39;t have any particular pins assigned.&lt;/p&gt;
&lt;p&gt;5) The bias-pull-up was just an experiment to see if this fixed the issue. I will remove that as I don&amp;#39;t think it is necessary, I just wanted to see what would happen.&lt;/p&gt;
&lt;p&gt;6) As I stated above, it is a custom board, but I still have the EVK so maybe I will go back to that and try it out.&lt;/p&gt;
&lt;p&gt;Thank you, Jamie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/thread/426991?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 14:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:244403de-49ad-45a0-9a6f-d7277941256d</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hmm, I did not see anything particularly obvious in there.&lt;/p&gt;
&lt;p&gt;In the &lt;a href="https://content.u-blox.com/sites/default/files/EVK-NORA-B1_UserGuide_UBX-20030319.pdf"&gt;EVK-NORA-B1 User guide&lt;/a&gt;, page 11 I have found the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;VCOM Port functions connected to the NORA-B1 module can be disabled through SW2 to allow use of the GPIO pin for an application function.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could you take a look at that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And if it does not help, a few questions:&lt;/p&gt;
&lt;p&gt;What is your NCS version?&lt;/p&gt;
&lt;p&gt;Are you using SPI4 for something else? Could you maybe test if SPI4 works properly with the same pins?&lt;/p&gt;
&lt;p&gt;Which pins did you use before?&lt;/p&gt;
&lt;p&gt;What is the reason for using bias-pull-up with the SPI pins?&lt;/p&gt;
&lt;p&gt;Are you using the NORA-B1 EVK device, or is it some custom device based on that module?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/thread/426699?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 19:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:289274fc-fa63-44d3-ae9d-8a43e02aec6e</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;Sure, here it is.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3482.zephyr.dts"&gt;devzone.nordicsemi.com/.../3482.zephyr.dts&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/thread/426693?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 19:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfa17b5e-77c4-4056-88c5-738355ba91cf</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am looking into your case now.&lt;/p&gt;
&lt;p&gt;Could you send me your zephyr.dts file? By default it should be in your project directory build/zephyr/zephyr.dts&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI clock and MOSI not working</title><link>https://devzone.nordicsemi.com/thread/426240?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 11:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:672eb5a6-9e26-458a-8019-3b7d0c339b1f</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I am sorry, but we are short staffed this week due to Public Holidays in Norway. We will be back on Monday 22nd and hope to be able to answer all incoming requests within a couple of days, depending on the backlog. I am sorry for the inconvenience.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>