<?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>[NRF52810] SPI (without DMA) &amp;#39;s  SCK signal isn&amp;#39;t continuous</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91108/nrf52810-spi-without-dma-s-sck-signal-isn-t-continuous</link><description>hello, 
 I use the SPI demo in the Official SDK. 
 but the SPI&amp;#39;s SCK signal has a break every bytes, 
 why?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2022 07:18:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91108/nrf52810-spi-without-dma-s-sck-signal-isn-t-continuous" /><item><title>RE: [NRF52810] SPI (without DMA) 's  SCK signal isn't continuous</title><link>https://devzone.nordicsemi.com/thread/382823?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 07:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e923eb0c-4541-4b68-9b55-c5979c6fd30f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Without EasyDMA then after each byte is transmitted, then the SPI interrupt needs to execute, and next byte needs to be written from the&amp;nbsp;SPI interrupt. This will cause a few us delay between each byte. If you need the SPI clock continuation then you need to use SPI with EasyDMA (SPIM_PRESENT), then the entire SPI transfer will occur in one go without any delay between bytes.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52810] SPI (without DMA) 's  SCK signal isn't continuous</title><link>https://devzone.nordicsemi.com/thread/382787?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 01:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9e0f809-98b3-4494-b2b5-d1d09638bdf5</guid><dc:creator>Triumph</dc:creator><description>&lt;p&gt;Hi ~&lt;/p&gt;
&lt;p&gt;Thank you for your&amp;nbsp;patience, I read the driver&amp;#39;s code and I know the driver write one byte at a time, but I can&amp;#39;t understand the clock have so big gap between two bytes. Is the SPI&amp;#39;s CLK right in my pasted picture? Can I make the SPI clock&amp;nbsp;continuation?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Triumph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52810] SPI (without DMA) 's  SCK signal isn't continuous</title><link>https://devzone.nordicsemi.com/thread/382423?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 10:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7414949d-54f0-4d97-ac67-2df6dcb11c13</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you disable DMA, then the driver will write one byte at a time, so this is slower yes.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52810] SPI (without DMA) 's  SCK signal isn't continuous</title><link>https://devzone.nordicsemi.com/thread/382361?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 01:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e7674c-bdf6-409e-98d7-a0cd2bab420a</guid><dc:creator>Triumph</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;I delete the defination of SPIM and confirm that use the&amp;nbsp;nrf_drv_spi_xfer() function.&lt;/p&gt;
&lt;p&gt;//#define SPIM_PRESENT&lt;br /&gt;//#define SPIM_COUNT 4&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF52810] SPI (without DMA) 's  SCK signal isn't continuous</title><link>https://devzone.nordicsemi.com/thread/382239?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 11:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22a3cb04-77a8-46b1-9589-8fc10e7b8f0b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this the&amp;nbsp;\nRF5_SDK_17.1.0_ddde560\examples\peripheral\spi example in nRF5 SDK?&lt;/p&gt;
&lt;p&gt;Looking at the sdk_config.h file I can find that EasyDMA is enabled by&amp;nbsp;SPI0_USE_EASY_DMA 1, so I don&amp;#39;t see any reason why&amp;nbsp;nrf_drv_spi_transfer() should have any delay between each byte.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>