<?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>ADC + SPI + PPI + TIMER - 500khz+ data rate required</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115331/adc-spi-ppi-timer---500khz-data-rate-required</link><description>I have a device on my desk that performs the data transfer I need, so I know it&amp;#39;s possible. I&amp;#39;ve attached a screenshot of the successful data transfer. 
 
 I tried to replicate the setup using a 2-byte buffer with PPI and Timer1. On the oscilloscope,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Oct 2024 13:04:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115331/adc-spi-ppi-timer---500khz-data-rate-required" /><item><title>RE: ADC + SPI + PPI + TIMER - 500khz+ data rate required</title><link>https://devzone.nordicsemi.com/thread/505895?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 13:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d18f56c7-7f70-4a1e-a403-69013cc1bbde</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Well &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/spi.html#ariaid-title16"&gt;you can get more than that with SPI&lt;/a&gt;, so I guess that is an option. If you really want a high datarate, you can also look into QSPI.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC + SPI + PPI + TIMER - 500khz+ data rate required</title><link>https://devzone.nordicsemi.com/thread/505713?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 11:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ead8eb5-2fe4-4553-b055-432305fa29cb</guid><dc:creator>jtf</dc:creator><description>&lt;p&gt;Any solution is acceptable as long as the 500 kHz data rate is maintained. The code I posted &amp;quot;works,&amp;quot; but it only stores the data in 2-byte chunks, essentially losing all of it because there is no CPU time to copy it to a larger buffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC + SPI + PPI + TIMER - 500khz+ data rate required</title><link>https://devzone.nordicsemi.com/thread/505666?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e77ee8f2-b491-4999-a538-b27ae82e91a7</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Still not sure if I understand.&lt;/p&gt;
&lt;p&gt;Do you want to achieve the same thing with just PPI, without using an SPI driver?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC + SPI + PPI + TIMER - 500khz+ data rate required</title><link>https://devzone.nordicsemi.com/thread/505608?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 14:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:129d4054-c489-4d67-af9c-9e64183172a0</guid><dc:creator>jtf</dc:creator><description>&lt;p&gt;The device (which has an nRF52840) is communicating with the ADC using 32MHz SPI. The yellow trace represents the clock signal, the green trace shows the data, and the blue trace is the CS pin, which needs to be toggled between each 16-bit transfer. I&amp;rsquo;m not sure what model the ADC is, but the one I&amp;rsquo;m using requires the CS pin to be toggled.&lt;/p&gt;
&lt;p&gt;I am studying the &lt;code&gt;NRFX_SPIM_FLAG_RX_POSTINC&lt;/code&gt; flag to see if it could help me here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC + SPI + PPI + TIMER - 500khz+ data rate required</title><link>https://devzone.nordicsemi.com/thread/505513?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 10:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57257563-892e-4bc3-a758-9b5a8c6a9fb9</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;I have a device on my desk that performs the data transfer I need, so I know it&amp;#39;s possible. I&amp;#39;ve attached a screenshot of the successful data transfer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Could you expand a bit on this part? What is this device, and what protocols is it using to do this data transfer?&lt;/p&gt;
&lt;p&gt;Or is the idea that you do not know what it is doing precisely?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>