Setting up Cape for BB Black

100 views
Skip to first unread message

Ryan Perez

unread,
Jan 31, 2020, 3:08:30 PM1/31/20
to Machinekit
Hello good people of the forum.
I am currently doing a project creating a five-axis CNC machine utilizing Stepper motors.I'm trying to use the BeagleBone Black revC with the Probotix PBX-BB rev 5.2 cape. I have seen that people have had success with the older versions of the PXB-BB but the gpio ports have been changed around. So I will have to either modify/write my own config files.

From examples I have seen, I do not understand how the gpio pin assignment is linked to the Gpio inputs that the cape is set up for. Are there any guides in assigning the gpio pins so they correspond to the location that my cape is asking for? When looking at the Novamill hal file the direction pin is set to 149 I understand the 100 refers to P8 but there are only 46 pins so how can the direction pin be set to 49? If someone could shed light on how the pin designation is connected to the actual physical pins that would be most helpful! I am also having trouble with the root folder password, Debian is telling me the default password is blank but this seems to not be true. I have tried the "machinekit" as well but no success

I have: bone-debian-9.11-Machinekit-ArmHF-2019-12-16-4gb.img installed on my EEMC

Jeff Pollard

unread,
Feb 1, 2020, 12:50:26 PM2/1/20
to Machinekit

Hi,

  I can't say for sure, but it may be PRU pins that are being described?
  If you take a look at the following file:
  you can find some of these pins.  For example:

    P9_27_PRU="147"
    P9_27_GPIO="115"
    P9_27_PIN="gpio"
    P9_27_PINMUX="default gpio gpio_pu gpio_pd gpio_input qep pruout pruin"
    P9_27_INFO="gpio3_19 default gpio3_19 gpio3_19 gpio3_19 gpio3_19 eqep0b_in pru0_out5 pru0_in5"
    P9_27_CAPE=""

or

    P9_25_PRU="149"
    P9_25_GPIO="117"
    P9_25_PIN="audio"
    P9_25_PINMUX="default gpio gpio_pu gpio_pd gpio_input qep pruout pruin"
    P9_25_INFO="gpio3_21 default gpio3_21 gpio3_21 gpio3_21 gpio3_21 eqep0_strobe pru0_out7 pru0_in7"
    P9_25_CAPE=""

   147 here is linked to 9_27, and 149 to 9_25

    I see in the novamill hal file I found online (your link did not work), Pin 142, 143, 144, 145, 149... are used which would correspond to pins 42,43, 44... on the P8, and these would be in the LCD pinout region on the bus.
   Generally these pins are reserved for the LCD, so my guess is that the number 149 does not refer to pin 49 of P8, rather a different numbering scheme, perhaps like the one I mention above.

Jeff
Reply all
Reply to author
Forward
0 new messages