Hi team, I followed JT's guide on RPi4 build on his uspace site and it completed without fuss albeit the poor wee cpu gets pretty hot during the building compilking activity.
And I have a basic gpio based hal file using the following.....
loadrt hal_pi_gpio dir=78855 exclude=32918520
# beware gpio 21 and 22 are still reversed, they control rpins 15&50 and are backwards almost everywhere in rpi docs
# easy to see and check with 'show pins hal_pi_gpio*
# tjp chg to 3 step dir types,plan on using gekco G540
# was loadrt stepgen step_type=5 ctrl_type=v
# make posn loop type
loadrt stepgen step_type=0,0,0
#net estop-out => parport.0.pin-01-out
net estop-out <= iocontrol.0.user-enable-out
net estop-out => iocontrol.0.emc-enable-in
# --- begin addf s
addf hal_pi_gpio.read base-thread
addf stepgen.make-pulses base-thread
addf stepgen.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
addf hal_pi_gpio.write base-thread
# --- end addf s
# i use GPIO 2,3,4 for xtep ystep zstep, thats rpin 3,5,7 resp
net xstep stepgen.0.step => hal_pi_gpio.pin-03-out
net ystep stepgen.1.step => hal_pi_gpio.pin-05-out
net zstep stepgen.2.step => hal_pi_gpio.pin-07-out
# i use GPIO 14,15,18 for xdir ydir zdir, thats rpin
net xdir stepgen.0.dir => hal_pi_gpio.pin-08-out
net ydir stepgen.1.dir => hal_pi_gpio.pin-10-out
net zdir stepgen.2.dir => hal_pi_gpio.pin-12-out
I am trying to scope the pins with my oscilloscope and i am seeing no action.
my goal is to evaluate this against my current mach3 system and see how they compare
any thoughts much appreciated. Thanks to the team who are behind this amazxing project.
cheers
Richard