<?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>SPIS and PPI question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87691/spis-and-ppi-question</link><description>hello, 
 Im using nrf52840 Im trying to emulate a chip select signal for spi slave with gpiote and ppi. I used an active high signal as an event and a signal(cs) that is toggled on any event signal edge. i then connected the task and event using ppi.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 May 2022 09:28:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87691/spis-and-ppi-question" /><item><title>RE: SPIS and PPI question</title><link>https://devzone.nordicsemi.com/thread/366874?ContentTypeID=1</link><pubDate>Mon, 09 May 2022 09:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2283b3e9-9533-4dac-8248-0e7f4e6aef4e</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
[quote user=""] I used an active high signal as an event and a signal(cs) that is toggled on any event signal edge. i then connected the task and event using ppi. while testing[/quote]
&lt;p&gt;Exactly what event are you asserting the CS pin on? Maybe it would be easier if you showed me this part of your code?&lt;/p&gt;
[quote user=""] I notice that the cs pin takes a little more time than expected to toggle which corrupts data received by spis.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How much time is there between the event fires and the CS pin is asserted? Do you have a logical analyzer, could you share a trace that highlights this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>