<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>BBB - High speed data acquisition and web-based UI</title><link>/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><description>IntroductionThis was a fun yet initially challenging experiment, to find a convenient way to read in data at a reasonably high speed on a BeagleBone Black. This photo shows the results from a mobile, showing a couple of sampled waveforms (100kHz and </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Mon, 17 Aug 2015 08:57:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Shabaz. This post has made me interested to use BBB as a data acquisition device. I have never used BBB and am excited to us it looking at its capability. As already mentioned above, I wanted to know how I can use the inbuilt ADCs of BBB board to achieve a data rate of 1MBps(or is it not possible). What if I don&amp;#39;t want to use the web browser and wanted to write in the inbuilt memory or an external SDcard interface. My intention is to make a data acquisition and storage application using BBB at a&amp;nbsp; minimum &lt;span&gt;rate of 1 MSPS and log the data (without any data loss, I will be storing superposed sinusoids of frequency not more than 400 KHz). Is this possible with the BBB only without using any external ADC or hardware. If not what configuration do I need to have.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Thanks &lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 19 Jul 2015 12:45:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:b0bc65b9ecdc4307bd967592f00e340a:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; Sir I am new to beaglebone black and I want to work on a similar idea of making a weather logger. Can you suggest some tutorials from which I can learn how to run the interface on the bbb landing page.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Tue, 18 Feb 2014 13:07:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi shabaz,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why do you not directly configure the ADC registers with PRU, store on FIFODATA and sharedMem instead, and went around with the device tree?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 29 Dec 2013 15:37:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>morgaine</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If it&amp;#39;s OK with everyone here, I&amp;#39;m going to request in F&amp;amp;S that this comments thread be split at the point where we diverged from discussing shabaz&amp;#39;s excellent blog article and began talking about OSHW.&amp;nbsp; I suggest that beyond the split point it be turned into a new thread under Open Source Hardware, maybe titled &amp;quot;OSHW commercial dependencies&amp;quot; or something like that, please suggest better titles if anyone has one.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There are a few candidate posts at which to make the split that I can see, although it&amp;#39;s fuzzy as the two topic became intermingled.&amp;nbsp; Although the OSHW topic began earlier and &lt;strong&gt;&lt;em&gt;the blame lies entirely on me&lt;/em&gt;&lt;/strong&gt; (not on selsinork), I think the cleanest point to make a split is at the post:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;selsinork Dec 28, 2013 1:54 PM (in response to Morgaine Dinova)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Would this be OK?&amp;nbsp; And sorry for the meander, shahaz. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-91406b05-8fd4-4a24-94fa-86e27d375d3e/6064.contentimage_5F00_403.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Morgaine.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Wed, 20 Nov 2013 18:14:37 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Shabaz - I am hoping to recreate this project, however I am having some trouble understanding how you set everything up. Is there anyway I could get some help?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Thu, 15 Aug 2013 12:23:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I&amp;#39;m a little confused as to how you set the LCD_DATA* pins to be linked as PRU*_R31[]. I can&amp;#39;t tell by looking at the code provided. Can someone please explain to me or link me to somewhere that describes how to do so?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 04 Aug 2013 10:51:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>bwelsby</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;FYI you don&amp;#39;t need to recompile the device tree to disable the HDMI you can add the following to the optargs in uEnv.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I found this&lt;a class="jive-link-external-small" href="http://circuitco.com/support/index.php?title=Weather_Cape_Work-Around" rel="nofollow ugc noopener" target="_blank"&gt; here&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 04 Aug 2013 10:17:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>bwelsby</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;Excellent work!.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I thought the PRUs had a 16bit parallel capture mode or are all the pins not available on the BBB?&amp;nbsp; (need to consult the docs) section 4.5.2.2.3.2 of the tech ref &lt;a class="jive-link-external-small" href="http://elinux.org/File:Spruh73c.pdf" rel="nofollow ugc noopener" target="_blank"&gt;spruh73c.pdf&lt;/a&gt;&lt;/p&gt;&lt;p&gt;One thought I had was to use both PRUs to capture alternate bytes/words but that was just a thought, again are all the pins available?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 04 Aug 2013 10:03:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>Former Member</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;I&amp;#39;m curious if you considered using the onboard ADC ?&amp;nbsp; At first glance it looks capable, but maybe not fast enough ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;The underside was more untidy!&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;lol.. you really should consider setting up to build your own pcbs for this stuff&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;and the local Maplin store doesn’t sell any 3.3V-compatible logic to divide by two!&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Haven&amp;#39;t used maplin in years, but have they really became so crap that they don&amp;#39;t sell a simple 4013 or 74HC74 in the shops anymore ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyway, in the abscence of an oscillator of the frequency you want, there are various simple programmable oscillators like the DS1077 or LTC6903/4 that are useful to have available for general prototyping work. They&amp;#39;ll never have the accuracy of a proper fixed frequency crystal oscillator, but are extremely useful none the less as they allow you to quickly evaluate different frequencies. The price tag is rather more acceptable than a proper function generator too &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-91406b05-8fd4-4a24-94fa-86e27d375d3e/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 04 Aug 2013 10:02:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>morgaine</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;In your original &lt;a class="" href="https://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/05/22/bbb--working-with-the-pru-icssprussv2"&gt;&lt;strong&gt;bbb--working-with-the-pru-icssprussv2&lt;/strong&gt;&lt;/a&gt; article, I recall that you said &amp;quot;There are 16 pins available for input in the fast mode, and 15 for output.&amp;quot;&amp;nbsp; Does this mean that 8 GPI inputs can be read by PRU1 and the other 8 by PRU2?&amp;nbsp; If so, could the two PRUs&amp;nbsp; be run in lockstep to sample all 16 bits at once and avoid the need for SAH altogether?&amp;nbsp; That would be simpler, faster and cheaper than using an external 16:8 selector, so if the other PRU is unused it might be an all-round better approach for gaining more ADC width.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - High speed data acquisition and web-based UI</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---high-speed-data-acquisition-and-web-based-ui</link><pubDate>Sun, 04 Aug 2013 08:48:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:91406b05-8fd4-4a24-94fa-86e27d375d3e</guid><dc:creator>morgaine</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;After your I2S audio DAC article, I was wondering when the ADC one would appear. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-91406b05-8fd4-4a24-94fa-86e27d375d3e/contentimage_5F00_2516.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In addition to SDR, I&amp;#39;m interested in ADC functionality for the &lt;strong&gt;&lt;a class="jive-link-thread-small" href="https://www.element14.com/community/thread/24522/l/multifunction-instrument-based-on-beaglebone-black?start=15&amp;amp;tstart=0"&gt;multifunction instrument&lt;/a&gt;&lt;/strong&gt; idea.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Since you pointed out that:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;the KNJN board is not optimal for several reasons, and&lt;/li&gt;&lt;li&gt;you&amp;nbsp; also want more ADC width and speed for the future, and&lt;/li&gt;&lt;li&gt;the PRU has plenty of speed in reserve, but&lt;/li&gt;&lt;li&gt;the number of PRU-connected GPIs is limited,&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;these four factors seem to combine towards using just 8 GPIs to read in bytes from an external 16:8 selector that samples an ADC of up to 16 bits wide and runs a lot faster.&amp;nbsp; Because the PRU triggers sampling, only one half of the 16 bits would need to sample and hold while the PRU gets around to reading in the other half, thus saving us an 8-bit register while also allowing the ADC to run faster because its sample acquisition time is overlapped with the PRU read time.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Or, at the cost of SAH on all 16 bits, the sampler could be fully external and asynchronous w.r.to the PRU&amp;#39;s cycle period to give the ADC even more acquisition time, although I&amp;#39;m in two minds about whether this helps since that might require the addition of under-read logic to tell the PRU that a sample was missed..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Maybe it&amp;#39;s too early to be thinking about this without a coffee. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-91406b05-8fd4-4a24-94fa-86e27d375d3e/contentimage_5F00_403.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15890&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>