cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-SPIN3201 sample code generated by MC workbench 5.1.1 larger than 32k

Diandi Zhu
Associate III
Posted on July 03, 2018 at 19:51

Hi there,

I just got a STEVAL-SPIN3201 eva board. I generated a example project(trueStudio) by MC workbench. The code is larger than 32k no matter I use HAL or LL driver. If I enable optimize for code size the code size would be 25.7k if I LL driver when generating the code. For HAL driver, no matter I enable code size optimization or not, the code size is larger than 32k. 

1. Is there any other way to reduce code size?

2. by the way, I tried to use the motor profiler, and I found  STEVAL-SPIN3201 is not supported. Will it be supported later? If not is there any guide for tuning the parameter of the motor?

Best Regards,

#flash-overflow #.text-not-fit-in-flash #sdk-v5.1.1 #sdk-5 #sdk-v5 #mc-workben #stm-mcu #truestudio-9.0.0 #truestudio9
1 ACCEPTED SOLUTION

Accepted Solutions
Diandi Zhu
Associate III
Posted on July 11, 2018 at 18:57

https://community.st.com/0D70X000006SsE0SAK

 

seems trueStudio is not supported yet due to drive issues. 

0690X0000060M7fQAE.png

View solution in original post

2 REPLIES 2
Diandi Zhu
Associate III
Posted on July 11, 2018 at 18:57

https://community.st.com/0D70X000006SsE0SAK

 

seems trueStudio is not supported yet due to drive issues. 

0690X0000060M7fQAE.png
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