cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32 workbench issue

OTcho.1
Associate

Me and my team have been working for a while now on the Stm32 workbench. The Motor Profiler calculates the parameters for the motor, and are then they are imported to the workbench to generate code to TrueStudio IDE. We are facing some issues with driving the motor and have been following the instructions and steps in the "STM32 PMSM FOC SDK Frequently-asked questions (FAQ)" pdf found below, but the same problems are still occurring and no change at all in the motor behaviour.

  • Problems occuring are:

1. In the Motor Profiler Software, the motor does not stabilize at the low RPM below 1000 - 1200 RPM, but at higher RPM the motor stabilizes. 

2. In TrueStudio the motor works for a few seconds and then stops immediately while the rest of the code works normally. As if the pwm breaks, the Methods used in the TrueStudio code are  

MC_ProgramSpeedRampMotor1( 1000, 500 );

MC_StartMotor1();

  • Motors used: 

bly172s-24v-4000 Anaheim Automation

QBL4208-61-04-013  Trinamic

  • PDFs Followed:

https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/68/d7/b8/c3/24/4c/48/5e/STM32%20PMSM%20FOC%20SDK%20FAQ/files/faq_stm32f_foc_sdk_mm1.pdf/jcr:content/translations/en.faq_stm32f_foc_sdk_mm1.pdf

1 REPLY 1
Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards