Other Parts Discussed in Thread: AMC1306M25, AMC1204
The schematic diagram is as follows:

After sampling with AMC1306M25 oscilloscope test motor U phase and V phase waveform is as follows:

You can see spikes in both phases;
Same program and hardware, replace with AMC1204 sampled waveform:






