2020-09-15 02:45 AM
Dear all,
I have a STEVAL-SPIN3020 board. Is it possible to read the parameters stored in the board and backup them on my PC? I have caooneccted the board to my PC via USB and I'm using MCSDK_v5.4.4 software.
Thank you very much for your help and cooperation,
Regards
Luigi Ferrari
Solved! Go to Solution.
2020-09-21 07:47 AM
ciao @Ferrari ,
in the STSPIN32F0A device mounted on STEVAL-SPIN3202 board is not pre-loaded any firmware.
First of all check if you have the right jumper setting for the FOC driving (by default the six-step mode is selected, more details on UM2278)
You can create your project to drive a motor with FOC algorithms with STM32 motor control workbench following these steps:
A new configuration window appears, allowing the parameters to be set for each blocks: “Motor�?, “Power Stage�?, “FW Drive Management�? (i.e. FOC algorithm configuration), “Control Stage�? (i.e. MCU configuration).
You can customize your application and save the project by clicking on the save button.
This is the configuration file of parameters used and generate the code by clicking on "Generation" button.
In the generation windows you can set more parameters and after create the custom folder with your library code.
You can find more details on the UM2168 Using STM32 motor control workbench with STSPIN32F0 and STSPIN32F0A
Let me know, if I answer to your question.
2020-09-17 04:13 AM
Ciao @Ferrari welcome to the ST Community.
Are you referring to the parameters of FOC algorithm? Which ones do you need?
If not can you specify which parameters are you referring to?
2020-09-17 08:45 AM
Ciao Cristiana,
Yes, I refer to FOC algorithm. I have a STEVAL-SPIN3020 board used to setup parameters for motor control but I do not have the related project fil (.stmcv or .stmc file).
Is it possible to download from the board the parameters of FOC algorithm and backup them ?
Thank you very much for your help and cooperation
regards
2020-09-21 07:47 AM
ciao @Ferrari ,
in the STSPIN32F0A device mounted on STEVAL-SPIN3202 board is not pre-loaded any firmware.
First of all check if you have the right jumper setting for the FOC driving (by default the six-step mode is selected, more details on UM2278)
You can create your project to drive a motor with FOC algorithms with STM32 motor control workbench following these steps:
A new configuration window appears, allowing the parameters to be set for each blocks: “Motor�?, “Power Stage�?, “FW Drive Management�? (i.e. FOC algorithm configuration), “Control Stage�? (i.e. MCU configuration).
You can customize your application and save the project by clicking on the save button.
This is the configuration file of parameters used and generate the code by clicking on "Generation" button.
In the generation windows you can set more parameters and after create the custom folder with your library code.
You can find more details on the UM2168 Using STM32 motor control workbench with STSPIN32F0 and STSPIN32F0A
Let me know, if I answer to your question.
2020-09-22 04:09 AM
Ciao Cristiana,
thank you dor your answer. You wrote:
> in the STSPIN32F0A device mounted on STEVAL-SPIN3202 board is not pre-loaded any firmware.
Yes, I know but I already used the STEVAL-SPIN3202 with related tool but the saved project is completely deleted ..... There is any possibility to recover the parameters from the firmware ?
Thank you very much for your help and cooperation
regards
2020-09-24 04:12 AM
Ciao @Ferrari ,
You could download the binary code from STSPIN32F0A through a STLINK connection, but from this file is very tricky extract the parameters from this file.
I feel sorry for you :sad_but_relieved_face: but the fastest way is make a new project.