In my case, I'm going to bitbang the I2C to work with the ad7997 to sample 8 analog input. I don't have the choice the 8 input of the processor is already used for something else.
This will not be that difficult because the code to bitbang the I2C is available there : https://github.com/Rose-Hulman-ROBO4xx/1314-BeagleBone-Quadcopter/blob/master_rev2/code/ControlAlgorithm/quadcopter_apps/imu/imu.p My only problem is that for the moment the pru is not working with the kernel 4.1 . I will have to test that on the kernel 3.8 :( . Micka, Le sam. 3 oct. 2015 à 17:06, Lenny <leonhard.neuh...@gmail.com> a écrit : > here is a thread talking about it, in which you can also find my code > example among other info. > > > https://groups.google.com/forum/#!searchin/beagleboard/fast$20ADC/beagleboard/3AFiCNtxGis/RiWxHDiOWnMJ > > > On Saturday, October 3, 2015 at 5:01:26 PM UTC+2, Lenny wrote: >> >> Hi Rathin, >> just to let you know: The BBB ADC's can sample at 1.6 MHz. That is, if >> you multiplex the ADC on 8 inputs, each one of them can sample at 200kHz. I >> am not familiar with user-friendly libraries like libpruio, so I cannot >> tell you where they lose the time. But technically (e.g. by writing the >> assembler instructions), 200 kHz is definitely possible, so you could >> upgrade your project at a later moment without changing the hardware. The >> price to pay (at the moment) is a little more customized code. But seeing >> that people struggle already at 20kHz just hurts my eyes ;) >> Lenny >> >> -- > 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+unsubscr...@googlegroups.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 the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.