Make my own EtherCAT device 6. Stepper motor driver

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • The stepper driver generator shows up and makes some stepper motor sounds. The two big things this time have been setup of the timer for the stepper pulses and synchronizing the EtherCAT cycle with the linuxcnc servo-thread cycle. Thankfully I don't show much of that.
    github.com/Met...

Komentáře • 5

  • @mrengstad
    @mrengstad Před 7 měsíci +2

    Looking good! Note that "volatile" does not mean atomic access. For your variable, make use of atomic access instead - Use atomic_int for the type of variable and use the corresponding atomic primitives to set/modify the variable!

    • @platin2148
      @platin2148 Před 7 měsíci

      One has todo atomic_load/store/add/sub

  • @samuelt321
    @samuelt321 Před 7 měsíci

    Thanks for showing your progress!

  • @johntrevick2060
    @johntrevick2060 Před 7 měsíci

    nice! looking forward to updates

  • @tecnobs3d
    @tecnobs3d Před 7 měsíci

    Du gör framsteg