<?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>how read parallel 8 bits data  in pins and write to RAM the fastest?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25465/how-read-parallel-8-bits-data-in-pins-and-write-to-ram-the-fastest</link><description>There are parallel 8 bits input to nrf52832 GPIO pins,I want to read the data from the pins and writ it to a RAM.how to do read the data in one CPU clock?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Mar 2018 09:51:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25465/how-read-parallel-8-bits-data-in-pins-and-write-to-ram-the-fastest" /><item><title>RE: how read parallel 8 bits data  in pins and write to RAM the fastest?</title><link>https://devzone.nordicsemi.com/thread/122997?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 09:51:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2da4dc6c-5d52-45b5-9a8e-ea3ce1476e30</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Shift operations, as well as integer arithmetic operations, all run in a single clock cycle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This assumes that the data you want to shift is located in a register, so you have to take into account the time needed to move the data into the register first.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how read parallel 8 bits data  in pins and write to RAM the fastest?</title><link>https://devzone.nordicsemi.com/thread/122377?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 02:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89e0cbde-808c-46ee-af6f-f405f73a8784</guid><dc:creator>chenlmm</dc:creator><description>&lt;p&gt;How long is shifting 1bit operation ? I want catch the&amp;nbsp; data from GPIO&amp;#39;s 8bits ,when another gpio input signal (8Mhz) rise edge come.Can you get me an code or help ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how read parallel 8 bits data  in pins and write to RAM the fastest?</title><link>https://devzone.nordicsemi.com/thread/100358?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 08:06:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11d82494-e113-4e5c-8845-27413af4e6cb</guid><dc:creator>chenlmm</dc:creator><description>&lt;p&gt;I have getted the answer,thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how read parallel 8 bits data  in pins and write to RAM the fastest?</title><link>https://devzone.nordicsemi.com/thread/100357?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 06:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:496e6005-3bbe-4cfe-bc46-6d07fa533f5a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;on the nRF52832 you can&amp;#39;t read the peripheral in one CPU clock. The APB runs at 16MHz and reads always stall the processor to wait for the bus.&lt;/p&gt;
&lt;p&gt;You basically asked this question yesterday and you can&amp;#39;t do what you want. You can&amp;#39;t read 16MHz parallel data into the chip, not via DMA, not via clever code, not via assembly. As was pointed out yesterday as well, there&amp;#39;s nowhere near enough resources to hold that amount of data, all the memory in the entire chip could contain just over 10ms of data at that rate and that&amp;#39;s if nothing else was using memory. Nor could you send anything like that amount of data over bluetooth.&lt;/p&gt;
&lt;p&gt;So if you really need to interface with a chip churning out 16MHz 8 bit parallel data, you are trying to do it using the wrong ic, the nRF is designed for low power bluetooth operation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how read parallel 8 bits data  in pins and write to RAM the fastest?</title><link>https://devzone.nordicsemi.com/thread/100359?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 03:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:111e9e75-4ee0-48a9-a312-d3186e968d30</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;This is the fastest way but not in 1 clock,  not even if you write it in assembly.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;uint32_t x = NRF_GPIO-&amp;gt;IN;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>