<?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>nrf5340 interrupt speed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112380/nrf5340-interrupt-speed</link><description>Hello, I have a project sampling a ADC. It has a INT output signaling new data is ready to be read with max sampling rate of 125ksps. I am using the interrupt and then reading the data through SPI. I noticed the interrupt triggers late so I used your</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jul 2024 10:41:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112380/nrf5340-interrupt-speed" /><item><title>RE: nrf5340 interrupt speed</title><link>https://devzone.nordicsemi.com/thread/491807?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2024 10:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccf8a443-31f0-4e67-a660-31f77160fe19</guid><dc:creator>Domziy</dc:creator><description>&lt;p&gt;Thank you for the answer it works as intended. I used the&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/boards/nrf/nrfx"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/boards/nrf/nrfx&lt;/a&gt;&amp;nbsp;as a starting point&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 interrupt speed</title><link>https://devzone.nordicsemi.com/thread/490093?ContentTypeID=1</link><pubDate>Sat, 22 Jun 2024 19:41:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd07aaaa-9b76-4e15-b053-6e10747dfdb9</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;No possible with an interrupt handler function AFAIK.&lt;/p&gt;
&lt;p&gt;But the NRF5340 supports DPPI, which you could use to trigger TASKS_START in the SPIM perihperial directly from the GPIOTE peripherial IN event. Then you can either try to re-feed in the EVENTS_STARTED interrupt handler - that is the earlies time you can write the &lt;em&gt;next&lt;/em&gt; buffer location into the SPIM registers while a transfer is running. Or you can try using the EasyDMA List feature.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;No idea if that was supported in the zephyr SPI driver at all - you will likely need to use registers directly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>