Hello Stewart!

Am Montag, 20. Juni 2016 21:29:43 UTC+2 schrieb Stewart:
>
> (None of the libpruio built-in examples deal with rapid sampling or large 
> amounts of data.)
>

Next libpruio version contains an example called rf_file, which will 
exactly do want you target. It uses the ring buffer mode to fetch data and 
writes them to file(s). It will be published when kernel development (>4.x) 
isn't experimental any more and I can start to write install instructions.

But you can use it today. See the following thread for details: 
https://groups.google.com/forum/#!topic/beagleboard/kxxucJAci2c

Regarding sampling rate:

I was able to sample at 1.6 Mhz (one channel). But I wasn't able to fetch 
the samples from the FiFo at that speed. That means the number of samples 
is limited to 256. (I didn't try DMA yet.)

The maximum transfer rate for the FiFo is different on each chip. My boards 
reach about 240-250 ksps. I guess TI specifies 200 ksps to be on the save 
side. Targeting 800 ksps is a waste of time, for that target you'll need 
additional hardware.

You can tune libpruio for higher sampling rates by adapting the number 5000 
to your needs (period in [ns]) in the code of the  following link 
https://groups.google.com/d/msg/beagleboard/kxxucJAci2c/5nwXwyXZJQAJ

BR

-- 
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/6cb1f9f0-6f10-41ec-a580-e58333e2385a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to