2854 views|0 replies

14

Posts

0

Resources
The OP
 

[ST Motor Kit Evaluation] 1. Build the Evaluation Motor Kit Environment [Copy link]

This post was last edited by whoislj on 2018-6-23 10:38 Thanks to ST and EEworld for giving me this opportunity to participate in the evaluation of the motor kit. This article mainly builds the evaluation environment based on the ST official user manual UM2374. The first step is to download the required software. The software has version requirements: Others follow the installation prompts and apply patches while installing. The second step is to analyze the motor parameters in Motor Profiler (supported by M4, but not by the most commonly used M3) When I first started analyzing, I kept getting this Warning. Later, I adjusted the maximum speed to 20,000, and then the analysis was successful. Click "Save" to save for later use. The third step is ST MC Workbench Open MC workbench and click File -> New Project. Select the corresponding control board and power board as shown in the figure below. You can select "MC Kit" for the motor kit. In the Motor item next to the semi-transparent number "4", select the file you saved after analyzing the motor with Motor Profiler. Click "OK". In the MC Workbench main interface, you can click the four sub-items such as Motor, Power Stage, Drive Management, and Control Stage to view the motor parameters, driver board parameters, driver management, main control chipconfiguration, etc. You can adjust the parameters here when you make your own board or do a project. Click the output folder options button on the toolbar and select the output IDE, such as MDK-ARM. After selecting, click "OK", and then click the Generation button to generate the workbench project for CubeMX to call. Step 4 STM32CubeMX Open CubeMX, click Load Project to load the project file (.ioc format) generated in the previous step. Open as shown below, Most of the pins have been configured, and you can generate code directly (just can't press the button to start without connecting to the host computer). Under Project -> Settings -> Code Generator, check the box as shown below. Then click Project -> Generate Code to generate a project that can be opened by MDK. Compiled successfully, can be downloaded to P-NUCLEO-IHM002 evaluation board. Connected successfully with MC workbench, as shown below. This content is created by EEWORLD forum user whoislj. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source

调速口原理图-截图.png (15.94 KB, downloads: 0)

调速口原理图-截图.png
This post is from stm32/stm8
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list