<?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>nRF53840 SPI1 maximum clock rate?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126107/nrf53840-spi1-maximum-clock-rate</link><description>Greetings, 
 What&amp;#39;s the maximum clock rate supported by the SPI1 interface on an nRF52840? My DTS overlay indicates it should use 32MHZ for one device and 8MHz for the other. However, the first device is getting a clock at 8 instead of 32MHz. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Dec 2025 14:17:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126107/nrf53840-spi1-maximum-clock-rate" /><item><title>RE: nRF53840 SPI1 maximum clock rate?</title><link>https://devzone.nordicsemi.com/thread/556882?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 14:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e2ec63c-3722-48ef-a231-8d9a5d8a5515</guid><dc:creator>Dave Littell</dc:creator><description>&lt;p&gt;Very good, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53840 SPI1 maximum clock rate?</title><link>https://devzone.nordicsemi.com/thread/556871?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 12:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de779d62-42fa-479f-9bab-c769bdb97695</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;On the nRF52840, not all SPI instances support a 32 MHz clock. There are two different SPI peripherals:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;SPI (legacy SPI, no EasyDMA): maximum 8 MHz&lt;/li&gt;
&lt;li&gt;SPIM (SPI master with EasyDMA)
&lt;ol&gt;
&lt;li&gt;SPIM0 / SPIM1 / SPIM2: maximum 8 MHz&lt;/li&gt;
&lt;li&gt;SPIM3 only: supports up to 32 MHz&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So. If your device is bound to a legacy SPI peripheral, it will always be limited to 8 MHz, regardless of the DTS value.&amp;nbsp;Moreover if in your DTS it is using SPIM0/SPIM1/SPIM2, it will still be limited to 8 MHz. Only SPIM3 supports 32 MHz, so to use 32 MHz the device must be connected to SPIM3, and that instance must be enabled in the devicetree. You can verify this by checking your DTS / overlay and the final generated devicetree (build/zephyr/zephyr.dts) to see which hardware block your SPI node is actually mapped to.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>