Skip to main content
MYadw.1
Associate II
September 21, 2021
Question

Hello, I am using L6474 drive to drive the stepper motor and I am having issues as mentioned below.

  • September 21, 2021
  • 7 replies
  • 1281 views

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 ?

This topic has been closed for replies.

7 replies

Cristiana SCARAMEL
ST Employee
September 21, 2021

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.

"If you feel a post has answered your question, please click ""Accept as Solution"""
MYadw.1
MYadw.1Author
Associate II
September 22, 2021

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.

Cristiana SCARAMEL
ST Employee
September 22, 2021

Hi @Community member​,

During power-up the device is under reset until the following conditions are satisfied:

  • VS is greater than VSthOn (8.2 typ.)
  • VREG is greater than VREGth (2.8 V typ.)
  • Internal oscillator is operative

Are you sure all three conditions are met?

"If you feel a post has answered your question, please click ""Accept as Solution"""