On 2/11/2019 12:59 PM, bobwolf wrote: > >> >> If you don't need a lot of encoders and the pulse rate is not too >> fast, you can use the PRU encoder logic. Note that you need to use >> the PRU direct input pins: >> >> http://www.machinekit.io/docs/man/man9/hal_pru_generic/#encoder > > wow fantastic > i have search the maximum rate of encoder input... but i haven't find it > where can i search?
The PRU task period is typically 3-5 uS, which would be a maximum count frequency of 200 to 300 KHz. I'd want a decente safty margin to avoid missed pulses and probably wouldn't want to have a count frequency over 50-75 KHz. Whether this is fast enough depends on your machine details (eg: encoder counts per revolution and your rapid speeds). -- Charles Steinkuehler [email protected] -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
