cancel
Showing results for 
Search instead for 
Did you mean: 

How do I connect ST SPIN 3204 with six step algorithm properly?

77kk
Associate II

How do I acces with my ST SPIN 3204 to get programming in C and to connect it properly.

I have installed the STM32CUBE PROGRAMMER and there I can connect my board correctly, do I use this aplication?

So I would need some help to connect it with the Motor control and to access programming the STM32F031C6 microcontroller.

I also can not find Six-Step drive with STSPIN3204 so I can try with this.

I have downloaded all the Software:

STM32 CUBEMX

STM32 CUBE PROGRAMMER

MOTOR CONTROL WORKBENCH 5.2.0

MOTOR PROFILER 5.2.0

2 REPLIES 2
Laurent Ca...
Lead II

Dear @77kk​ 

Sorry for the late answer.

Do you have still this problem to solve?

And just in case, if not, do not hesitate to share the final solution you found. Thanks by advance.

Best regards

77kk
Associate II

Hello,

I have a problem with timers and PWM generation on STspin3204. I just started and I want to put timer1 and channel 1 on U phase and for example Vphase to GPIO to zero, and messure with multimeter the PWM signal so I can get used to how PWM works. But it does not work with me, I watched videos and configure the pin with CUBEMX and then set it in CUBEIDE but I dont get any voltage output.

When I load an example of sensorless six step motor it gets a correct output voltage.

Sometimes i get a random 1.3V output when I try to set up the PWM is this just noise or what?

So how do I set a PWM between U and V phase so I could for example blink a LED?