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.

MCF8315A: the motor cannot spin

Part Number: MCF8315A

Hi Team,

Custom board: the customer designed a PCB with MCF8315A, 12V powered, following data sheet to configure parameters and I2C, Vbuck voltage can be configured to 3.3V output. But the motor cannot spin and I2C cannot communicate with ALGO_CTRL1 configured to 0x40000000, read and write both failed. 

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    While attempting to read and write to the device what is the voltage at the FB_BK, AVDD, and DVDD pins?

    Please attempt to communicate with the MCF8315A using every possible I2C address in case the I2C address of the MCF8315A was overwritten by accident.

    Regards,

    Joshua

  • Hi Joshua,

    Thank you for the support.

    what is the voltage at the FB_BK, AVDD, and DVDD pins?

    FB_BKD voltage is 5V, AVDD is 3.3V and DVDD is 1.5V.

    The address is indeed overwritten. The main problem now is that the motor cannot spin anyway. I2C communication is now good, but no outputs are available for A, B, and C. The customer is trying to configure I2C mode and PWM mode, but neither will allow the motor to spin. 

    Thanks and regards,

    Cherry

  • Hi Cherry,

    What is the voltages at the BRAKE and DRVOFF pin when the attempting to spin the motor? If the voltage at the DRVOFF is not less than 0.25*AVDD the outputs will be Hi-Z. If the voltage at the BRAKE pin is not less than 0.25*AVDD the motor will be in Brake Mode.

    Regards,

    Joshua

  • Hi Joshua,

    What is the voltages at the BRAKE and DRVOFF pin when the attempting to spin the motor?

    The customer pulls brake and DRVOFF directly to GND. 

    They are also wondering if there is a easier way to configure the parameters and is there a specified configuration process available? 

    Thanks and regards,

    Cherry

  • Hi Cherry,

    We have a tuning guide for the MCF8315A that can help with understanding how to configure the device. If this does not help the customer to be able to spin their motor can they answer the following questions:

    1. Is there a fault being reported by the MCF8315A when attempting to spin the motor?
    2. When attempting to spin the motor what is the value of the ALGORITHM_STATE register?
    3. Can they provide a capture of the OUTx and FG signals when attempting to spin the motor?

    Regards,

    Joshua

  • Hi Joshua,

    We have a tuning guide for the MCF8315A that can help with understanding how to configure the device.

    Configure as shown in the table below but it still doesn't work:

    Address Name Address Recommended Value
    ISD_CONFIG 0x00000080 0x64738C20
    REV_DRIVE_CONFIG 0x00000082 0xA8200000
    MOTOR_STARTUP1 0x00000084 0x0B6807D0
    MOTOR_STARTUP2 0x00000086 0xA306600C
    CLOSED_LOOP1 0x00000088 0x0D3201B5
    CLOSED_LOOP2 0x0000008A 0x9BAD0000
    CLOSED_LOOP3 0x0000008C 0x00000000
    CLOSED_LOOP4 0x0000008E 0x00000000
    SPEED_PROFILES1 0x00000094 0x00000000
    SPEED_PROFILES2 0x00000096 0x00000000
    SPEED_PROFILES3 0x00000098 0x00000000
    SPEED_PROFILES4 0x0000009A 0x00000000
    SPEED_PROFILES5 0x0000009C 0x00000000
    SPEED_PROFILES6 0x0000009E 0x00000000
    ALGO_CTRL1 0x000000EA 0x00000000
    FAULT_CONFIG1 0x00000090 0xBEC80106
    FAULT_CONFIG2 0x00000092 0xF0D00888
    PIN_CONFIG 0x000000A4 0x00000000
    DEVICE_CONFIG1 0x000000A6 0x00000000
    DEVICE_CONFIG2 0x000000A8 0x0000B000
    PERI_CONFIG1 0x000000AA 0xC1C01F00
    GD_CONFIG1 0x000000AC 0x9C450100
    GD_CONFIG2 0x000000AE 0x80200000
    INT_ALGO_1 0x000000A0 0xA433407D
    INT_ALGO_2 0x000000A2 0x000001A7
    MTR_PARAMS 0x000000E6 0x00000000
    • Is there a fault being reported by the MCF8315A when attempting to spin the motor?
    • When attempting to spin the motor what is the value of the ALGORITHM_STATE register?
    • Yes, it will report error.
    • Algorithm_State displays motor_MPET_key_measurement, provided all HW_lock_ILIMIT_MOD is set to 9h. 

    Thanks and regards,

    Cherry

  • Hi Cherry,

    Please check the fault being reported by checking which bit is high in both the CONTROLLER_FAULT_STATUS and GATE_DRIVER_FAULT_STATUS registers. Once the fault being reported is determined please refer to our debug guides for suggestions on how to handle faults.

    Based on the Algorithm_State being in an MPET measurement mode I would recommend looking at section 2.6 of the MCF8315A tuning guide for suggestions on how to resolve MPET faults and other common faults. We also have a FAQ on handling common MCx faults which covers additional common faults.

    Regards,

    Joshua

  • Hi Joshua,

    Thank you for the response.

    What is the maximum speed of the motor that the 8315 can control? Max_speed shown on the document is 14bit, that is, only 16000 rpm? 

    Thanks and regards,

    Cherry

  • Hi Cherry,

    Please refer to this E2E post to calculate the maximum electrical speed in Hz.

    The MAX_SPEED register sets the maximum speed in electrical Hz. The max speed that can be set by this register is 16383 Hz.

    Regards,

    Joshua