Howdy Michal,

You want to count the pulses and generate pulses? I'd use the OMAP PWM lines.  You can either generate pulses using PWM mode, or use capture-compare mode to count things up.

Scott Ellis has some how-tos here: http://www.jumpnowtek.com/index.php?option=com_content&view=article&id=56&Itemid=63

Good luck!

Cheers,

Akram

On Fri, Nov 30, 2012 at 9:55 AM, Mipo01 <Mipo01@gmail.com> wrote:
Hi,
i am working on project and one of the part is to controlling the linear
actuator from LINAK. Basically the concept is that we have 4 wires when two
of them are for powering the motor and two are the relative output in form
of few pulses per revolution.
Now iam able to control motor with H-bridge but i am trying to figure out
how to read the output to determine where exaclty we are with actuator.
So I would like to ask for some suggestion how approach could be the fastest
and most simple to implement to have smallest delay between reading feedback
and controlling motor.

Thank you very much.

Best
Michal



--
View this message in context: http://gumstix.8.n6.nabble.com/Counting-pulses-tp4966195.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
VERIFY Test and improve your parallel project with help from experts
and peers. http://goparallel.sourceforge.net
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users