Skip to main content
Ritul Shah
Associate II
February 16, 2021
Solved

STSPIN32F0A VDC BUS Voltage not sensed in the Motor Control Workbench.

  • February 16, 2021
  • 4 replies
  • 1924 views

I am using a custom board with STSPIN32F0A microcontroller. After assigning pins in the Motor control workbench, I am generating the code. Then I dump the code to the MCU by IDE.

After that 12VReg starts.

To test the motor, I go to Motor control Workbench--> Monitor section. Then I initiate UART communication and the device gets connected.

But here the "Under Voltage fault always persists. Please check the image attached below."

Note: I apply 12V input to run the Motor. Motor Used : Bull Running BR2804-1700kv

Please help me solve this problem. I have been stuck over here for more than 20 days.

THank you

Ritul Shah0693W000008GEZdQAO.jpg

This topic has been closed for replies.
Best answer by Ritul Shah

Hello Dario,

I have been able to solve the issue.

I had a problem with UART communication, which created the problem.

4 replies

Javier1
Principal
February 16, 2021
hit me up in https://www.linkedin.com/in/javiermuñoz/
Dario CUCCHI
ST Employee
February 19, 2021

@Ritul Shah​ I have some questions to better understand your setup: If I understood well, you a re using a custom board: which is the GPIO line you are using for reading the bus voltage ? Is it the PB1 as in the STSPIN32F0A evaluation board ?

Which are the values of the resistors for the bus voltage divider ?

Did you tried to sense the line used for bus monitoring with a digital multimeter, just to check whether the expected voltage is present ?

I'm just trying to figure out if it is a hardware issue or a firmware issue...

Ritul Shah
Ritul ShahAuthorBest answer
Associate II
February 22, 2021

Hello Dario,

I have been able to solve the issue.

I had a problem with UART communication, which created the problem.

Laurent Ca...
Senior III
June 1, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards

Laurent Ca...