<?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>SPI interrupt example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93001/spi-interrupt-example</link><description>Since sensor.h API in Zephyr does not support reading hw FIFO, I am planning to use SPI driver to read the hw FIFO on received an interrupt when FIFO has data. 
 Is there any example in Zephyr using SPI with ISR? I am using the latest NCS V2.1.0 on a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Oct 2022 13:04:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93001/spi-interrupt-example" /><item><title>RE: SPI interrupt example</title><link>https://devzone.nordicsemi.com/thread/392842?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 13:04:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4f1c20-bb7e-44d3-9643-1d220a7144fa</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Can you open new DevZone ticket about this, since it&amp;#39;s not related to the initial question (SPI interrupt sample)?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI interrupt example</title><link>https://devzone.nordicsemi.com/thread/392737?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 06:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c49abfb-f5dd-44f8-9f97-bfb92531c2f3</guid><dc:creator>jchan12345</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;Can PPI be used to establish a pipe from a SPI output to an UART input??&amp;nbsp; &amp;nbsp;PPI does not need CPU intervention, so it does not require CPU to read SPI and then write to UART.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;JC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI interrupt example</title><link>https://devzone.nordicsemi.com/thread/391432?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 12:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b124381-0f5d-4a25-8bf1-7b8a22ce4b2f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Check out these samples:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/too1/ncs-spi-master-slave-example"&gt;https://github.com/too1/ncs-spi-master-slave-example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/simon-iversen/ncs_samples/tree/master/spi_slave_and_master_ncs_v200"&gt;https://github.com/simon-iversen/ncs_samples/tree/master/spi_slave_and_master_ncs_v200&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NCS v2.0.0 are used in the samples above, so it should not require too much work migrating to NCS v2.1.0&lt;/p&gt;
&lt;p&gt;One difference between NCS v2.0.0 and v2.1.0 is that&amp;nbsp;the devicetree label property has been deprecated. You should use node label instead, and use DEVICE_DT_GET to get the device instead of device_get_binding, see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/support-private/support/297034#permalink=798418"&gt;https://devzone.nordicsemi.com/support-private/support/297034#permalink=798418&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>