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.

MCF8315EVM: The motor will not turn and the motor drive wires never get driven, how do diagnose the fault

Part Number: MCF8315EVM
Other Parts Discussed in Thread: MCF8315A,

Tool/software:

I have this EVM board running at 24V connected to a maxon motor.

When I power it up I cant get the motor to turn it is as if the system has a fault.

The gate driver Faults and Controller Faults appear to show that every fault is active.  Is there anything I can do to get the faults to clear?

  • HI,

    Thanks for posting your question, I am out of work today, I will respond to you by tomorrow.

    Thanks and Best Regards

    Venkatadri S

  • Hi John,

    Can you please confirm whether you applied all the configuration ? 

    Can you share Motor data sheet and JSON file you have used?

    Thanks and Best Regards

    Venkatadri S

  • Maxon EXC FLAT EXCFL32S KLA STD 24V.pdf

    I have added the motor data sheet and json file

    I believe I have applied enough configuration to get the motor moving

  • Maxon EXC FLAT EXCFL32S KLA STD 24V.pdf

    I have added the motor data sheet and json file

    I believe I have applied enough configuration to get the motor moving

    I can only see the pdf file and not the json config file but I have added it several times

    {
      "signature": "oneui-register-data",
      "data": [
        [
          {
            "idx": 0,
            "id": "isd_config",
            "value": "0x64738C20"
          },
          {
            "idx": 1,
            "id": "rev_drive_config",
            "value": "0xA8200000"
          },
          {
            "idx": 2,
            "id": "motor_startup1",
            "value": "0x0B6807D0"
          },
          {
            "idx": 3,
            "id": "motor_startup2",
            "value": "0xA306600C"
          },
          {
            "idx": 4,
            "id": "closed_loop1",
            "value": "0x0D3201B5"
          },
          {
            "idx": 5,
            "id": "closed_loop2",
            "value": "0x9BAD9D91"
          },
          {
            "idx": 6,
            "id": "closed_loop3",
            "value": "0x27800000"
          },
          {
            "idx": 7,
            "id": "closed_loop4",
            "value": "0x00001C20"
          },
          {
            "idx": 8,
            "id": "speed_profiles1",
            "value": "0x00000000"
          },
          {
            "idx": 9,
            "id": "speed_profiles2",
            "value": "0x00000000"
          },
          {
            "idx": 10,
            "id": "speed_profiles3",
            "value": "0x00000000"
          },
          {
            "idx": 11,
            "id": "speed_profiles4",
            "value": "0x800D0000"
          },
          {
            "idx": 12,
            "id": "speed_profiles5",
            "value": "0x00000000"
          },
          {
            "idx": 13,
            "id": "speed_profiles6",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "algo_ctrl1",
            "value": "0x20000000"
          },
          {
            "idx": 1,
            "id": "algo_debug1",
            "value": "0x40680000"
          },
          {
            "idx": 2,
            "id": "algo_debug2",
            "value": "0x00000000"
          },
          {
            "idx": 3,
            "id": "current_pi",
            "value": "0x03010301"
          },
          {
            "idx": 4,
            "id": "speed_pi",
            "value": "0x00000000"
          },
          {
            "idx": 5,
            "id": "dac_1",
            "value": "0x00000000"
          },
          {
            "idx": 6,
            "id": "dac_2",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "algorithm_state",
            "value": "0x00000000"
          },
          {
            "idx": 1,
            "id": "fg_speed_fdbk",
            "value": "0x7FFFFFFF"
          },
          {
            "idx": 2,
            "id": "bus_current",
            "value": "0x00000000"
          },
          {
            "idx": 3,
            "id": "phase_current_a",
            "value": "0x00000000"
          },
          {
            "idx": 4,
            "id": "phase_current_b",
            "value": "0x00000000"
          },
          {
            "idx": 5,
            "id": "phase_current_c",
            "value": "0x00000000"
          },
          {
            "idx": 6,
            "id": "csa_gain_feedback",
            "value": "0x00000002"
          },
          {
            "idx": 7,
            "id": "voltage_gain_feedback",
            "value": "0x00000002"
          },
          {
            "idx": 8,
            "id": "vm_voltage",
            "value": "0x01988000"
          },
          {
            "idx": 9,
            "id": "phase_voltage_va",
            "value": "0x0000376C"
          },
          {
            "idx": 10,
            "id": "phase_voltage_vb",
            "value": "0x0000376C"
          },
          {
            "idx": 11,
            "id": "phase_voltage_vc",
            "value": "0x00006ED9"
          },
          {
            "idx": 12,
            "id": "sin_commutation_angle",
            "value": "0x00000000"
          },
          {
            "idx": 13,
            "id": "cos_commutation_angle",
            "value": "0x00000000"
          },
          {
            "idx": 14,
            "id": "ialpha",
            "value": "0x00000000"
          },
          {
            "idx": 15,
            "id": "ibeta",
            "value": "0x00000000"
          },
          {
            "idx": 16,
            "id": "valpha",
            "value": "0x00000000"
          },
          {
            "idx": 17,
            "id": "vbeta",
            "value": "0x00000000"
          },
          {
            "idx": 18,
            "id": "id",
            "value": "0x00000000"
          },
          {
            "idx": 19,
            "id": "iq",
            "value": "0x00000000"
          },
          {
            "idx": 20,
            "id": "vd",
            "value": "0x00000000"
          },
          {
            "idx": 21,
            "id": "vq",
            "value": "0x00000000"
          },
          {
            "idx": 22,
            "id": "iq_ref_rotor_align",
            "value": "0x00000000"
          },
          {
            "idx": 23,
            "id": "speed_ref_open_loop",
            "value": "0x00000000"
          },
          {
            "idx": 24,
            "id": "iq_ref_open_loop",
            "value": "0x00000000"
          },
          {
            "idx": 25,
            "id": "speed_ref_closed_loop",
            "value": "0x00000000"
          },
          {
            "idx": 26,
            "id": "id_ref_closed_loop",
            "value": "0x00000000"
          },
          {
            "idx": 27,
            "id": "iq_ref_closed_loop",
            "value": "0x00000000"
          },
          {
            "idx": 28,
            "id": "isd_state",
            "value": "0x00000000"
          },
          {
            "idx": 29,
            "id": "isd_speed",
            "value": "0x00000000"
          },
          {
            "idx": 30,
            "id": "ipd_state",
            "value": "0x00000000"
          },
          {
            "idx": 31,
            "id": "ipd_angle",
            "value": "0x00000000"
          },
          {
            "idx": 32,
            "id": "ed",
            "value": "0x00000000"
          },
          {
            "idx": 33,
            "id": "eq",
            "value": "0x00000000"
          },
          {
            "idx": 34,
            "id": "speed_fdbk",
            "value": "0x00000000"
          },
          {
            "idx": 35,
            "id": "theta_est",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "fault_config1",
            "value": "0xBEC80106"
          },
          {
            "idx": 1,
            "id": "fault_config2",
            "value": "0xF0D00888"
          }
        ],
        [
          {
            "idx": 0,
            "id": "gate_driver_fault_status",
            "value": "0x00000000"
          },
          {
            "idx": 1,
            "id": "controller_fault_status",
            "value": "0x00000000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "pin_config",
            "value": "0x00000002"
          },
          {
            "idx": 1,
            "id": "device_config1",
            "value": "0x00101462"
          },
          {
            "idx": 2,
            "id": "device_config2",
            "value": "0xC000F00F"
          },
          {
            "idx": 3,
            "id": "peri_config1",
            "value": "0xC1C01F00"
          },
          {
            "idx": 4,
            "id": "gd_config1",
            "value": "0x9C450100"
          },
          {
            "idx": 5,
            "id": "gd_config2",
            "value": "0x80200000"
          }
        ],
        [
          {
            "idx": 0,
            "id": "int_algo_1",
            "value": "0xA433407D"
          },
          {
            "idx": 1,
            "id": "int_algo_2",
            "value": "0x000001A7"
          }
        ],
        [
          {
            "idx": 0,
            "id": "algo_status",
            "value": "0x00000084"
          },
          {
            "idx": 1,
            "id": "mtr_params",
            "value": "0x00000000"
          },
          {
            "idx": 2,
            "id": "algo_status_mpet",
            "value": "0x0A000000"
          }
        ]
      ]
    }

  • Hi John,

    Thanks for sharing the details, I will verify this and reply.

    Thanks and Best Regards

    Venkatadri S

  • Hi John,

    I looked at JSON file and I also want to check about versions of GUI and EVM which you are using.

    Before getting into details of my question, I presume you are using the MCF8315A GUI which is not based on the new GUI format MOTOR STUDIO.

    I see SPD_LOOP_KP, SPD_LOOP_KI are zero which can trigger MPET or no torque command sing PI loop of speed loop don't generate any torque reference.

    I would recommend you to migrate to Motor studio, I will share reference JSON file to run the MPET and test it.

    You need to update the EVM with MOTOR STUDIO compatible firmware as per this link 

    (+) [FAQ] Motor Studio GUI - EVM Firmware Compatibility - Motor drivers forum - Motor drivers - TI E2E support forums

    STEP1: Update EVM with new FW

    STEP2: Install MOTOR STUDIO

    STEP3: Test MOTOR STUDIO detects the device automatically.

    Once  you confirm all set, I will create  a reference JSON which runs MPET and then continue testing.

    Thanks and Best Regards

    Venkatadri S

  • The board version is MCF8315EVM Rev 1.0    M0070-001

    MCF8315A_GUI Ver 1.0.1 

  • Hi John,

    Understood, you can update to MOTOR STUDIO GUI, let me know once you are able to update.

    Thanks and Best Regards

    Venkatadri S

  • Hi Venkatadri

    Things are a lot better  now.  I have been able to get the motor to drive at about 200rps.  Though it is not very stable and takes a long time to ramp up to speed.

    Any suggestions to improve this would be welcome.

    Thanks

    John

    {
    "signature":"oneui-register-data",
    "data":[
    [
    {
    "idx":0,
    "id":"ISD_CONFIG",
    "value":"0x64738C20"
    },
    {
    "idx":1,
    "id":"REV_DRIVE_CONFIG",
    "value":"0xA8200000"
    },
    {
    "idx":2,
    "id":"MOTOR_STARTUP1",
    "value":"0x0B6807D0"
    },
    {
    "idx":3,
    "id":"MOTOR_STARTUP2",
    "value":"0xA306600C"
    },
    {
    "idx":4,
    "id":"CLOSED_LOOP1",
    "value":"0x0D3203B5"
    },
    {
    "idx":5,
    "id":"CLOSED_LOOP2",
    "value":"0x9BADA192"
    },
    {
    "idx":6,
    "id":"CLOSED_LOOP3",
    "value":"0x24EC8003"
    },
    {
    "idx":7,
    "id":"CLOSED_LOOP4",
    "value":"0x16D91C20"
    },
    {
    "idx":8,
    "id":"SPEED_PROFILES1",
    "value":"0x00000000"
    },
    {
    "idx":9,
    "id":"SPEED_PROFILES2",
    "value":"0x00000000"
    },
    {
    "idx":10,
    "id":"SPEED_PROFILES3",
    "value":"0x00000000"
    },
    {
    "idx":11,
    "id":"SPEED_PROFILES4",
    "value":"0x800D0000"
    },
    {
    "idx":12,
    "id":"SPEED_PROFILES5",
    "value":"0x00000000"
    },
    {
    "idx":13,
    "id":"SPEED_PROFILES6",
    "value":"0x00000000"
    }
    ],
    [
    {
    "idx":0,
    "id":"FAULT_CONFIG1",
    "value":"0xBBB80106"
    },
    {
    "idx":1,
    "id":"FAULT_CONFIG2",
    "value":"0xFFD00888"
    }
    ],
    [
    {
    "idx":0,
    "id":"INT_ALGO_1",
    "value":"0xA433407D"
    },
    {
    "idx":1,
    "id":"INT_ALGO_2",
    "value":"0x000001A7"
    }
    ],
    [
    {
    "idx":0,
    "id":"PIN_CONFIG",
    "value":"0x00000000"
    },
    {
    "idx":1,
    "id":"DEVICE_CONFIG1",
    "value":"0x00101462"
    },
    {
    "idx":2,
    "id":"DEVICE_CONFIG2",
    "value":"0xC000F00F"
    },
    {
    "idx":3,
    "id":"PERI_CONFIG1",
    "value":"0xC1C01F00"
    },
    {
    "idx":4,
    "id":"GD_CONFIG1",
    "value":"0x9C450100"
    },
    {
    "idx":5,
    "id":"GD_CONFIG2",
    "value":"0x80200000"
    }
    ],
    [
    {
    "idx":0,
    "id":"GATE_DRIVER_FAULT_STATUS",
    "value":"0x00000000"
    },
    {
    "idx":1,
    "id":"CONTROLLER_FAULT_STATUS",
    "value":"0x00000000"
    }
    ],
    [
    {
    "idx":0,
    "id":"ALGO_STATUS",
    "value":"0x07E00004"
    },
    {
    "idx":1,
    "id":"MTR_PARAMS",
    "value":"0xA1008A00"
    },
    {
    "idx":2,
    "id":"ALGO_STATUS_MPET",
    "value":"0x13000000"
    }
    ],
    [
    {
    "idx":0,
    "id":"ALGO_CTRL1",
    "value":"0x20000000"
    }
    ],
    [
    {
    "idx":0,
    "id":"ALGO_DEBUG1",
    "value":"0x80000000"
    },
    {
    "idx":1,
    "id":"ALGO_DEBUG2",
    "value":"0x00000000"
    },
    {
    "idx":2,
    "id":"CURRENT_PI",
    "value":"0x03010301"
    },
    {
    "idx":3,
    "id":"SPEED_PI",
    "value":"0x00000000"
    },
    {
    "idx":4,
    "id":"DAC_1",
    "value":"0x00000000"
    },
    {
    "idx":5,
    "id":"DAC_2",
    "value":"0x00000000"
    }
    ],
    [
    {
    "idx":0,
    "id":"ALGORITHM_STATE",
    "value":"0x00000000"
    },
    {
    "idx":1,
    "id":"FG_SPEED_FDBK",
    "value":"0x00D34EEB"
    },
    {
    "idx":2,
    "id":"BUS_CURRENT",
    "value":"0x00000000"
    },
    {
    "idx":3,
    "id":"PHASE_CURRENT_A",
    "value":"0x00040000"
    },
    {
    "idx":4,
    "id":"PHASE_CURRENT_B",
    "value":"0x00000000"
    },
    {
    "idx":5,
    "id":"PHASE_CURRENT_C",
    "value":"0xFFF80000"
    },
    {
    "idx":6,
    "id":"CSA_GAIN_FEEDBACK",
    "value":"0x00010002"
    },
    {
    "idx":7,
    "id":"VOLTAGE_GAIN_FEEDBACK",
    "value":"0x00000000"
    },
    {
    "idx":8,
    "id":"VM_VOLTAGE",
    "value":"0x03C08000"
    },
    {
    "idx":9,
    "id":"PHASE_VOLTAGE_VA",
    "value":"0x00000000"
    },
    {
    "idx":10,
    "id":"PHASE_VOLTAGE_VB",
    "value":"0x00000000"
    },
    {
    "idx":11,
    "id":"PHASE_VOLTAGE_VC",
    "value":"0x00000000"
    },
    {
    "idx":12,
    "id":"SIN_COMMUTATION_ANGLE",
    "value":"0x0493F954"
    },
    {
    "idx":13,
    "id":"COS_COMMUTATION_ANGLE",
    "value":"0xF97279E4"
    },
    {
    "idx":14,
    "id":"IALPHA",
    "value":"0xFFD00000"
    },
    {
    "idx":15,
    "id":"IBETA",
    "value":"0xFFC8930A"
    },
    {
    "idx":16,
    "id":"VALPHA",
    "value":"0xFFDF5F0E"
    },
    {
    "idx":17,
    "id":"VBETA",
    "value":"0xFFCE8712"
    },
    {
    "idx":18,
    "id":"ID",
    "value":"0x0005C0B5"
    },
    {
    "idx":19,
    "id":"IQ",
    "value":"0x0049120F"
    },
    {
    "idx":20,
    "id":"VD",
    "value":"0xFFFE69BC"
    },
    {
    "idx":21,
    "id":"VQ",
    "value":"0x003B4A1C"
    },
    {
    "idx":22,
    "id":"IQ_REF_ROTOR_ALIGN",
    "value":"0x00000000"
    },
    {
    "idx":23,
    "id":"SPEED_REF_OPEN_LOOP",
    "value":"0x00000000"
    },
    {
    "idx":24,
    "id":"IQ_REF_OPEN_LOOP",
    "value":"0x09997560"
    },
    {
    "idx":25,
    "id":"SPEED_REF_CLOSED_LOOP",
    "value":"0x00000000"
    },
    {
    "idx":26,
    "id":"ID_REF_CLOSED_LOOP",
    "value":"0x00000000"
    },
    {
    "idx":27,
    "id":"IQ_REF_CLOSED_LOOP",
    "value":"0x003A244B"
    },
    {
    "idx":28,
    "id":"ISD_STATE",
    "value":"0x00000005"
    },
    {
    "idx":29,
    "id":"ISD_SPEED",
    "value":"0x00000000"
    },
    {
    "idx":30,
    "id":"IPD_STATE",
    "value":"0x00000000"
    },
    {
    "idx":31,
    "id":"IPD_ANGLE",
    "value":"0x0803A989"
    },
    {
    "idx":32,
    "id":"ED",
    "value":"0x00000000"
    },
    {
    "idx":33,
    "id":"EQ",
    "value":"0x00000000"
    },
    {
    "idx":34,
    "id":"SPEED_FDBK",
    "value":"0x00000000"
    },
    {
    "idx":35,
    "id":"THETA_EST",
    "value":"0x00000000"
    }
    ],
    [
    {
    "idx":0
    }
    ]
    ]
    }

  • Hi John,

    Thanks for sharing details. I will check JSON and reply to you.

    Thanks and Best Regards

    Venkatadri S