Am Mittwoch, 17. Dezember 2014 21:24:46 UTC+1 schrieb [email protected]: > > So, if I'm understandig it right, what I conclude is that with only one > ADC working, the maximum sample rate we can get is around 93 kHz. >
That's wrong. The above snippet is a closed loop control. Its output toggles at maximum 93 kHz. This means the controller runs at twice that speed (186 kHz). This is 200 kHz ADC sampling rate plus some time to check the value and switch the GPIO output. This additional time varies, depending on the load of the host CPU (interrupts handling network, grafics, keyboard, mouse, ...), as you can see in the differences between Minimum and Maximum values. If you're going to layout a controller, dimension it for the Minimum frequency (in this case 120 kHz = 2 * 60 kHz). 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]. For more options, visit https://groups.google.com/d/optout.
