<?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>nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80516/nrf52832-spi-frequency</link><description>Hi: 
 nRF52832 SDK17.1.0\examples\peripheral\spi\pca10040 , Is the maximum frequency of the SPI in here only 8M? 
 The following screenshots: 
 
 Can&amp;#39;t the frequency be set to higher ? Such as 20M , 30M . 
 thanks !</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Oct 2021 14:34:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80516/nrf52832-spi-frequency" /><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333982?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 14:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ab4d284-f9be-45a5-af34-c118c54c45cf</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Great!&lt;br /&gt;&lt;br /&gt;For future reference, it is best that you open another ticket if you encounter a question or issue that diverges from the original ticket - this keeps the forum tidy, and easy to navigate for other forum users.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you encounter any other issues or questions.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333974?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 13:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd1f43dd-6aa5-49cf-ad31-660acf85c962</guid><dc:creator>zxcv7063</dc:creator><description>&lt;p&gt;ok! I will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333953?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 13:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c506e7fa-4f60-4df6-a362-b77c8199f2e6</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="zxcv7063"]cannot use peripherals with the same ID ?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;This is correct, as written in &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fspim.html&amp;amp;anchor=concept_hj5_444_sr"&gt;the&amp;nbsp;&lt;em&gt;Shared Resources&amp;nbsp;&lt;/em&gt;section of each peripheral&amp;#39;s datasheet.&lt;/a&gt;&lt;/p&gt;
[quote user="zxcv7063"]Spi and I2C cannot be used together ?[/quote][quote user="zxcv7063"]How to solve this problem&amp;nbsp; ?&amp;nbsp;[/quote]
&lt;p&gt;You can use these peripherals together so long as you do not use the particular instances with the same ID. In order to use SPI and TWI, you will have to use TWI0 and SPI1, or visa versa, for example. Essentially, you can not use both TWIM1 and SPIM1 concurrently.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333948?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 12:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f697d8-e65e-48e0-96e7-fe3e397d287d</guid><dc:creator>zxcv7063</dc:creator><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Spi and I2C cannot be used together ?&amp;nbsp;&amp;nbsp;&lt;span&gt;The following screenshots:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1634129600092v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1634129652501v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&amp;nbsp;cannot use peripherals with the same ID ?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;How to solve this problem&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333856?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 08:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4b8ab12-eb00-4d29-b04c-5cce116e062e</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Great!&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333812?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 02:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8e3a52e-1e13-4b2c-972c-71143fdbd7cf</guid><dc:creator>zxcv7063</dc:creator><description>&lt;p&gt;OK ！&amp;nbsp; I will go and have a look .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333755?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 13:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31ea7a51-9a47-4578-8190-1d446af657fd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="zxcv7063"]Thank you for your reply .&amp;nbsp;[/quote]
&lt;p&gt;No problem at all, I am happy to help!&lt;/p&gt;
[quote user="zxcv7063"]Is the SPI&amp;nbsp; in SDK hardware SPI or software&amp;nbsp;analog SPI ?&amp;nbsp;[/quote]
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fspim.html&amp;amp;anchor=concept_j35_hv2_wr"&gt;SPI&amp;nbsp;peripherals have their own dedicated hardware&lt;/a&gt;.&lt;/p&gt;
[quote user="zxcv7063"]&lt;span&gt;&amp;nbsp;&lt;/span&gt;Can I get higher frequencies if&amp;nbsp; use an&amp;nbsp;&lt;span&gt;software&amp;nbsp;&lt;/span&gt;analog SPI?[/quote]
&lt;p&gt;There are no analogue outputs on the nRF52832. If you are asking if bit-banging SPI through GPIOTE toggling could achieve higher than 8 MHz frequency the answer is also no, unfortunately. If you need higher than 8 MHz frequency you will need to use SPIM3 on an nRF52833 or nRF52840 instead.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333606?ContentTypeID=1</link><pubDate>Tue, 12 Oct 2021 00:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c0ec757-be0c-4c1a-803e-cf11ad9f659b</guid><dc:creator>zxcv7063</dc:creator><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thank you for your reply .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;span&gt;Is the SPI&amp;nbsp; in SDK hardware SPI or software&amp;nbsp;analog SPI ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Can I get higher frequencies if&amp;nbsp; use an&amp;nbsp;&lt;span&gt;software&amp;nbsp;&lt;/span&gt;analog SPI?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333413?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 08:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8af40293-5299-4588-b70b-010db9110a82</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&amp;nbsp;&lt;br /&gt;@varung the datasheet you&amp;#39;re referring to seems to be for the nRF52840, while zxcv7063 is asking about the nRF52832.&lt;br /&gt;&lt;br /&gt;The maximum frequency of the SPI and SPIM peripheral of the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fspim.html&amp;amp;anchor=register.FREQUENCY"&gt;nRF52832 is 8 MHz, as shown in the SPIM peripheral documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you require &amp;lt; 20 MHz you could switch to using the nRF52840 or the nRF52833, both of which have an SPIM instance with 32 MHz as its maximum frequency.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333380?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 06:58:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12c591b9-e8ba-4706-bee5-ecb59b43fe55</guid><dc:creator>zxcv7063</dc:creator><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Thank you for your reply .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Our project application needs 20M, how should we modify it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 spi frequency</title><link>https://devzone.nordicsemi.com/thread/333378?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 06:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ffd051-e6cd-4070-92f5-dff95233e0ab</guid><dc:creator>VarunG</dc:creator><description>&lt;p&gt;zxcv7063,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, the maximum SPI clock frequency can be 8MHz. Refer to datasheet page # 421. I am attaching the screenshot below as well.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/SPI_5F00_SCK.JPG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>