Hi Larry! I made performance tests with libpruio, toggling a GPIO pin in open and closed loop control from the ARM CPU (measuring the output by an eCAP pin). On a vanilla system (kernel 3.8) the typical speed is between 120 and 600 kHz, depending on the way how to control the IO. (In rare cases the speed goes down to 25 kHz, when the CPU is heavily loaded by other software, ie. an interrupt.)
So it shouldn't be an issue to realize a 200 Hz closed-loop control application. (Of course, it depends on the number of outputs you want to control and the mathematics/computations.) As a rule of thumb, I use for controller frequencies - up to 10 kHz the ARM CPU and - above (or for hard-realtime requirements) PRU-0. Once I configured the IO part with libpruio on PRU-1, I can use it either way. I just port the controller software later from ARM to PRU-0, when necessary. 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.
