L6470 - is it possible to track a given reference position profile precisely in real time?
..
..
Hi @GPern.1 and welcome to the ST community !
The L6470 has not an input to track a given position and basically each movement command has to finish before issuing a new one.
However I can suggest two different methods to achieve a good position tracking.
First method:
Send a GoTo command to move to the first position.
When a new target position is required, you can send the following command sequence:
Second method:
You can enter the step clock mode (see section 6.7.5 in the datasheet). In this case you can provide the step clock to move step by step the motor.
The direction is the one set by the StepClock command.
Monitoring the ABS_POS register you can track the position and close the loop.
Of course In this case the profile of acceleration/deceleration are no more calculated by the POWERSTEP01, since are controlled by the external STCK signal.
In other words the external microcontroller has to compute them to achieve the desired profiles and track the position.
If you find this post useful consider to mark it as “Best Answer�? by clicking the label below “Select as Best�?.
This will help other community members with a similar question to find more quickly the solution.
Have a good day !
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.