1

I'm doing a project on a Beaglebone Black where i need 4 ADC channels to sample at 40khz each. I have installed the libpruio library and able to sample the ADC channels.

My question is how to set up timer interrupts on the board to get that specific sampling rate. I cannot seem to find good documentation to do so.

Makoto
  • 297
  • 1
  • 15

1 Answers1

1

Timer interrupts are slow. libpruio is designed to read the samples from a ring buffer. Configure sampling in RB mode and check the counter.

Find an examples and further information by googling for:

libpruio "rb_file"

TJF
  • 91
  • 1
  • 4