Am Samstag, 28. Januar 2017 01:38:31 UTC+1 schrieb Renzo Fabián: > > TJF, > > so I only need a C-code file like io_inputs.c (from libpruio examples)? >
Yes, just C code for the ARM. But io_inputs.c operates in IO mode (no accurate timing). Better use MM (measurement) or RB (ring buffer) mode. MM mode for a fixed number of samples, RB mode for continous sampling. > I need a fixed sampling rate (960 Sps each channel), calculate the 6 > phasors and save in a file. > Note: It' impossible to sample at exactly 960 Sps. The timing gets controlled by a clock running at 200MHz. The best approximation you can get is 960,001536002 Sps. If you aim to measure for a long period of time, you'll have to correct the difference. 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/912c6e99-5b90-4156-b95d-5cd4c5530e0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
