How to get started with STEVAL-SPIN3202 & Sensor-less BLDC motor?
Hi ST and fellow struggling customers:),
I am trying to to get running small 24V BLDC sensorless in-runner with STEVAL-SPIN3202 in FOC or 6 STEP .
I stuck after endless attempts with downloading various older versions of all the "cubes".
I am trying (for a new project) to migrate from TI's F28027F which was not the easy one to work with, but this one... No manuals, no videos, except for marketing.
At the moment:
I use MotorControl Workbench 5.Y.2., STM32CubeIDE 1.8.0, STM32CubeMX 6.3.0.
At least this version configuration allows me to upload the project into the board.
I am loading the example 6S_STEVAL3202_SL_VM.
Saving it in separate location.
The only changes I do:
Unchecking Hall Sensors and Encoder in motor section and select Sensor-less (Observer+PLL) in Speed sensing.
I click " Project Generation:
I click "Update"
It creates project files.
Here I am a bit confused. The readme suggests "open the project in IDE". I was unable to do this.
Instead, I click
It opens STM32CubeMX, where I can find some yellow triangles, magenta lines and all green ticks on a "System View".
I am leaving everything intact, including:
I am clicking
It generates the code and kindly allows me to "Open Project" that brings me to STM32CubeIDE 1.8.0.
I am Building the project. It does not fit into FLASH.
I am changing (Project) Properties->C/C++ Build->Settings->MCU GCC Compiler->Optimization->Optimization Level to "Optimize for Size" and it builds! Great!
I am uploading the code into the board. No problem!
Resetting the board.
Launching the Motor Pilot. Connecting to the board. It sort of connects:
GUI is inactive and I am getting this nonstop:
I feel I am as far from running the motor as I was a week ago.
Dear ST,
Can I have a simple advice on how to turn sensorless 24V BLDC motor with STEVAL-SPIN3202 in FOC (or 6STEP)?
Maybe you have some simple example. If you do, where I can find it? How can I import it into the IDE?
You may also have some "How To" videos that I could not find.
Regards,
Edward Shaw.
