Skip to content

Instantly share code, notes, and snippets.

@zenom
Created January 9, 2020 01:16
Show Gist options
  • Save zenom/1a8a4f96289d885ff76a68ac03b59ca7 to your computer and use it in GitHub Desktop.
Save zenom/1a8a4f96289d885ff76a68ac03b59ca7 to your computer and use it in GitHub Desktop.
SENT: M122
READ: X Y Z E
READ: Address 0 0 0 0
READ: Enabled false false false false
READ: Set current 800 800 800 800
READ: RMS current 795 795 795 795
READ: MAX current 1121 1121 1121 1121
READ: Run current 25/31 25/31 25/31 25/31
READ: Hold current 12/31 12/31 12/31 12/31
READ: CS actual 12/31 12/31 12/31 12/31
READ: PWM scale 14 14 14 14
READ: vsense 1=.18 1=.18 1=.18 1=.18
READ: stealthChop true true true true
READ: msteps 16 16 16 16
READ: tstep max max max max
READ: pwm
READ: threshold
READ: [mm/s]
READ: OT prewarn false false false false
READ: OT prewarn has
READ: been triggered false false false false
READ: off time 3 3 3 3
READ: blank time 24 24 24 24
READ: hysteresis
READ: -end -1 -1 -1 -1
READ: -start 1 1 1 1
READ: Stallguard thrs 60 60 0 0
READ: DRVSTATUS X Y Z E
READ: stst * * * *
READ: olb
READ: ola
READ: s2gb
READ: s2ga
READ: otpw
READ: ot
READ: 157C
READ: 150C
READ: 143C
READ: 120C
READ: s2vsa
READ: s2vsb
READ: Driver registers:
READ: X 0xC0:0C:00:00
READ: Y 0xC0:0C:00:00
READ: Z 0xC0:0C:00:00
READ: E 0xC0:0C:00:00
READ:
READ:
READ: Testing X connection... OK
READ: Testing Y connection... OK
READ: Testing Z connection... OK
READ: Testing E connection... OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment