Make my own EtherCAT device 6. Stepper motor driver

Поделиться
HTML-код
  • Опубликовано: 21 авг 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...

Комментарии • 5

  • @mrengstad
    @mrengstad 7 месяцев назад +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 7 месяцев назад

      One has todo atomic_load/store/add/sub

  • @samuelt321
    @samuelt321 7 месяцев назад

    Thanks for showing your progress!

  • @johntrevick2060
    @johntrevick2060 7 месяцев назад

    nice! looking forward to updates

  • @tecnobs3d
    @tecnobs3d 7 месяцев назад

    Du gör framsteg