I recommend that you look for a external ADC with a sample FIFO, then the samples are measured at predefined intervals and you could read them with the ARM processor and use the PRU for your timing requirements. I take it you will need a disciplined oscillator sync’d to the GPS 1pps, which can be done with the PRU. Using an ADC with SPI interface and FIFO means you could use DMA to transfer the samples, freeing up the CPU for more important work.
Regards, John > On Apr 14, 2017, at 12:46 PM, Rathin Dholakia <[email protected]> > wrote: > > Hello TJF, > > Thanks for your suggestion, to clarify my side further, let me elaborate. > > > My requirement is 256 (samples per Cycle) * 50(cycles, power frequency) * 6 > (channels) = 76.8 k SPS > > So I need overall 100k(rounded off) 100k sampling. > > And my input signal is between +- 10 Volts and I don't want to scale for > resolution purposes. Apart from that I need dedicated ADC for each channels > so I'll prefer separate ADC chip. > Does this make sense? Or I am wrong? > > Thanks > > On Friday, April 14, 2017, TJF <[email protected] > <mailto:[email protected]>> wrote: > Hi Rathin! > > Am Freitag, 14. April 2017 16:58:58 UTC+2 schrieb Rathin Dholakia: > I am willing to interface, 12 bit 4 channel, Simultaneous Sampling High-Speed > ADC (Analog AD7864 > <http://www.analog.com/media/en/technical-documentation/data-sheets/AD7864.pdf>) > to BeagleBone Black, and operate it at 100k sampling rate. My present > thoughts are to use header P8 Digital I/O pins to control the ADC as well as > to read the input data from the ADC (using interrupt(s) - EOC). I will also > do a DFT on the received data samples. > > Your target isn't very clear. Do you mean 100 k overall sampling rate (2 x 25 > k)? In this case you could use the internal ADC (up to 4 x 50 k sampling > rate, 0-1V8). Otherwise you'll need the external. > > Anyway, it should be possible when you fetch the samples by one PRU, and use > the other for DFT. Slow tasks can run on the ARM under Linux. > > Regards > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to a topic in the Google > Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe > <https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > <>beagleboard+unsubscribe@ > <mailto:[email protected]>googlegroups.com > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/7f5699a8-b6ab-4e96-8fa2-18cc8343755e%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/7f5699a8-b6ab-4e96-8fa2-18cc8343755e%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > Rathin A. Dholakia > "Dont GO through life, GROW through life" > > > -- > For more options, visit http://beagleboard.org/discuss > <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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CAJW6HtQV0Q0hEP9hy8%2BO%3DACnNU1pvjZOrLnt_xyoH-SDXLMNMQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/beagleboard/CAJW6HtQV0Q0hEP9hy8%2BO%3DACnNU1pvjZOrLnt_xyoH-SDXLMNMQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/3879F2CA-33BA-444A-A055-A8C9290C6E3C%40gmail.com. For more options, visit https://groups.google.com/d/optout.
