Hi all! I am trying to use the eQEP device driver, found here:
So, I could get the module loaded by echoing the device tree to cape manager. After disabling eMMC and HDMI, all 0-2 modules loaded OK.
I hooked up my encoder, which uses open NPN to the board, powering it up from the 5V onboard.
Since the output is open collector NPN, i needed to use pullup. So, i edited the dts file as follows:
0x0D8 0x32 /* P8_31 = GPIO0_10 = EQEP1_index, MODE2 /
0x0DC 0x32 / P8_32 = GPIO0_11 = EQEP1_strobe, MODE2 /
0x0D4 0x32 / P8_33 = GPIO0_9 = EQEP1B_in, MODE2 /
0x0D0 0x32 / P8_35 = GPIO0_8 = EQEP1A_in, MODE2 */
After compiling, installing and echoing it again to capemgr, the entry in sysfs is created as expected, but, when i read pinmux config, I read back 0X2A. After overwriting it with devmem, I also get again 0X2A. Can anyone give me any direction?
BeagleBone Black Element14
Thanks in advance!