Hi Paolo! You could use libpruio <https://github.com/dtjf/libpruio> for pinmuxing. It also provides QEP features (A freq only, AB speed and position, as well as ABI impulse synced speed and position). Find installation instructions in the on-line documentation <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/ChaPreparation.html> .
Best regards. Am Dienstag, 25. September 2018 23:25:32 UTC+2 schrieb Paulo Sherring: > Hi, everybody! > I am having trouble trying to use machinekit, config-pin and a non default > pinmux state. > What I want to do is to configure P9_27 and P9_92 to be used by the > quadrature encoder peripheral and leave P9_25 alone. > If I use config-pin to configure it to qep, it disables by default pull > up, which I need, since I didn't include it in my custom PCB. > If I use a custom device tree to setup QEP, all pins are claimed and I > cant use P9_25 throgh machinekit, as IO. > I guess I could use a memdev like program to enable it by hand. I did it > in the past, but, I feel that it is the cheaters way to do it. > I never really understood device tree, it was always trial and error or > raw memory RW with me :/ > > In help is very welcome. > Thanks in advance. > Paulo Sherring. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ca550869-9c7a-4caa-b8d7-bb25ee2c6e53%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
