Make my own EtherCAT device 6. Stepper motor driver

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 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/MetalMusings/MyOwn...

ความคิดเห็น • 5

  • @mrengstad

    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!

  • @samuelt321

    Thanks for showing your progress!

  • @johntrevick2060

    nice! looking forward to updates

  • @tecnobs3d

    Du gör framsteg