okay today i got the new sd card and flashed the same image on it and not i can assign the pins again with no error.
so i am going to wire it up and see if it works. (solder it on the back side of the beaglebone if i understood correctly) is the pinmux saved on the sd card or on the beaglebone? Am Mittwoch, 5. Oktober 2016 20:21:17 UTC+2 schrieb Sag ich Dir nich: > > yesterday i set the pins to input and qep and this day i wanted to make > sure i have done everything right by checking the pin modes and what do i > get? > > machinekit@beaglebone:~$ config-pin -q 930 > p9_30 pinmux file not found! > cape universala overlay not found > run "config-pin overlay cape-universala" to load the cape > machinekit@beaglebone:~$ config-pin overlay cape-universala > loading cape-universala overlay > bash: line 0: echo: write error: no such file or directory > error loading device tree overlay file: cape-universala > machinekit@beaglebone:~$ > > also the same with: config-pin 930 input > > so i flashed the backup onto the restored sd card and got the same > > > Am Dienstag, 4. Oktober 2016 22:09:24 UTC+2 schrieb Sag ich Dir nich: >> >> okay thanks >> >> Am Dienstag, 4. Oktober 2016 21:55:44 UTC+2 schrieb Charles Steinkuehler: >>> >>> No. The eQEP pins are only available on a few specific pins of the CPU. >>> >>> Refer to the pinmux spreadsheet I referenced earlier: >>> >>> >>> https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods >>> >>> >>> You *HAVE* to use the pins that have the eQEP*A and eQEP*B (where * is a >>> number from 0 to 2) available as a pinmux option. >>> >>> On 10/4/2016 2:28 PM, Sag ich Dir nich wrote: >>> > is it possible to just wire the encoder (5v) to P503 and set pins 931 >>> and >>> > 930 to qep? >>> > >>> > Am Dienstag, 4. Oktober 2016 18:18:48 UTC+2 schrieb Charles >>> Steinkuehler: >>> >> >>> >> On 10/4/2016 10:29 AM, Sag ich Dir nich wrote: >>> >>> so i want to use pin 4 (SCK) and 6 (MOSI) of P503 for eQEP encoder >>> >> inputs A >>> >>> and B. If i read correctly, those are pins P9.31 for SCK and P9.30 >>> for >>> >> MOSI. >>> >>> I set them to input like so: config-pin 931 input >>> >>> config-pin 930 input >>> >>> >>> >>> but how do i connect those pins to p9.92 and P9.27? >>> >> >>> >> You will have to physically connect the pins on the BBB (or CRAMPS) >>> P9 >>> >> header: >>> >> >>> >> Connect P9.42 to P9.30 >>> >> Connect P9.27 to P9.31 >>> >> >>> >> Once you do this, make sure you NEVER set more than one of the pins >>> >> wired together to be an output. >>> >> >>> >>> do i need to make sure the voltage don“t go above 3.3v? Because it >>> says >>> >>> SCK-5V and MOSI-5V >>> >> >>> >> If you connect the pins on the header-side, and hook your encoder >>> >> signals to the P503 pins, you can make use of the protection chip on >>> the >>> >> CRAMPS board and you can have 5V encoder signals. >>> >> >>> >> -- >>> >> Charles Steinkuehler >>> >> [email protected] <javascript:> >>> >> >>> > >>> >>> >>> -- >>> 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.
