<?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 (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40522/nrf52832-spi-psel-sck-timing</link><description>I want to use nrf52832 SPIM， In nRF52832_PS_V1.4 it described that &amp;quot;An SPI master transaction is started by triggering the START task.Following a START task, the SPI master will generate an END event when both ENDRX and ENDTX have been generated.&amp;quot; ，then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jan 2019 06:53:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40522/nrf52832-spi-psel-sck-timing" /><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/164808?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 06:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:160ca27f-dfc3-4a0d-bc9a-2c0c3b00da93</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;&lt;span&gt;hi, there is another question, after using PPI&amp;nbsp; the SPI works well , but there is another question, I must put P0.30 as output pin,and there is gaps between every 8clock, If I didn&amp;#39;t config P0.30, there is not gaps between every 8clock, just like bellow,is that right?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/163190?ContentTypeID=1</link><pubDate>Fri, 28 Dec 2018 11:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:737965ae-0ea6-4523-92a9-498998f2efda</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;hi，thanks very much&lt;/p&gt;
&lt;p&gt;after using PPI&amp;nbsp; the SPI works well , but there is another question, I must put P0.30 as output pin,and there is gaps between every 8clock, If I didn&amp;#39;t config P0.30, there is not gaps between every 8clock, just like bellow,is that right?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1545996023453v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/158997?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 10:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:949a4d5d-5bc4-4d7c-9099-43b11173eb5c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Shorts are a type &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s"&gt;PPI&lt;/a&gt;&amp;nbsp;and the entire purpose of shorts and PPI is to physically connect a task and event in HW so that the event can trigger the task autonomously without&amp;nbsp;waiting&amp;nbsp;for the CPU. Hence, when you use shorts, no amount of nops are going to delay the next transfers. The END event will trigger the START task automatically right away.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/158977?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 09:39:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f6d14f-d329-4a02-861e-1877aa50a5dd</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;hi, when I use short in SPI，can I change the gaps between each 8 clock using &amp;quot;nop&amp;quot; , like bellow:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1543225056096v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In fact&amp;nbsp; , the gaps didn&amp;#39;t change if there have or not have &amp;quot;nop&amp;quot;，so, how can I change the gaps&amp;nbsp;&lt;span&gt;between each 8 clock when I use&amp;nbsp;NRF_SPIM0-&amp;gt;SHORTS = SPIM_SHORTS_END_START_Msk; in SPI.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/158205?ContentTypeID=1</link><pubDate>Tue, 20 Nov 2018 14:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca0f0082-073d-4855-b575-a94c04a92666</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;That sounds like Erratum #58. You will find a workaround here:&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev2.errata/dita/errata/nRF52832/Rev2/latest/anomaly_832_58.html?cp=2_1_1_0_1_8"&gt;[58] SPIM: An additional byte is clocked out when RXD.MAXCNT = 1&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/158156?ContentTypeID=1</link><pubDate>Tue, 20 Nov 2018 11:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eea2911-8fd6-4d8f-b1bd-40646847d35a</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;another question, when I use&amp;nbsp;NRF_SPIM0-&amp;gt;TXD.MAXCNT = 1 , the transmission is right. when I use&amp;nbsp;transmission &amp;amp;&amp;nbsp;NRF_SPIM0-&amp;gt;RXD.MAXCNT = 1, the SPI_SCK is wrong, sometimes 8 Clock but sometimes 16 Clock, where is the matter? My code is like bellow:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542714725486v1.png" alt=" " /&gt; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542714937450v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;the sck is like bellow,and csn is high befor clock finish :&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542714836434v3.png" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542714857668v4.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/158123?ContentTypeID=1</link><pubDate>Tue, 20 Nov 2018 09:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f803932e-95d9-4861-b4a9-8aa72a469986</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately the SPI peripheral simply isn&amp;#39;t designed to do what you want it to do. Using shorts as you suggest is probably the best way to go, but even then there will be signal propagation delays, etc. and implementing delays less than 100 ns is not possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/157851?ContentTypeID=1</link><pubDate>Mon, 19 Nov 2018 00:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:689d5a69-137f-4fb6-a97a-19855e1c50c2</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;when I use&amp;nbsp;NRF_SPIM0-&amp;gt;SHORTS in order to cut short the time between bytes, but it still has 1.4us，I need the time to be less than 100ns?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542589018720v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/157634?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 06:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac8199c6-4666-4a53-aa86-8b737adeac9d</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;Now I use&amp;nbsp;NRF_SPIM0-&amp;gt;SHORTS in order to cut short the time between bytes, but it still has 1.4us，I need the time to be less than 100ns?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542350359227v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/157622?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 03:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c559691-0eca-49a5-bc80-e0a731b5e224</guid><dc:creator>yanli_1226</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;when I send 1 byte long buffer at a time without delay, the gaps between bytes are 2.2us, I only want the gaps time to be less than 10ns. there is my code bellow, how can I get the gaps between bytes less than 100ns?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542339934108v1.png" alt=" " /&gt; &amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542339964639v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 spi (PSEL.SCK) timing</title><link>https://devzone.nordicsemi.com/thread/157496?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0081750c-7bef-4174-a6ae-8f795f1f2fc9</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The whole point of&amp;nbsp;&lt;a title="EasyDMA" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/spim.html?cp=2_1_0_30_1#concept_svj_wt2_wr"&gt;EasyDMA&lt;/a&gt;&amp;nbsp;and the ability to specify a buffer of a arbitrary length is to be able to transfer the entire buffer without CPU intervention or delays. If you need delays between every single byte, you will have to send 1 byte long buffers one at the time and make your delay in software.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>