cancel
Showing results for 
Search instead for 
Did you mean: 

EVALKIT-ROBOT-1 Problem Problem Description: At power on the motor do not initialize to find the zero signal of the encoder. The red led is on, not blinking Attached the wired motor Thank you for reply

RDa F.1
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Cristiana SCARAMEL
ST Employee

​Hi @RDa F.1​ welcome to ST Community.

I think your problem could be related to a bug we found in the previous code version.

You can download the new revision of STSW-ROBOT-1 and check if the problem is solved.

Let me know if it is ok.

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

View solution in original post

6 REPLIES 6
Cristiana SCARAMEL
ST Employee

​Hi @RDa F.1​ welcome to ST Community.

I think your problem could be related to a bug we found in the previous code version.

You can download the new revision of STSW-ROBOT-1 and check if the problem is solved.

Let me know if it is ok.

If you feel a post has answered your question, please click "Accept as Solution"
Dear Cristina,
thank you for the mail.
Following the user manual:
than we have power up the system *without loading any software*:
at this point the motor _do not show any initialization_.
Up to this point we have not use any software, we have use the eval kit
as-is, as from the user manual.
In the user manual there are not any tips about "load the software
before power on"
So I think that the problem it is inside the firmware of the control board.
Waiting for you kind reply
Best Ragards

​Hi @RDa F.1​ the know bug is in the pre-loaded firmware.

The STSW-ROBOT-1 is the firmware example of the EVALKIT-ROBOT-1 evaluation kit.

The main.c code was modified to solve the initialization procedure.

You can update the firmware using a SWD programmer/debugger supporting the STM32F0 family, like the STLINK-V3 from STMicroelectronics.

If you feel a post has answered your question, please click "Accept as Solution"
can we substitute the eval kit with a bug-free one,
to do some evaluations on potential applications we cannot reprogram the system.
we have bought the eval kit as free of bug
thank you

Hi,

I can suggest a workaround to solve this FW issue of initialization procedure.

Try to power-up the board and after RESET the device.

Please let me know if you are able to use the kit for your evaluations.

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

Cristiana,

I am having the same issue.

  

The red LED blinks meaning the system gets into fault mode as in line 135 of code: if (MC_GetOccurredFaultsMotor1() != 0)

Thank you in advance

------------------------------------------

EDIT: Problem Solved. I was having issues with the power supply. Once I fixed it and provided the motor with at least 30V power was asserted and the system ran well.