I am willing to interface, 12 bit 4 channel, Simultaneous Sampling High-Speed ADC (Analog AD7864) 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.
--
For more options, visit 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.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7f5699a8-b6ab-4e96-8fa2-18cc8343755e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtQV0Q0hEP9hy8%2BO%3DACnNU1pvjZOrLnt_xyoH-SDXLMNMQ%40mail.gmail.com.
Regards,John
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtQV0Q0hEP9hy8%2BO%3DACnNU1pvjZOrLnt_xyoH-SDXLMNMQ%40mail.gmail.com.
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 a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3879F2CA-33BA-444A-A055-A8C9290C6E3C%40gmail.com.
On Apr 15, 2017, at 6:49 AM, Rathin Dholakia <rathind...@gmail.com> wrote:Dear John,Thanks for your suggestion. Yes I was thinking in same line but bit differently. I am still a rookie in all this so have few queries in your approach if you can clarify.1. Instead of PRU as oscillator, I was planning to use one of the 4 onboard timers. Wont it be better? why didyou suggested PRU instead of Timer? some benefit?
2. My ADC chip (AD7864) has an inbuilt ring output ring register with circles among the outputs of 4 channels every time I pull down "READ" pin. So, do I still need a FIFO?
3. Why SPI? wont 12 Digital parallel pin faster? and BBB uses pin addresses then how is DMA different from normal GPIO access?
4. For utilizing PRU, are you recommending ASM coding or normal C coding using some library? I ham bit reluctant because of the assembly coding involved because I am not that good at it, yet!
Thanks a ton,RathinMy approach in brief for people's feedback:1. Use Timer Interrupt using on-board timer periodically for generating SOC2. Detect EOC using interrupt from ADC, initiate read cycle (ISR) for all 4 channels
3. second interrupt watching 1PPS from GPS, which would reset the Timer period (as disciplining sampling)
4. Use pipe for passing each buffer to DFT.5. Use the timing info from UART to time-stamp the DFT output
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtRkpx5AFTVS4TO%2BRxMExenSKSpHMHTPWCLydwXpZqFyAQ%40mail.gmail.com.
John
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtRkpx5AFTVS4TO%2BRxMExenSKSpHMHTPWCLydwXpZqFyAQ%40mail.gmail.com.
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 a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/2D2AC357-6D81-4E0A-8557-B77092C75B96%40gmail.com.
On Apr 15, 2017, at 1:06 PM, Rathin Dholakia <rathind...@gmail.com> wrote:- Use PRU1 for DMA using SPI via FIFO, and also to time tag!?- Use PRU0 as an timer (oscillator) for deriving SOCYes I will need a precise time,and I was misinformed about the timer so I was under impression that they are the clock source and hence driving force.Dear John,Thanks a lot for such a detailed insight!I will need some time to think and digest all but before I proceed let me rephrase what I have understood, so that you can correct me:
- Remaining ARM processor for DFT and other thingDid I get it correctly?
But then my question are:1. I still need to detect EOC and assert READ signals then how will my FIFO or DMA free my processor?
2. My PRU 1MHz, How can it be disciplined, it will still need an interrupt to detect 1PPS right?
3. And How can it replace Time data from GPS?
Pardon me if above question sound novice! I have not worked on it before.
Maybe you are suggesting something like this:
1. http://processors.wiki.ti.com/index.php/PRU_Linux-based_Example_Code#PRU_edmaConfig
Regards,
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtSHnv4-be-BL%2BiLfVqxiBhFGSKF-LHfpWMenr-pRHvw2Q%40mail.gmail.com.
John
John
Regards,John
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7f5699a8-b6ab-4e96-8fa2-18cc8343755e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Rathin A. Dholakia
"Dont GO through life, GROW through life"--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtQV0Q0hEP9hy8%2BO%3DACnNU1pvjZOrLnt_xyoH-SDXLMNMQ%40mail.gmail.com.
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 a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3879F2CA-33BA-444A-A055-A8C9290C6E3C%40gmail.com.
--Rathin A. Dholakia
"Dont GO through life, GROW through life"
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtRkpx5AFTVS4TO%2BRxMExenSKSpHMHTPWCLydwXpZqFyAQ%40mail.gmail.com.
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 a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/2D2AC357-6D81-4E0A-8557-B77092C75B96%40gmail.com.
--Rathin A. Dholakia
"Dont GO through life, GROW through life"
On Apr 16, 2017, at 6:20 AM, Rathin Dholakia <rathind...@gmail.com> wrote:
Dear John,
Ok, now I understood. So basically, I have to create a dedicated crystal based oscillator for time reference. I though you were telling to use PRU for that, sorry my bad.
Well, you can use the PRU as part of the PLL. Use the PRU to read the counter when the 1pps signal occurs. If the count is less than 1,000, increase the voltage from the DAC or decrease the DAC voltage if the count is higher than 1,000. The DAC voltage is controlling the VXCO (Voltage Controlled Crystal Oscillator). Typically the VXCO run at several MHz, you you need to divide that down to generate a 1MHz clock. The counter is reset to zero after reading the count.
Though I'll have to figure out some way to convert my parallel digital outputs in to SPI compatible serial signals and also how to control ADC, FIFO and SPI all to gather. but that I will search! and will post hereOnce again thanks and will tell you if there is some query.Apart from that Can you suggest some soultion to convert my parallel ADC output
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/44723400-4dd4-4911-a7bb-09bb8e96d0ee%40googlegroups.com.
John
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/44723400-4dd4-4911-a7bb-09bb8e96d0ee%40googlegroups.com.
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 a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/ZufgBytqkOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/52D25377-CCE3-4257-8665-2F9285EC8FDF%40gmail.com.
On Apr 16, 2017, at 1:55 PM, Rathin Dholakia <rathind...@gmail.com> wrote:Yes, I can setup a oscillator circuit, in fact my GPS board provides me 10 MHz oscillator output which is extremely stable, I can use that along with PRU (thanks for the tip).
And yes, completely agree, I am reconsidering my ADC choice, that would ease up my design many folds.And I am also trying out TI's 4.4-rt- kernel for reducing my overall latency.
I will document things here once I proceed a little, So others can also use it in future :)
I cant thank you enough, John!
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAJW6HtTGti_VSzHVaPC6yUBwP0U1YzUz12Hhb-2mLi1PR%3DWp0g%40mail.gmail.com.