<?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>Change PPI Controlled SPI Message?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24911/change-ppi-controlled-spi-message</link><description>Hi, 
 I am currently implementing an application which uses PPI to control SPI transaction when a HIGH-LOW transition is detected on a GPIO pin. 
 I first set up the transaction using nrf_drv_spi_xfer with RAM TX and RX buffer, also with the NRF_DRV_SPI_FLAG_HOLD_XFER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Sep 2017 13:54:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24911/change-ppi-controlled-spi-message" /><item><title>RE: Change PPI Controlled SPI Message?</title><link>https://devzone.nordicsemi.com/thread/98113?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 13:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd448c00-1a71-4404-90b1-366592f60ae5</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;And yes you should use repeated transfer. Each transaction should still be triggered by PPI. See the Repeated transfers section &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/hardware_driver_spi_master.html?cp=4_0_0_2_12"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PPI Controlled SPI Message?</title><link>https://devzone.nordicsemi.com/thread/98112?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 13:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30801432-7450-45d7-8715-ec2ac202c3bd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;That I don&amp;#39;t know. If you want to share a complete project that reproduces the behavior I can try to test it here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PPI Controlled SPI Message?</title><link>https://devzone.nordicsemi.com/thread/98111?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 13:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:661a0875-64e3-4c4e-af7f-efcc5c1803b4</guid><dc:creator>Fan Jiaming</dc:creator><description>&lt;p&gt;Also, do you have any idea why changing the buffer content in the SPI handler doesn&amp;#39;t work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PPI Controlled SPI Message?</title><link>https://devzone.nordicsemi.com/thread/98110?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 13:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dfa007d-36b6-4a79-ba4b-e312987b18db</guid><dc:creator>Fan Jiaming</dc:creator><description>&lt;p&gt;Oh, it didn&amp;#39;t occur to me I could implement this function using that flag. Should I also include the repeated transfer flag, as I am not sure about what repeated transfer does? Will the transaction keeps going on without PPI triggering a new task until you stop the transaction explicitly in the SPI handler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change PPI Controlled SPI Message?</title><link>https://devzone.nordicsemi.com/thread/98114?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 12:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdec89c0-71e9-4774-a1f2-3849f91bff2f</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sounds like you want to use repeated transfers with the NRF_DRV_SPI_FLAG_TX_POSTINC flag. Have you looked into that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>