2021-09-21 05:13 AM
Hello,
I am using L6474 drive to drive the stepper motor and I am having issues as mentioned below.
In status register the UVLO,TH_WRN,TH_SD and OCD flags are active low as mentioned in data sheet.
In this the UVLO flag is set by undervoltage lockout or reset events (includes power on). So, when I read the status register the UVLO flag is always setting i.e. 0 is this the error occurred due to undervoltage only and whether it resets when I read status register ?
The NOTPERF_CMD and WRONG_CMD are always high. Why it is not resetting when I read the status register ?
2021-09-21 08:48 AM
Hi @Community member,
The GetStatus command returns the current Status register value and then resets the STATUS register warning flags.
To read the STATUS register reset you must send a second GetStatus command.
2021-09-21 09:54 PM
Hi @Cristiana SCARAMEL
In both the cases it is showing the same value.
And I am getting the UVLO error continuously after giving proper voltage also.
2021-09-22 01:33 AM
Hi @Community member,
During power-up the device is under reset until the following conditions are satisfied:
Are you sure all three conditions are met?
2021-09-22 11:11 PM
Hi @Cristiana SCARAMEL
We attached a PIC of drive error which is getting please find it below.
As You mentioned we checked the above three points are coming correctly.
We are able to rotate the motor with drive but we are getting that error continuously.
We have enabled only four errors in Alarm_EN register.
2021-09-24 08:52 PM
Hi @Cristiana SCARAMEL
We are waiting for the response.
Thank You
2021-09-27 01:01 AM
Hi @Community member,
please share the SDI and SDO waveforms when you send the GetStatus command and the returned status register value.
Also, did you configure the L6474 parameters of the control system properly?
You can refer to the Application Notes AN4158 for the driver parameters setup.
2021-10-12 02:23 AM
Hi @Community member any updates about you communication issue?