Tool/software:
Hello, I am using the official routine of 137 and want to use my own hardware.
C:\Users\Lenovo\Desktop\test\universal_motorcontrol_lab_f280013x
On the hardware side, the MOS is directly driven without SPI, but the SPI related code has not been deleted and only some sampling pins have been changed. After confirming that the sampling is correct, I found that the new hardware cannot generate 50% three-phase PWM waves. Sometimes it can generate several waves with a frequency of 15k, but the duty cycle is incorrect. However, this program can be burned into the development board to generate waves normally. Do I need to make some changes,
2. I found that
obj->faultMtrNow.bit.moduleOverCurrent = 1 , But I directly blocked this statement, I don't know if it has any impact. How can I turn off this error,
3. How to turn off the hardware comparator function