<?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>6 Mbps on SPI.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15789/6-mbps-on-spi</link><description>Hello.
I&amp;#39;m working with the nrf52 with s132 loaded.
There is a way to have a 6Mbps on the SPI ? I try the value 0x60000000 but this do not work.
Thanks.
Eric Provost.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jan 2017 14:28:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15789/6-mbps-on-spi" /><item><title>RE: 6 Mbps on SPI.</title><link>https://devzone.nordicsemi.com/thread/60259?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 14:28:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f65a76-39f8-4395-bd6e-b70a5fe0474b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;QSPI is only for the nRF52840, sorry for the mistake! Thanks for the comments, I&amp;#39;ll relay your comments to the correct personnel internally. We&amp;#39;re always open for feedback on our devices!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 6 Mbps on SPI.</title><link>https://devzone.nordicsemi.com/thread/60258?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 12:39:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1297464e-e6d7-4cb5-8e1a-481c610fb184</guid><dc:creator>Tim D</dc:creator><description>&lt;p&gt;Thanks for the answer. I was assuming you were based off a 32MHz clock, this explains things. When you say QSPI, do you mean QDEC?  I&amp;#39;m not seeing a QSPI peripheral in the datasheet.&lt;/p&gt;
&lt;p&gt;Also, we have had good luck with the 8MHz SPI.  But we have custom designs which are very well done.&lt;/p&gt;
&lt;p&gt;I suggest on the nRF53 or next rev of nRF52 that a faster SPI bus is used and you consider a DMA model that allows longer transactions and remove the delay between DMA transactions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 6 Mbps on SPI.</title><link>https://devzone.nordicsemi.com/thread/60257?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 08:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5385f3b-0127-4d92-9480-a6061ce51396</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Tim,
The nRF51x22&amp;#39;s SPIM is sourced by the 16M clock tree, as most other bus-peripherals, but we&amp;#39;ve seen that the physical aspects (trace length, capacitance etc) limits the speed to approx 4 MHz, as we have timing requirements to meet on the bus signals. The nRF52 has a bit more special setup wrt. clock sources. QSPI, PWM, and I2S are all sourced from a 32M clock source, while UART/SPIM/I2C/TIMER are sourced from 16M. You&amp;#39;ll have to take into account that the peripheral running at F, can provide a maximum output of F/2. A timer running with 16M source will be able to generate a event every 8 MHz for instance.&lt;/p&gt;
&lt;p&gt;No, it&amp;#39;s not possible to output the source frequency (16M), as setting &amp;#39;1&amp;#39; in the prescaler will actually be prescaler+1, which will be a divide by two.
Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 6 Mbps on SPI.</title><link>https://devzone.nordicsemi.com/thread/60256?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2017 18:48:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07ff7c83-5090-433c-9387-7b480a6366db</guid><dc:creator>Tim D</dc:creator><description>&lt;p&gt;@Håkon  The FREQUENCY register is not defined that way in the datasheet. Can you provide more details of how you came up with 0x48000000 as the value to get a divide by 3? Is it possible to get a divide by 1 and run at 16MHz? What other values are possible in this register?&lt;/p&gt;
&lt;p&gt;I am a little dumbfounded as to why the NRF51 has a 4MHz bus from a 16MHz main clock (div of 4) but the NRF52 has only a 8MHz bus from a 64MHz main clock (div of 8). 8MHz can be rather limiting, not to mention the 255 byte DMA cap and delay between clocks on the shortcut.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 6 Mbps on SPI.</title><link>https://devzone.nordicsemi.com/thread/60255?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2016 09:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec9d35eb-e8b6-425f-9d4c-14f348f453c2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Anything over 4 MHz will be greatly influenced by pad and trace capacitance, so I would highly recommend checking the rise and fall time of your signal.
You can generate a 5.3 MHz (16M / 3) signal by setting &lt;code&gt;FREQUENCY = 0x48000000;&lt;/code&gt;, but not a 6 MHz frequency.&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>