Skip to main content
oleg_sidorovich_1981
Associate III
February 9, 2020
Question

EVALKIT-ROBOT-1.

  • February 9, 2020
  • 11 replies
  • 2644 views

How I can programming MCU (Example code with description, PID control, use STM32 Motor control SDK5.0, Motor control workbench and others)? Where is video example, AN?

This topic has been closed for replies.

11 replies

Cristiana SCARAMEL
Technical Moderator
February 13, 2020

​Hello,

please refer to "Resource" page of EVALKIT-ROBOT-1 board at this link

The EVALKIT-ROBOT-1 is a ready-to-use evaluation kit for servo brushless applications.

A source code, available in the previous link is already loaded in the STSPIN32F0A device.

It is also possible to customize the system operation modifying the source code. In this case the following tools are needed:

• An IDE chosen among the IAR Embedded Workbench for ARM, Keil microcontroller development kit and STM32CubeIDE.

• An SWD programmer/debugger supporting the STM32F0 family, like the STLINK-V3 from STMicroelectronics.

Regards, Cristiana

"If you feel a post has answered your question, please click ""Accept as Solution"""
oleg_sidorovich_1981
Associate III
February 13, 2020

Can I use True Studio?

Cristiana SCARAMEL
Technical Moderator
February 17, 2020

​The source code is based on IAR, but can be used with other IDE.

Anyway the compiling optimization can have impact on performances and code size.

For you information, a new code and documentation will be released soon. 

"If you feel a post has answered your question, please click ""Accept as Solution"""
oleg_sidorovich_1981
Associate III
February 20, 2020

Where I can find example? Where discription of code?

Cristiana SCARAMEL
Technical Moderator
February 21, 2020

You can download the source code example in the "Resource" page of EVALKIT-ROBOT-1 board at this link

The direct link for Zip file

"If you feel a post has answered your question, please click ""Accept as Solution"""
oleg_sidorovich_1981
Associate III
March 3, 2020

How I can open this file - EVALKIT-ROBOT-1.stmcx

Cristiana SCARAMEL
Technical Moderator
March 6, 2020

As mentioned above the source code is based on IAR.

I suggest to open the file .stmcx with IAR Embedded Workbench, you can use the free trials version.

"If you feel a post has answered your question, please click ""Accept as Solution"""
oleg_sidorovich_1981
Associate III
March 7, 2020

Why I can't open EVALKIT-ROBOT-1.ioc by STM32CubeMx 5.5.0. I have Error: "Can't add MotorControl files not found"

oleg_sidorovich_1981
Associate III
March 9, 2020

Why I can't open EVALKIT-ROBOT-1.ioc by STM32CubeMx 5.5.0. I have Error: "Can't add MotorControl files not found"

Cristiana SCARAMEL
Technical Moderator
March 25, 2020

Please refer to the new FW example STSW-ROBOT-1

"If you feel a post has answered your question, please click ""Accept as Solution"""
oleg_sidorovich_1981
Associate III
March 25, 2020

Do you have a description of this example, how to work with it, configure it?

oleg_sidorovich_1981
Associate III
March 26, 2020

How I can program STSPIN32F0A (EVALKIT-ROBOT-1

). STSPIN32F0A has not Embedded ST-LINK/V2-1? Can I use board STM32F3DISCOVERY, for example with Embedded ST-LINK / V2-1 for programming STSPIN32F0A?

uomo motore
Associate
March 30, 2020

The EVALKIT-ROBOT-1 has a dual row 10 pin header with 1.27mm pitch spacing for programming/debugging. It can be done if you can arrange some means for connecting SWDIO, SWCLK, GND and 3V3 from this connector to the STM32F3DISCOVERY board. Say with an adapter or custom patch cables with 1.27mm female header on one side and 2.54mm female header on the other side. Otherwise ST-LINK/V3 already has the relevant port and cable for this debug hearder.

Enrico Poli
ST Employee
April 7, 2020

Hi Oleg,

Just to inform you that the STSW-ROBOT-1 is now published.

The package contains projects for IAR, KEIL and STM32CubeIDE.

About the customization of the code, you can use both the MC workbench and CubeMX: the first for tuning the algorithm parameters and the second one for the peripherals customization.

However, generating a new code could be not so straight forward because, at the moment, some of the options included in the EVALKIT-ROBOT-1 are not natively supported by the MCSDK.

A dedicated user manual will be published soon, meanwhile I can give you some suggestions:

  1. When you modify the MCWB project: if you only change the control parameters, you can use the update option avoiding overwrite the CubeMX project file .
  2. The communication protocol embedded into the MCWB is not compatible with the hardware, do not enable it.
  3. One of the most important file that is changed during automatic generation of the project is the "stm32f0xx_mc_it.c". Always keep a backup copy of the original file as reference.
  4. Keep a backup copy of the original CubeMX project.
  5. Always select LL libraries for code generation in order to avoid code-size issues.

Enrico

DavidePonte87
Visitor II
February 19, 2021

The source code links no longer work ...

Cristiana SCARAMEL
Technical Moderator
February 19, 2021

Hello @DavidePonte87​ and welcome to the ST Community.

you can find the the firmware example of the EVALKIT-ROBOT-1 in the board page clicking on new Tab "Tools & Software".

Otherwise you can download it directly on the abovementioned STSW-ROBOT-1 page.

"If you feel a post has answered your question, please click ""Accept as Solution"""
DavidePonte87
Visitor II
February 19, 2021

It makes me download the package version: 1.1, instead on the page it tells me about version: 2.0.0

it's normal ?

Cristiana SCARAMEL
Technical Moderator
February 19, 2021

Thank you for reporting this misalignment of software versions between web and package.

In any case I confirm that the downloaded version is the last one released ;)

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