<?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>SPIM Transfers with delays between bytes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79147/spim-transfers-with-delays-between-bytes</link><description>I am trying to communicate with a sensor that has some interesting timing requirements for reading information from it, it requires ~100us delays between the address to read and the next clock cycle to read out the data. I haven&amp;#39;t figured out how to implement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Sep 2021 10:28:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79147/spim-transfers-with-delays-between-bytes" /><item><title>RE: SPIM Transfers with delays between bytes</title><link>https://devzone.nordicsemi.com/thread/327751?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 10:28:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d53d811-c6cc-4ec1-85cc-220b3a818220</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If using a simple&amp;nbsp;nrf_delay_us() between the SPI transfers is not providing the needed time&amp;nbsp;accuracy, you would need to use the TIMER peripheral, and trigger the SPI transfer with PPI.&lt;/p&gt;
&lt;p&gt;We have some documentation around this here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/hardware_driver_spi_master.html#hardware_driver_spi_advanced"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/hardware_driver_spi_master.html#hardware_driver_spi_advanced&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>