This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: C2000 MOTORCONTROL

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

我的开发板是 LaunchXL-F28379D,驱动板是 DEV8301REVB。 同过指南移植了C2000motorcontrol4.0.0 中电机实验室,现在遇到到问题是没有加入编码器的情况下 在MOTOR1_ENC下电机竟然可以运行起来,在MOTOR1_FAST中 上电后设置motorVas_M1.flagRunIdentAndOnLine=1后,电机发热严重,并且电机产生了烟。这种情况是为什么哪? 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
void main(void)
{
// hal.c HAL
halHandle = HAL_init(&hal, sizeof(hal));
// hal.c HALGPIOADC
HAL_setParams(halHandle);
// motorHandle_M1motorVars_M1
motorHandle_M1 = (MOTOR_Handle)(&motorVars_M1);
// false - 使, true -
userParams_M1.flag_bypassMotorId = false;
// motor1_drive.c HALIC
initMotor1Handles(motorHandle_M1);
// motor1_drive.c
initMotor1CtrlParameters(motorHandle_M1);
// CPU使
cpuTimeHandle = CPU_TIME_init(&cpuTime, sizeof(cpuTime));
CPU_TIME_reset(cpuTimeHandle);
//使
systemVars.flagEnableSystem = true;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
r