L6480 UVLO-Bit problem. Can't get it flip to 1.
Hello,
I use the EVAL6480 Board and the STM32 F446RE as MCU to communicate to the driver.
My Steppermotor [1] (not exactly this but very similar) has oer phase a resistance of 1,2 ohm.
My Problem is that the motor does not turn because the UVLO flag is always set to 0. How do I get it to 1?
The steps I did:
- Connect the SPI cables to my F446RE Board
- Connect the motor to the board
- Power the L6480 Board with 12V (Current about 9-11mA)
- Power the STM32F446RE Board
- Send the commands in the order:
- 0xC0 Reset the device
- 0x13 Set the OCD_TH (0x13) reg to 1V
- 0x1A Set the Config Reg CS_SD to 0 and UVLOVAL to 0
- Set KVAL_*** values all to 0x33
- 0x16 Set Microstep to Fullstep
- 0x58 Set device in StepClock mode with reverse DIR
- Read GetStatus -> Result 0xe103
- Read GetStatus again -> Result 0xe503
- Read GetStatus again -> Result 0xe503
- Toggle the STCK-Pin with 1KHz
After all the steps the motor does NOT turn.
The CONFIG Reg tells me that reg UVLO is set to 0. This means I have a "undervoltage lockout". The datasheet [2] (Site 30) says the gate voltage of all mosfets has to be over the turn on threshold.
I measured the voltage and
VCC = 7,5V and the voltage for the high side can be calculated with the formula:
Vboot - Vs
I can measure the Vboot voltage on the board. Its the voltage on C1. In this pdf [3] on site 5, the circuit diagram tells me that Vboot has a connection to C1 and BAV9 (D1 on the L6480 PCB).
So i measured the Vboot voltage as shown in the figure below.
Vboot = 18V.
If I now do the calculation:
Vboot - Vs = Voltage_high_side
18V - 12V = 6V
6V are enough to get over the turn on threshold as described in datasheet site 30 section 6.10.
The datasheet says
"When one of the supply voltages of the gate driver (VCC for the low sides and VBOOT - VS for the high sides) falls below the respective turn-off threshold, an undervoltage event occurs. In this case, all MOSFETs are immediately turned off and the UVLO flag in the STATUS register is forced low."
So my question is, why do I get an undervoltage lockout, even though I am over the turn on threshold ?
Do I have to turn the flag VCCVAL in the Config Reg to 1 because this change the VCC voltage?
Regards
Oliver
[2] https://www.st.com/resource/en/data_brief/eval6480h.pdf

