<?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 frequency issue on nRF7002 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118371/spi-frequency-issue-on-nrf7002-dk</link><description>Hi there 
 I&amp;#39;m trying to make the SPI work on nRF53 (My board is nRF7002 DK) refer the tutorial academy.nordicsemi.com/.../ but I had the issue about frequency of spi peripheral. 
 Specifically: When I config the the max frequency of SPI equal to 125Khz</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Oct 2025 08:21:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118371/spi-frequency-issue-on-nrf7002-dk" /><item><title>RE: SPI frequency issue on nRF7002 DK</title><link>https://devzone.nordicsemi.com/thread/552707?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 08:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c5c2a5-d87d-46c1-beb3-e6a7bf65ce47</guid><dc:creator>Peter Langer Keysoft</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try measuring it with an oscilloscope to see the shape of the signal.&lt;/p&gt;
&lt;p&gt;Check you &amp;quot;drive-mode&amp;quot; for SPI pins in overlay.&lt;/p&gt;
&lt;p&gt;And finally try disconnecting the logic analyzer. I had a similar problem, but with wires about 15 cm long and an external SoC - after disconnecting the logic analyzer the nRF7002-EK started working.&lt;/p&gt;
&lt;p&gt;KeySoft&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI frequency issue on nRF7002 DK</title><link>https://devzone.nordicsemi.com/thread/520506?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 08:13:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5844c3-5e49-4228-9ce5-e47c42386384</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Just so we&amp;#39;re on the same page. The SPI pins aren&amp;#39;t connected to anything here, you&amp;#39;re just checking with a logic analyzer, correct? Are you certain the analyzer supports higher frequencies?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see this being a problem I&amp;#39;m afraid. If the SPI max frequency is the only thing you changed there shouldn&amp;#39;t be any reason for it to not operate. You can try adding some debug logging in your configs and upload the full log here for us to review.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI frequency issue on nRF7002 DK</title><link>https://devzone.nordicsemi.com/thread/520231?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 16:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6979b4e-af9f-4ce1-adb4-5fd1665b0da6</guid><dc:creator>QuangPhuoc</dc:creator><description>&lt;p&gt;Thank you for reply&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;What pins are you using for SPI data pins in your sample here?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My full device tree:&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;spi1&lt;/span&gt;&lt;span&gt;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;nordic,nrf-spim&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;status&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;pinctrl-0&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;spi1_default&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;pinctrl-1&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;spi1_sleep&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;pinctrl-names&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;default&amp;quot;&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;sleep&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;cs-gpios&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio0&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;25&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;max-frequency&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span&gt;0x7a1200&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;gendev:&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;gendev&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;vnd,spi-device&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;reg&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;spi-max-frequency&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span&gt;125000&lt;/span&gt;&lt;span&gt;&amp;gt;;&amp;nbsp; // &amp;lt;= THIS CHANGE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;label&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;GenDev&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&amp;amp;pinctrl {&lt;br /&gt; spi1_default: spi1_default {&lt;br /&gt; group1 {&lt;br /&gt; psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 6)&amp;gt;, &lt;br /&gt; &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 7)&amp;gt;,&lt;br /&gt; &amp;lt;NRF_PSEL(SPIM_MISO, 0, 26)&amp;gt;;&lt;br /&gt; };&lt;br /&gt; };&lt;br /&gt; spi1_sleep: spi1_sleep {&lt;br /&gt; group1 {&lt;br /&gt; psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 6)&amp;gt;,&lt;br /&gt; &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 7)&amp;gt;,&lt;br /&gt; &amp;lt;NRF_PSEL(SPIM_MISO, 0, 26)&amp;gt;;&lt;br /&gt; low-power-enable;&lt;br /&gt; };&lt;br /&gt; };&lt;br /&gt;};&lt;/div&gt;
&lt;p&gt;I got this on the sample refer the SPI tutorial of Nordic &lt;a id="" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/topic/zephyr-spi-api/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/topic/zephyr-spi-api/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also check my full code in the attachment&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;&lt;span&gt;Note that some of the pins are connected to other function on the DK already&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using nRF7002-DK (PCA10143). I checked this don&amp;#39;t use the pin 0.06, 0.07, 0.26 and 0.25.&lt;/p&gt;
&lt;p&gt;Below is the detailed image of the board I used.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1737993328044v2.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1737993354734v3.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;&lt;span&gt;What kind of SPI device are you trying to communicate with here?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That&amp;#39;s just a sample. There I try to send SPI signal and read it with logic analyzer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The problem is when I config the spi-max-frequency = &amp;lt;125000&amp;gt;;, I can capture the signal on logic analyer. But when I changed this to spi-max-frequency = &amp;lt;1000000&amp;gt;;, I just get the CS signal and no MOSI or SCK signal (See the image I attached in the original post)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. Do you see any logging from the application when running this project on your end?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any unusual phenomenon on the Log (Use printf). LED flashes normally&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can check the operation on the&amp;nbsp;&lt;span&gt;attachment&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you need more information, please let me know&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have a nice day&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI frequency issue on nRF7002 DK</title><link>https://devzone.nordicsemi.com/thread/520182?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 13:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d7c8bd0-8ffb-4b50-ba1f-830c7f5c548c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What pins are you using for SPI data pins in your sample here? Note that some of the pins are connected to other function on the DK already. Please use the &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/intro.html"&gt;DK user guide for reference here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What kind of SPI device are you trying to communicate with here? And do you see any logging from the application when running this project on your end?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>