On 3/25/2018 5:21 AM, Alexander Rössler wrote: > >> I got the encoder working, meaning that velocity and raw_counts are > displayed correctly, but unfortunately, count and position aren't updated. > > In my setup I only use A and B index pins with counter-mode 0, the index > pin is set to 17, which is not available on the BBB. In the description, I > can read that setting the different index modes is not supported as of now > (index-enable pin). > > So I wonder, is there a way to use the PRU encoder without an index pin?
The PRU encoder logic does not require an index signal to function, uou only need to have an index signal if you are trying to do homing to the index pulse. If you are not using the index pulse, make sure the index input pin does not change, or just assign it to a PRU input that does not exist (and always reads back 0), pins 17-29. -- 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.
