analogdevicesinc / TMC-API

TRINAMIC's IC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ramping down in velocity mode using TMC5160

hajilisamir opened this issue · comments

Hi all,

I am using TMC5160 in my project. I am using velocity mode and I have acceleration and deacceleration profiles.

In Velocity mode it accelerates using the acceleration profile. However, when I send VMAX=0 to stop, it does not stop according to the deacceleration profile. Deacceleration profile is respected only in Position mode. How can I correctly use it in the Velocity mode?

How I start movement in Velocity mode for ex:
VMAX = 5000

How I stop:
VMAX = 0

Thank you in advance
Samir

Solution: AMAX is the acceleration and deceleration value for velocity mode.