Thanks, TJF. This is a little world in itself, which we are slowly digesting. Some very neat engineering there. I would have loved to discover this on a Google search some 2 years back. Dunno why it did not show up when I searched for PRU controlled ADC in the past. I will get back with more questions either here or otherwise as we stumble on our goal with these new tools!
ich danke dir sehr :) Regards. On Thu, Jul 4, 2019 at 9:06 PM TJF <[email protected]> wrote: > Hi Vadde! > > Am Mittwoch, 3. Juli 2019 19:38:13 UTC+2 schrieb Venkatesh Vadde: >> >> The ADC is one of the most useful parts of the BBB, but unfortunately >> there is not a lot of support documentation in terms of working examples. I >> have a few questions, and would appreciate getting some clarity on them. >> > > Check out the libpruio docs > <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/index.html>. > It's not the official solution, but the most powerful, used in lots of > projects all over the world. It supports ADC up to 200 kSps. Faster ADC > seems to be possible, but not in real-time. libpruio is designed for > closed-loop-controllers. > > >> a) What are some good examples of using the BB-ADC with or without PRU >> intervention? It would be nice to see examples of high-rate continuous >> capture and also regular low-rate captures. Just for context, 100Ksps is >> high for us and 50Sps is low. >> > > Find examples in chapter "Examples". Adapt and compile the source to any > sampling rate or channel configuration meeting your needs. Supported > languages: C, FreeBASIC, Python. > > >> >> b) Is the BBB-ADC capable of synchronous (simultaneous or near >> simultaneous) multichannel capture? If we really lower the rate requirement >> down to 50-100Sps, can we THEN do multichannel data acquisition? Are there >> code examples for multichannel capture at any rate? >> > > The TSC_ADC_SS has a multiplexer for 8 channels [0-7]. On BBB channel 7 is > hard wired to the board power. Only 7 channels are available for custom > purposes. Switching between channels needs a minimum of 15 cycles@24MHz, > but you're free to add further delay cycles. libpruio provides a standard > configuration, but also supports full access to the sequencer steps. It > also provides full access to all hardware registers (experts only). This > features get handled form your source code. No need to adapt boot files, no > reboots necessary. > > Regards > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/297d52f5-f8d9-457c-abcd-cd4b4c03b4ec%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/297d52f5-f8d9-457c-abcd-cd4b4c03b4ec%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAHW0bcxn8oS-aTBCnTuJDP51mxLGn7R_ke-Uot7xm-iJ4pdF0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
