<?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>Simple SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68432/simple-spi</link><description>Hello, 
 I am using nrf9160 and want to test the just simple SPI function. The code that I found from github( https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/spi c) is old and gives me too many errors. Are there any simple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jan 2021 11:33:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68432/simple-spi" /><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/289163?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 11:33:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e2abfda-10b2-4706-bf29-1f3fd3cf296c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Glad to hear that you got everything working!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/289127?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 10:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f58ae36-cdf5-493f-8774-f6bb7587f6d1</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;I finally managed to solve the problem. I realized that I have to choose my sampling frequency as 25Mhz and &amp;nbsp; I also connect the ground to a different gnd pin and now I am able to see the signals properly. Thank you for the help.&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287929?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 11:31:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4779c44-e9d6-484f-977a-0fde2db50ffd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="verulia"]Can you share the code that you tried and managed to scope the jedec id so that I can also try to see it on my analyzer too.It would&amp;nbsp; be so helpful for my case.[/quote]
&lt;p&gt;The changes I made are attached in the case you linked to. If you read the full case you linked to, the problem was a physical&amp;nbsp;soldering issue on one board.&lt;/p&gt;
&lt;p&gt;In your other case, it seems that the pins are indeed working, just that the sampling rate on your logic analyzer isn&amp;#39;t set high enough to properly sample a 4 MHz signal:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69363/reading-jedec-id-with-spi-on-nrf9160/285610#285610"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/69363/reading-jedec-id-with-spi-on-nrf9160/285610#285610&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try swapping the pins in the overlay file, delete your build-folder, re-import the project in SES and build/flash it again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287924?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 11:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96541be-995b-4766-a124-bfd62bc303ad</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakan,&lt;/p&gt;
&lt;p&gt;Unfortunately, this is what I am seeing with 10 Mhz.&lt;/p&gt;
&lt;p&gt;.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6837.send.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Maybe I should try a different example. I searched other tickets and saw this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64355/is-there-any-spi-example-of-ncs-v1-3-to-refer-to/262533#262533"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/64355/is-there-any-spi-example-of-ncs-v1-3-to-refer-to/262533#262533&lt;/a&gt;.&amp;nbsp; In that post, you said that you were able to read the jedec id. I am also trying to communicate with an external flash and read its jedec id. Do you have the simple code for that project that you read the jedec id for w32q flash? Does reading the jedec id part work although I don&amp;#39;t have the flash, is it still possible to scope the signal from logic analyzer? Can you share the code that you tried and managed to scope the jedec id so that I can also try to see it on my analyzer too.It would&amp;nbsp; be so helpful for my case.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287905?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 10:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0dd034d-bb62-4391-bbcb-8f64f7fd68ff</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested your .hex file in that .zip (the file build_nrf9160dk_nrf9160ns/zephyr/merged.hex):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1610014380316v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The signal is 4MHz, so you should set the sampling rate &amp;gt; 8MHz on your&amp;nbsp;logic&amp;nbsp;analyzer.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287896?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 10:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a144cd00-441d-4144-bfe9-40bbc223062e</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakan,&lt;/p&gt;
&lt;p&gt;Yes sure.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1033.simple_5F00_spi_5F00_test_5F00_nrf9160.zip"&gt;devzone.nordicsemi.com/.../1033.simple_5F00_spi_5F00_test_5F00_nrf9160.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287894?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 10:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9291a324-9841-4b80-9101-f987c784e77b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please share your project?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287889?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 09:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5edb13f0-82c2-43d9-883c-e95a5b63723e</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakan,&lt;/p&gt;
&lt;p&gt;I already changed that it is 3V. Are you observing the clk signal without doing any triggering? Does it show up as long as you connect clk pin to logic analyzer? I didn&amp;#39;t understand what I am doing wrong? Are my adjustmenst correct?&lt;/p&gt;
&lt;p&gt;-MISO AND MOSI are connected on NRF&lt;/p&gt;
&lt;p&gt;-Sampling freq=5Mhz(I also tried other ones no change)&lt;/p&gt;
&lt;p&gt;-Only clk is connected to logic analyzer&lt;/p&gt;
&lt;p&gt;- I am not doing any triggering currently but I tried all the triggering options nothing changed&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287883?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 09:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f885c80-9fd7-4442-bb14-be561da68d7e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to test with 1.8V setting in your logic analyzer SW? If you&amp;#39;re using the nRF9160-DK, its default setting is 1.8V (changeable to 3.0V via the VDD_IO switch near the power switch).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287873?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 08:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8b7527b-c333-467e-b9f1-249cfd39f46b</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Also this is the output on lte link monitor when I connect MISO TO MOSI:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/out_3101_.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;so it seems there aren&amp;#39;t any problem in loopback test functionality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287870?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 08:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb8dd02-83d7-4625-9f50-a612db263df2</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakan,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/scanaPNG.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;This is the output right now. MISO AND MOSI are connected together on the nrf. clk pin is 11. I only connected clk pin&amp;lt;11&amp;gt; to logic analyzer on CH2. My sampling rate is 1 MHz rigth now. When I increase the sampling rate I only see high(1) on CH2. The code that I am using is the one in the attachment I didn&amp;#39;t change anything in that code. Once I get this observation work I will modifiy the code and move on. I am sure that logic analyzer is working because when I toggle the pins manually I can properly observe it. I was also be able to observe the clock signal with different microcontroller(nor nrf)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287864?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 08:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58cd0918-32e1-4f92-bdab-96cb4f309b56</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, it seems to toggle at my end:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1610008134374v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="verulia"]Can you see the clock output and the miso properly from the logic analyzer?[/quote]
&lt;p&gt;&amp;nbsp;MISO is the &amp;quot;master in, slave out&amp;quot;, so unless you have anything externally connected to the device, it will not show anything. This is why I asked if you have connected the MISO signal to the MOSI signal. This is a loopback test.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please confirm which pins aren&amp;#39;t working, as per my former response?&lt;/p&gt;
&lt;p&gt;Is it only the CLK pin not outputting a signal? Please provide a screenshot of your sampled signal.&lt;/p&gt;
&lt;p&gt;Can you please share your current project so I can try it at my end?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/287852?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 08:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0c69cff-6890-4bf9-b4bc-06f40040783e</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakan,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. This issue is kind of important for me hence I need to solve it. Did you try the code that you sent me &amp;quot;this simple spi loopback&amp;quot;, with logic analyzer? Can you see the clock output and the miso properly from the logic analyzer? Seeing the spi functionality from logic analyzer is very important for me to move on in my project. Also if you are able to see it from logic analyzer can you tell me your settings in the system such as sampling freq etc.&lt;/p&gt;
&lt;p&gt;Thank you for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/284260?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 09:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78c3af9c-63a5-4c1d-9244-754cee70d892</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="verulia"]Yes when I connect miso to mosi with a wire I receive the same value. I also changed the gpio pins for clk and miso it also works fine when I change them I can still see the outputs on lte link monitor. The only problem is I cant even see the clk ouput 1-0-1-0 on logic analyzer, I also cant see mosi.[/quote]
&lt;p&gt;If you are not able to view the data on your logic analyzer when looking at MISO, but the serial output shows that it sends for instance 10 and receives 10 when you connect MISO to MOSI, then the pin itself does toggle.&lt;/p&gt;
&lt;p&gt;It is then a problem with your logic analyzer PC setup.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/284173?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 17:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871a8d95-e3b8-427f-911f-41b49093e7fd</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes when I connect miso to mosi with a wire I receive the same value. I also changed the gpio pins for clk and miso it also works fine when I change them I can still see the outputs on lte link monitor. The only problem is I cant even see the clk ouput 1-0-1-0 on logic analyzer, I also cant see mosi. The clk pin always gives 1 in logic analyzer but it should be 0-1-0-1. I changed the sampling rate, frequenct however still result is same. I didn&amp;#39;t understand what I am missing. Should I have to make additional changes in the code or should I need to do some adjustments in the logic analyzer. But in logic analyzer when I just send 1-0-1-0 from gpio pins(different from spi pins) I was be able to see the output clearly without doing any modification&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/284093?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 13:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:455175f1-3db3-4583-ba7e-bc10e6769848</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the UART terminal (serial terminal), are you getting the expected output when connecting MISO to MOSI using a patch wire?&lt;/p&gt;
&lt;p&gt;ie:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TX sent: X&lt;/p&gt;
&lt;p&gt;RX recv: X&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/284082?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 13:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed688930-7c43-4007-a6b9-1ad5af286cd7</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi, I couldn&amp;#39;t get an answer for my last reply do you have any idea of what can I also try?&lt;/p&gt;
&lt;p&gt;Thank for the help so much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/282809?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 08:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00f48a91-3a53-45c9-a1de-336629a33724</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi Hakan,&lt;/p&gt;
&lt;p&gt;The pins are changed no problem in that part rigth now but still I can&amp;#39;t see the rigth signal in the logic analyzer. I adjusted edge triggering with rising edge( also tried with falling and all other triggering options) I see that clk signal seems always high. Not 0-1-0-1 its always one.I played with sampling frequency but it also didn&amp;#39;t change the result. I tested the logic analyzer with different chip and I saw 1-0-1-0 clk signal so logic analyzer is working fine. I didn&amp;#39;t change the code that you sent me and it is doing loopback so no problem in spi functionality. Then what should I do in this case? I just want to see the clk signal and mosi in this case I thought that just attaching the logic analyzer to those output pins was sufficient to see the outputs am I missing something in this point?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281783?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 11:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed321442-8373-4b24-83ff-c05c4769e36e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You can use another gpio by setting the .overlay file.&lt;/p&gt;
&lt;p&gt;For instance:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	sck-pin = &amp;lt;x&amp;gt;;
	mosi-pin = &amp;lt;y&amp;gt;;
	miso-pin = &amp;lt;z&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where x, y, z are a valid and unused gpio. If it doesn&amp;#39;t switch the gpios, try deleting your build folder and re-importing the project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281608?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 14:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb0c8e8d-1382-477b-bc1e-9969f22fc8af</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think I misunderstood the switching part because I just try to switch the pins of mosi and clk in the overlay file by just writing mosi&amp;lt;10&amp;gt; clk&amp;lt;11&amp;gt; however this doesn&amp;#39;t work. How can I switch them what is the right way?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281545?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 12:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90b000d3-5e5d-4898-b143-c5deb4e1914b</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;I didn&amp;#39;t do any triggering, I just connected one port to the ground and other port to clk output. As trial I triggered the output channel of clk port both risinf and falling but result didn&amp;#39;t change.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281530?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 11:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8de8931f-5dd7-4906-86b8-aa616346d56f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The sample doesn&amp;#39;t send all the time (once per second), are you sure you&amp;#39;re triggering on the correct channel, with the correct edge triggering?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281506?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 10:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7887defd-47af-4296-80cf-2e08828d3b3f</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tested the logic analyzer for testing other gpio pins and it working however I still can&amp;#39;t see any signal from spi code. GND is connected and I can&amp;#39;t see clock,miso and mosi. I reverse the pins for mosi and clk however I am always getting 1(high) from &amp;lt;10&amp;gt; port. I also tried to decrease the sampling rate but still I am always getting hi from &amp;lt;10&amp;gt; port even though the GND is not connected. I should be able to directly observe the clk signal from logic analyzer right without changing anything in the code?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281335?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 13:52:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0652ebd3-4bc6-4226-8f40-fa1840a62dc9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="verulia"]I can loopback which means spi is working but I can&amp;#39;t see any signals from scana. [/quote]
&lt;p&gt;So, when sending x, you receive x back as well? Then it seems that there&amp;#39;s something wrong with your logic analyzer setup. Check the GND connection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="verulia"]Also, if I wan&amp;#39;t to change this gpio pin setting should I use gpio_pin_configure?[/quote]
&lt;p&gt;Yes, you can use that to configure any unused GPIO if you&amp;#39;d like.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple SPI</title><link>https://devzone.nordicsemi.com/thread/281263?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 09:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4f5b838-5fb7-4962-b6c4-db624ae96e58</guid><dc:creator>verulia</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using v1.4.0 SDK. In spi example I can&amp;#39;t even see the MOSI signal in scana. I can loopback which means spi is working but I can&amp;#39;t see any signals from scana. Also, if I wan&amp;#39;t to change this gpio pin setting should I use gpio_pin_configure?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>