Getting GRBLHal working on SKR Pro 1.2

Hi all,

I’m working on getting the GRBLHal firmware for the SKR Pro 1.2 working. So far, I have it flashing nicely, and I can connect to the controller using gsender, and I’m able to move the steppers, so the basics are good including the 2209 trinamic drivers. Limit switches are showing as triggered too.

So on to now getting ALL of it working :slight_smile:

I’ve realised that the map of the skr for the GRBLHal firmware seems to be using the SKR Pro 1.1 layouts, and as such it’s noting that there are some IRQ double ups on some of the limit switches (It notes that “you cannot use the E1 input pin due to conflict with the X limit switch IRQ. Using E2 input instead”).

From what I can see the crossover here seems to be when using stallguard, that is the only time that the IRQ gets reused.

I know that I need basically all 6 of the limit switch plugs on the board for the lowrider 3 (X, Y1, Z1, Y2, Z2 and probe), and given I’m using the limit switches, I wouldn’t be using stallguard, so I should just be able to edit the map accordingly to suit the limit switches I have then?

I’m only just getting my head around working with pin mapping and the like, so going really slow on this, with about 15 different tabs open to refer back and forth lol.

1 Like

This isn’t really common around here at all, but the PrintNC uses it as its standard controller. Maybe that’d be a good place to ask if no one here is able to help you.

1 Like

Worked on the pin mappings all night, and ended up finding that even with all inputs having unique pin IRQ’s I still had some issues compiling.

Ended up going the path of least resistance, and moved my probe and limit switches to match the pin mappings, rather than move the pin mappings to match the original LR3 layout.

Now have it set up and running nicely, speaks to gsender well, just need to tweak the movement settings now (microstepping, travel resolution etc).

That should then give me a full screen for controls, with xbox controller input etc, looking forward to the set up continuing smoothly!