This content was originally created by EEWORLD forum netizen mytom520. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source I received the circuit board last week. I am very happy to participate in this evaluation. I have a lot of work to do at work, so I am just starting now. 1. Strictly follow the steps in the UM1945 User manual for hardware settings and test the DEMO firmware. Operation steps: Strictly follow 3.2 of UM1945. (1) Insert the X-NUCLEO-IHM07M1 expansion board into the NUCLEO-F302R8 core board;
(2) Connect the U, V, and W phases of the motor to J2 of the X-NUCLEO-IHM07M1 expansion board;
(3) Select the jumper to configure the control algorithm of P-NUCLEO-IHM001;
](4) Connect the DC power supply to the J1 interface and power on;
(5) When the system is powered on or reset, the D11 light on the expansion board can determine the selected control algorithm;
(6) Press the blue user button on the NUCLEO-F302R8 core board and the motor will start running;
(7) Turn the blue potentiometer on the X-NUCLEO-IHM07M1 expansion board to adjust the speed of the motor.
Note: After the subsequent program update, you can still restore the original firmware:
Drag and drop procedure (suggested)Similar to USB boot, directly drag the "P-NUCLEO-IHM001.bin" file to "NODE_F302R8"
Through ST-LINK tool It is also possible to use the STM32 ST-LINK Utility to download the "P-NUCLEO-IHM001.bin" file The P-NUCLEO-IHM001.bin file is in STM32CubeExpansion_SPN7_V1.1.0\Projects\Multi\Examples\MotorControl\Binary\P-NUCLEO-IHM001. The Internet is so developed that I will not post the download addresses of development software, download software, source code, etc. 2. Waveforms of various test points