Skip to main content
SBung.1
Associate II
February 10, 2021
Solved

I would like to know if either or both STEVAL-IHM040V1 and EVSPIN32F06Q1S3 are plug and play modules for controlling 3-Phase Sensorless Motors, and do not require initial software programming?

  • February 10, 2021
  • 4 replies
  • 3750 views

..

This topic has been closed for replies.
Best answer by Dario CUCCHI

Yes, once the firmware is downloaded in the  STSPIN32F0601 you can run the motor without connecting the board to the PC.

Take care of two points:

  • you have to set correctly the jumpers in order to provide the supply to the microcontroller embedded in the STSPIN32F0601 VDD = 3.3V (JP8 closed between pin1 and pin2)
  • Since the PC is no more connected, you cannot use the GUI embedded in the X-CUBE-MCSDK. The firmware should manage this with proper instructions to start and stop the motor or to change the speed and so on… If you need to connect the PC for debugging and using the GUI, I suggest to use an USB isolator in between the board and the PC.

I forgot one last important thing… good luck !

4 replies

Dario CUCCHI
Technical Moderator
February 11, 2021

Hello @SBung.1​ and welcome to the ST Community !

Both the STEVAL-IHM040V1 and EVSPIN32F06Q1S3 needs to be programmed with a control firmware before driving the motor.

If it is ok with your application requirements, I can suggest to use the EVSPIN32F06Q1S3 or the EVSPIN32F0601S3.

The two boards are almost the same: what changes is the package of the device STSPIN32F0601.

These boards embed the ST-LINK programmer, so you just need to connect it with a USB to a computer for programming the microcontroller.

About the firmware, you can try to download the MC workbench program (X-CUBE-MCSDK).

This environment allows to configure the firmware for the FOC algorithm and generate the code that can be downloaded in the microcontroller.

Whether you choose the EVSPIN32F06Q1S3 or the EVSPIN32F0601S3, when creating a new project select the "EVSPIN32F0601S3" among the items in the dropdown menu (see picture below).

0693W000007Ex7RQAS.pngI hope this post can help you; if so, consider to mark it as best answer by clicking the label "select as Best".

This will help other community members with similar questions to quickly find the answer.

SBung.1
SBung.1Author
Associate II
February 11, 2021
Greetings Dario,
 
Thank you for best answer, I will use the EVSPIN32F06Q1S3 instead because of high voltage input range.
 
I have further points needing clarification:
 
What is the App Motor Profiler 5.4.5, used for? and I cannot find the EVSPIN32F06Q1S3 in it.
 
On MotorControl Workbench 5.4.5, after selections on 1, 2, and 3 on your picture above, selecting on 4: Motor high voltage shows Poles Pairs=4, No. vol.=320, should these values be absolute on the motor to be used, what about if the motor to be used has Pole Pairs=6 instead?
 
On the picture below, will the 400V DC power supply be applied on the same point referenced as AC input info, which is connector J4 on the board?
 
Can the Rated Bus voltage below be increased to 400V or more?
 
Is there a document manual for choosing the best settings above?
I am looking forward to your further clarifications.
Dario CUCCHI
Technical Moderator
February 19, 2021

Hi @SBung.1​ ,

The motor profiler can be used to characterize the motor parameters, such as phase resistance, phase inductance, electrical constant and also the mechanical parameters.

This tool works only with a reduced subset of ST evaluation boards and the EVSPIN32F06Q1S3 is not supported.

The motor selected in the point 4 is not really important, it is just an example.

In fact, you can select the “generic high voltage motor�?, then you can select in the main configuration window the actual motor parameters for your specific application.

Just click on the motor block and a window pops-up for motor parameters' configuration.

0693W000008GehnQAC.png 

Next point: I can’t see your picture but I think you are referring on how to supply the board: J4 can be used for both AC and DC.

The rated bus voltage is max 280 VAC/ 400 VDC so do not exceed this voltage rating.

Documentation available for this board is the Data brief DB4168 and the datasheet of the driver STSPIN32F0601Q.

If you need some more information you can check out the user manual UM2596.

This manual is related to the EVSPIN32F0601S3, but as previously posted, the two boards have the same schematic, so you can use the information in this manual also for the EVSPIN32F06Q1S3 board.

SBung.1
SBung.1Author
Associate II
February 11, 2021

Greetings Dario,

Thank you for best answer, I will use the EVSPIN32F06Q1S3 instead because of high voltage input range.

I have further points needing clarification:

What is the App Motor Profiler 5.4.5, used for? and I cannot find the EVSPIN32F06Q1S3 in it.

On MotorControl Workbench 5.4.5, after selections on 1, 2, and 3 on your picture above, selecting on 4: Motor high voltage shows Poles Pairs=4, No. vol.=320, should these values be absolute on the motor to be used, what about if the motor to be used has Pole Pairs=6 instead?

On the picture below, will the 400V DC power supply be applied on the same point referenced as AC input info, which is connector J4 on the board?

Can the Rated Bus voltage below be increased to 400V or more?

Is there a document manual for choosing the best settings above?

I am looking forward to your further clarifications.

Karan 123
Senior
May 18, 2021

Hi

@SBung.1(Community Member),

Are you able to spin the HV motor ? with EVSPIN32F0601S3 and mcsdk.

---

Thanks

Karan​

SBung.1
SBung.1Author
Associate II
May 18, 2021
Greetings Karan​,
No, I am not able to spin the motor still, my case was closed without any support being given.
Thank you for checking on me, I hope you will be able to provided the help I need.
Regards,
Santos
SBung.1
SBung.1Author
Associate II
May 19, 2021

I lost the laptop and have not downloaded the mcsdk on the new laptop yet, but the following inputs that are different from your example above:

Poles Pairs: 6, Nnominal DC Voltage: 400 V.

Further information of the following title from STM32 Motor Control & STM32CubeMX:

Generated Project is showing IPConfigManager:1461 error.

Karan 123
Senior
May 19, 2021

Hi,

1) Can you rewrite what problem(s) you are facing ?

2) Are you able to generate the code successfully ?

--

Karan

SBung.1
SBung.1Author
Associate II
May 19, 2021

I will try again once I have the MCSDK running, then will confirm to you.

Karan 123
Senior
May 19, 2021

OK .. I am able to generate/compile the code successfully with MCSDK .

Are you?

--

Karan

Karan 123
Senior
May 27, 2021

Did you get some time?

​Are you able to spin the Motor?