2017-10-11 01:50 PM
Hi,
In this document:
The EL_POS register is claimed to be written when the motor is stopped (remark WS).
The section 11.1.2 says: 'Any attempt to write the register when the motor is running causes the command to be ignored and the CMD_ERROR flag to rise'
But when I write EL_POS when the motor is stopped ( the motor is NOT running), the command is ignored and the CMD_ERROR flag rises too. I have done some experiments, and found that the EL_POS register could be written only when the motor is in HiZ state.I have no idea if it is my fault or the document is wrong. Any suggestions would be appreciated. Thank you.#powerstep01 #el_posSolved! Go to Solution.
2017-10-27 04:49 AM
The register can only be written when the device is in high impedance.
2017-10-27 04:49 AM
The register can only be written when the device is in high impedance.
2018-02-04 12:20 AM
So the documentation is incorrect as ile ile suspected. It incorrectly states that the condition is that the motor be stopped, when in fact the condition is that the driver be in HiZ state.
Motor stopped is indicated by the MOT_STATUS bits in the STATUS register when in fact it is the HiZ bit that is relevant.
That should be corrected.