1. 硬件方案
本次测试的MM32 Motor-DK低压电动机开发板和57BL55S02电机,采用MM32SPIN160C处理器,内部集成了NMOS的预驱动,及丰富的和电机驱动相关外设。
使用高性能的Arm® Cortex®-M0 为内核的 32 位微控制器,最高工作频率可达72MHz,内置高速存储器,丰富的 I/O 端口和多种外设。
- 32KB Flash,4KB SRAM
- 包含12 位的 ADC,采样速度高达 1Msps
- 5 个通用定时器、1 个针对电机控制的 PWM 高级定时器
- 1 个I2C 接口、2 个 SPI 接口和 2 个 UART 接口
- 针对电机应用内置 1 个比较器
- 预驱工作电压高达 75V
- 工作温度范围(环境温度)-40℃ - 85℃



电机为24VDC电压等级、1200RPM转速和22W的功率。


2. 软件方案
程序采用无感方波控制,位置检测采用注入法转子定位和ADC相电压采集检测换向方案。





tim1用于pwm控制、ADC检测和过零点检测触发


Tim2用于换向控制



3. 联机实测效果视频
电机运转平稳 调速反应灵敏
视频截图










5. 试用体会
开发板电路板布局合理,做工精致,壳扩展调试功能非常多,是新产品放测试的好帮手。
代码方面调试有一定难度,建议提供更多实用案例、说明或注释。
总之非常感谢厂家提供的开发板和技术支持。