Skip to main content
Diandi Zhu
Associate II
Jul 3, 2018 5:51 PM UTC
Solved

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

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
This topic has been closed for replies.
Diandi Zhu
Diandi ZhuBest answer
Associate II
Jul 11, 2018 4:57 PM UTC
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

2 replies

Diandi Zhu
Diandi ZhuAuthorBest answer
Associate II
Jul 11, 2018 4:57 PM UTC
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...
Senior III
Jun 15, 2021 8:22 AM UTC

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