一、安装套件所需的软件STMotorprofiler和ST Motor Control Workbench V5.20,以及STM32Cube,还需要安装ST-Link V2的驱动以方便调试。
二、打开软件ST Motor Profiler
按所标序号依次选择或填入参数,运行马达生成自己的Motorprofiler方件。
1。点击select boards选择所需的板卡
点击选择NUCLEO-F302R8和X-NUCLEO-IHM05M1 3Sh
2、填写马达相关参数
Pole Pairs:7
Max Speed:16000
Max Current:1
VBus:12
Magentic:SM-PMSM(套件配备的马达是SPM的)
点击板卡下方的:Remember to properly configure the boards in Motor Control mode选项,可以通过浏览器,打开套件所需的硬件设置说明:
点击板卡下方的Product Web Page可以通过浏览器跳转到此板卡的官方网页下载相关文件等。
点击板卡名称前面的关闭按钮,可以关闭当前板卡,重新进入板卡选择界面选择其它板卡。