<?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>I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51432/i-want-to-delay-between-spi-sck-per-1byte</link><description>Dear all, 
 
 Hi, I&amp;#39;m Eric. 
 
 I m studying spi communication used nRF52832 base on SDK 14.2/example/spi. 
 
 That examsignal is below picture 1. 
 But I want to delay between SCK per 1byte used SPIM like &amp;#39;picture 2&amp;#39; 
 
 Can you help me? 
 I hope to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Sep 2020 13:51:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51432/i-want-to-delay-between-spi-sck-per-1byte" /><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/271130?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 13:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da653d66-f8f7-412d-a0a3-ec3330e144f4</guid><dc:creator>Blache Jean-Luc</dc:creator><description>&lt;p&gt;Hello everybody&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new member and I have exatly the issue than Eric .&lt;/p&gt;
&lt;p&gt;Eric could you tell me where exactly are you change timer&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/212211?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 08:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b83816ef-297a-4a41-86c5-b88ecea7d97a</guid><dc:creator>nRFBeginner</dc:creator><description>&lt;p&gt;Hi I have a resolve.&lt;/p&gt;
&lt;p&gt;It was because of Timing.&lt;/p&gt;
&lt;p&gt;&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: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/207263?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 00:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1d6c8a2-466e-4627-a4c0-03d9469e7c7c</guid><dc:creator>nRFBeginner</dc:creator><description>&lt;p&gt;Hi, thank you for reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;OK, I&amp;nbsp;will try it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I will talk to you about the result.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/207144?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 12:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:545bbe38-cbed-4983-be4e-6d06ee722e4b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It seems to me that the initial bytes are the causing the problem, most likely because your app have initiated the first byte transaction a bit too early. Seems like the slave device (&lt;span&gt;LTC6811)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you wait few milliseconds before you start the transaction and see if you get the same results? It is also good to double check the pin pull configuration on both ends.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/206964?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 01:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a45f5af-d7fe-42a6-bc6d-c52fd1f1ae70</guid><dc:creator>nRFBeginner</dc:creator><description>&lt;p&gt;Hi, thank you for reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Because the working well&amp;nbsp;MCUs(STM,&amp;nbsp;ATmega)&amp;nbsp;thare are SCK delay, I expected easyDMA. T.T&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found out that have something not&amp;nbsp;to do with EasyDMA&amp;nbsp;last night.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Last night, I found out it is difference&amp;nbsp;between nRF52832 and another MCU(It is working well).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That&amp;nbsp;was&amp;nbsp;receive&amp;nbsp;buffer length.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nRF52832 is received 12 byte,&amp;nbsp;another&amp;nbsp;MCUs&amp;nbsp;are 8 byte.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nRF52832 is when received from LTC6811, it is 0xFF first 4 byte.&lt;/p&gt;
&lt;p&gt;Another MCUs are not received 0xFF first 4 byte.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. nRF52832&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Notwork.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. STM32F334&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/good.png" /&gt;&lt;/p&gt;
&lt;p&gt;I trying to find what is problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I attach scope signal nRF52 and STM32F334.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. nRF52832(Ch3(red)&amp;nbsp;now output HIGH well.)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/image03.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1567382695824v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. STM32F334(It is working well)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/image02.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1567382698425v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I need you help.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/206854?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 11:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f33dff3-564c-4180-bdcb-89f276b4634a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not understand why&amp;nbsp;&lt;span&gt;LTC6811&amp;nbsp;expects specific delay with the input clock for each byte. Are you really sure that this is the the reason for LTC6811 not to respond?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looking at the spec of LTC6811 did not reveal any such restriction&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8746163e25b64e88bd63a47c669b1a88/pastedimage1567079720239v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That said, I do not think that you can control the transaction of a peripheral that includes multiple bytes with EasyDMA and delay the clock per each byte like this with that accuracy.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/206728?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 23:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c2faae-4ba7-4ab5-83ca-cefb4cebf10f</guid><dc:creator>nRFBeginner</dc:creator><description>&lt;p&gt;Thank you for reple,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I&amp;#39;m trying to communication to LTC6811 chip.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have tried SPI communication used three MCUs(ATmega, STM32F334 and nordic nRF52832).&lt;/p&gt;
&lt;p&gt;STM32, ATmega is working well, but nRF52832 is not.&lt;br /&gt;I have fined what is different between nRF52832 and STM32, ATmega.&lt;br /&gt;I fined that STM32 and ATmega output deleyed SCK signal, but nRF52832 isn&amp;#39;t delayed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, I&amp;nbsp; want to same SCK like ATmega and STM32&amp;#39;s SCK signal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I m wondering how can deley SCK timing.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you.&lt;br /&gt;Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to delay between spi SCK per 1byte.</title><link>https://devzone.nordicsemi.com/thread/206510?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 07:31:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f31cc650-8631-4c79-932c-a79661ba7395</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can use the combination of PPI/GPIOTE/RTC to delay the start of SPI master. But what exactly are you trying to achieve, do you need to configure the TXD/RXD buffer every time for every single byte transaction or is it just the SCK signal you worry about and do not need to change any buffer pointers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>