cancel
Showing results for 
Search instead for 
Did you mean: 

How to get started with STEVAL-SPIN3202

JDedu.1
Associate II

I only want to have the motor to spin as a kitten but ..

Hereby I share you my road to hell and frustrations .

Tried to get it working with the example and MCSDK_5.Y.40693W00000QLEH6QAP.pngsaved it on an empty location and no rename

0693W00000QLEJ8QAP.pngChange nothing for the moment and pusg the button arrow down

What do I choose as Drive Type option HAL or LL ??

Use LL according to some posts I read and push UPDATE

0693W00000QLEJwQAP.pngHere we are received Complete and then what should i do ???

You get OPEN FOLDER or RUN STM32CubeMX or Close

But how do I get it in my board ???

Do I need another program ??

So as I read a lot of posts :

  • the STM32CubeMx is a tool to alter the motor specifaction and sensing
  • Open Folder gets you to the source files etc that needs to be compiled witha IDE

So downloading the ST32CUBEIDE never mentioned in documenttion what so ever ??

Now the fun starts 6S_STEVAL3202_SL_VM.ioc has been assigned by windiows to STM32CubeMx .

But here I use the IDE to load it up.

And now I get a DOS box with the following :

Omitted it because what the hell ???

Push the Run Button and the we have :

0693W00000QLEXZQA5.pngA lot of errors ??? and a hugh amount of code .

Searched on my drive stm32f0xx_ll_dac.h" and found it ??

  • D:\MotorTest\6S_STEVAL3202_SL_VM\Drivers\STM32F0xx_HAL_Driver\Inc

How can I solve the above errors ? or Handle I it completely wrong

So what should I use MCSDK_5.Y.4 or MCSDK 5.4.8 ?

Is it depending on what you want to use for instance MOtorPilot needs 5.4.8 ??

How do download it in to the board ? Is it hex or bin file ?? With what the IDE ??

HELP

3 REPLIES 3
GMA
ST Employee

Hello,

When you choose the example, a readme.txt pops up with some tips (as usage of IDE e.g).

Could you try by using STN32CubeMX: 6.5.0?

Once compiled, IDE will download directly .elf file:

0693W00000QLQ74QAH.pngBest regards.

GMA

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
JDedu.1
Associate II

Hello, download the 6.5.0 and tried again but unfortunately I get a bunch of errors see log file.

Also I saw although I selected Senserless and Voltage mode via STMCWB :

0693W00000QMwSaQAL.pngI see connection lines for the speed sensing :

0693W00000QMwSpQAL.pngBut still I continued just to see If I can compile an download it.

Hereby the log file after :

0693W00000QMwTYQA1.pngOf course I persist to complie it but of course also there errors:loudly_crying_face:

Shouldn't be that hard i think really spent more then a few days here.

JDedu.1
Associate II

Back from holiday . Tried the above tip :STN32CubeMX: 6.5.0 .

Isn't working either ?? Nobody ?