Yes, I understand. At first, I didn't debug in one step, but the motor didn't rotate.
I stopped the program and found that pdb1 and pdb0 reported errors. I adjusted all clocks to the frequency division of the system clock to ensure correct timing, but this did not change the results of pdb0 and pdb1 reported errors.
I'm not sure what else is wrong. Thank you for your answer.