<?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 configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115566/spi-frequency-configuration</link><description>Hello friends, I am using nrf52833 MCU for my current project, this project involves a sensor from infineon that operate on SPI and it supports high frequencies up to 50 MHz. My question is what is the maximum possible frequency of the SPI at this MCU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2024 13:31:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115566/spi-frequency-configuration" /><item><title>RE: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/507164?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 13:31:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc96fb8c-1444-4bdd-bf11-6c7d059149bf</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I can see a devzone case where someone was using spi3, here you can see how to define spi3 in the overlay file, and also how to use it in the project code.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/106607/toggle-pin-between-spi-and-gpio?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/106607/toggle-pin-between-spi-and-gpio?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/506815?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 06:07:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0306a544-795a-490c-a759-0a5927bcc39f</guid><dc:creator>Ramfrost</dc:creator><description>&lt;p&gt;Hi Kenneth, thanks for your response. Is there any driver for accessing spi 3 or a code example for it&amp;#39;s implementation or any guide suggesting how to do that because apart from it&amp;#39;s name and base address I could not find more information about it.&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: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/506740?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 13:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:822dfdf9-133f-4662-af9b-6b8ae56dcee1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think I understand the confusion now. The nRF52833 can operate in legacy spi mode (deprecate mode where each byte is written from an interrupt handler) or it can operate in spim mode (where the entire transfer is handled through EasyDMA without any MCU interaction).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52833/page/spi.html#d1135e325"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52833/page/spi.html#d1135e325&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52833/page/spim.html#d1152e543"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52833/page/spim.html#d1152e543&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The spim have one more &amp;quot;spi&amp;quot; instance 3, which can also support 32MHz. You might wonder why this is, but actually the hardware implementation for spim3 is very different from the spim0-2 and spi0-2. So even thought they are register and functionally the same seen from software, only spim3 can support 32MHz.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/506597?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 03:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c2e3db2-3b08-4310-8af6-2e00583771f0</guid><dc:creator>Ramfrost</dc:creator><description>&lt;p&gt;Hi Kenneth, I got it but what about SPIM3 there is nothing mentioned about it in the table. I am using the spi library nrf_drv_spi.c/h and nrf_spi.h and nrf_spim.h, in these drivers there is no mention of SPI3(only SPI0 to SPI2) so how can I access SPIM3 ? Is there any other driver for accessing it?&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: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/506501?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 11:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91530328-c7d5-41ac-9e74-dd9898efdfaf</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;This table indirectly explains that spi0-2 is limited to 8MHz, even though the register can go up to 32MHz:&lt;br /&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/pastedimage1729079314945v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/506487?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 11:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e408d66-dd13-4c0f-ab16-fb5b74a3af47</guid><dc:creator>Ramfrost</dc:creator><description>&lt;p&gt;Hello Kenneth, thanks for your quick response. I checked out the link you have shared where I found two contradictory things. At one place it was written that it supports maximum frequency up to 32 MHz but in configuration section there was nothing in front of the SPIM3 and for SPIM0 to SPIM2 it was showing 8MHz Max supported no more than that. Please check that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank You.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI Frequency configuration</title><link>https://devzone.nordicsemi.com/thread/506481?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 10:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec090f35-b003-4468-aff3-7b89ce065fbd</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The nRF52833 can support max 8MHz on spi0, spi1 and spi2, but for spi3 it can support up to 32MHz, ref:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52833/page/spim.html#d1152e543"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52833/page/spim.html#d1152e543&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>