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.

MCF8316A: GUI cannot read and write registers

Part Number: MCF8316A
Other Parts Discussed in Thread: MSP430FR2355, MSP-EXP430FR2355, MCX8316AEVM,

Hi Team,

The customer follows the description in the guide, connects the hardware, and connects the 10V power supply between VBAT-PGND. Then uses the Micro-USB cable to connect the computer and evaluation board. A green light appears on the GUI graphical interface. The lower left corner shows that the hardware is connected and the serial port baud rate is 9600. At this time, he clicks Read All Registers and waits for more than three minutes, but no read register is displayed and the D6 indicator light does not light up.

Best regards,

Annie Liu

  • Hi Annie,

    Thank you for your question! Most of the team is out over the holidays and will be returning January 2nd, so responses may be delayed during this time. We will look into your request and provide a response hopefully the first week of January. 

    Regards,

    Anthony Lodi

  • Hi Anthony,

    Thanks for your message. 

    Additionally, The driver is installed with CDM212364 and the GUI version is 1.1.9. Unable to read and write registers during motor startup, still unable to communicate.  It is TI EVM, The customer considers that the firmware of MSP430 should be good.

    Regards,

    Annie Liu

  • Hi Annie,

    Thanks for the additional information! The team will look into this once they come back from the holidays. 

    Regards,

    Anthony Lodi

  • Hi Anthony,

    May I know is there any update for this issue?

    Regards,

    Annie Liu

  • Hey Annie,

    We will aim to provide an update this week. 

    Best,
    Akshay

  • Hi Akshay, 

    The customer tried to unplug the jumper cap and use another MCU to directly communicate with MCF8316 through i2C, but there was no ACK from the time the ID was sent to the end of reading. Referring to the specification, in order to maintain communication stability, he implemented a 100us delay between each byte transmission. VBK was 3.3V, DVDD was 1.5V, AVDD was 3.3V. When idle, the I2C pin level on the evaluation board was 3.3V, and the pull-up was normal.

    Bet regards,

    Annie

  • The customer wants to re-burn the firmware of MCx8316AEVM through MSP-EXP430FR2355. He downloaded the firmware of <0243.MCx8316AEVM_MSP430FR2355_Firmware>, but this firmware repeatedly reported assertion failures during compilation. Could you possibly share the latest MCx8316AEVM IIC evaluation board firmware upgrade package link, or upgrade the firmware?

    Best regards,

    Annie

  • Hi,

    1. Customer ordered several new MCF8316A. The part number is MCF8316A1V, but the top side marking on the evaluation board is PMCF8316A0V. Does this have any impact?

    2. After replacing the MCF8316, the registers can be read and written, but the D2 red light is on. MPET IPD fault [MPET_IPD_Fault] when reading register. According to the instructions in the tuning guide, the customer first tries multiple restarts and then gradually increases the MPET IPD current threshold [MPET_IPD_CURRENT_LIMIT] to the maximum of 2A. Neither solved the problem. According to the motor manual, he wrote that the phase resistance is 0.84Ω and the phase inductance is 0.312. The IPD fault still exists.

    3. After replacing the MCF8316, although communication is possible, the motor cannot be started due to a fault. Even after replacing it with the original 8316A, the IPD still failed. Can the MCF8316A still drive the motor without writing any parameters? Can MCF8316A still drive the motor without writing any parameters, but it just cannot make the motor work in the best condition? Or is it unable to drive the motor before writing complete parameters? (PS: The resistance value of the resistor on the measurement board is normal, and the capacitor is not short-circuited. MCF8316A has been soldered at low temperature many times, and false soldering is temporarily excluded. DVDD is 1.5V, AVDD is 3.3V, VBK is 5V, VBAT and VM are all 14.99V)

    Regards,

    Annie

  • Hi Annie,

    Apologies for the delayed response.

    Regarding the GUI connection issues, please refer to this E2E FAQ for more details. It also includes the MSP430 firmware and instructions for programming the communication interface that are compatible with the old and new version of the GUI.

    Regarding to the motor startup failure, the MCF8316A needs to have the motor resistance, motor inductance, motor back-EMF constant, speed loop Kp and speed loop Ki programmed correctly in order to proceed to normal operation. If any of one these parameters is 0, then the device will run MPET to automatically measure these values.

    If the customer has the motor datasheet, they can enter the parameters directly after loading the default register settings in the GUI. Manually measuring the parameters is also an option. Please refer to this E2E FAQ for info on the motor parameters.

    Regards,
    Eric C.

  • Hi Eric,

    Ok, FGOUT pin output motor speed (Hz), how do I convert the frequency of this pin into mechanical speed (RPM), my motor pole number is 7, there is no option of 7 pole number in [FG_DIV], I choose 6 pole number, this option indicates the division by 3, then the FGOUT pin frequency is measured at 200Hz, So how do I figure out the RPM?

    Regards,

    Annie

  • Hi Annie,

    The equation for converting from electrical frequency in Hz to motor mechanical frequency in RPM is:

    The FG_DIV allows you to divide the FG signal by the number of motor pole-pairs, which would give you rotations per second (RPS). To get RPM, you would then multiply the RPS value by 60.

    Important to distinguish between motor poles or pole-pairs.

    Generally, motors are designed with even numbers of poles, so I think your motor probably has 7 pole-pairs, or 14 poles. In this case, you would choose the "Divide by 7 (14-pole motor mechanical speed)" option for FG_DIV. After this, your FG pin would be outputting the motor speed in RPS.

    The MCF8316A doesn't have an option to output FG in RPM, so you will have to monitor the FG frequency and convert RPS to RPM yourself.

    Regards,
    Eric C.