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.