> > > The PRU encoder requires use of the direct PRU input pins as detailed in > the man page link provided earlier. > > The pinmux is required to be set to the proper mode before running the > hal_pru_generic driver (via device-tree overlay or something like the > config-pin utility). > > > ok i've read the page from top to down now... ;-) i must study the beaglebone pinout and the pin config register...
is there an error in the page? stepper pin(output) and encoder pin(input) are input? Examples: 0811 = GPIO on P8, pin 11 811 = GPIO on P8, pin 11 (identical to above) 1811 = PRU direct output on P8, pin 11 2927 = PRU direct input on P9, pin 27 encoder section: A-pin (u32 input) PRU direct input pin to use for the A signal stepper section: step_pin (u32 input) I/O pin to use for the step output thank's Roberto -- 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.
