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: Is it possible to use the GUI to the newly designed PCB?

Part Number: MCF8316A
Other Parts Discussed in Thread: MSP430FR2355, , MCF8316C-Q1, MCF8315A

Hi everone.

I would like to design the circuit on the new PCB using MSP430FR2355 and MCF8316A. I saw the following statement in EVM Datasheet.


If I flash firmware on the MSP430FR2355 using MSP430 LaunchPad, can I run the motor through the GUI? The firmware is the data in the attachment to the MCF8316AEVM.


Also, when I flash like this, can I make the motor operate if I turn on the power without any further manipulation?

  • Hello Kitae,

    If I flash firmware on the MSP430FR2355 using MSP430 LaunchPad, can I run the motor through the GUI?

    You should be able to run the motor through the GUI as long as the MCF8316AEVM firmware is flashed onto the MSP430FR2355, the USB to UAT converter is able to support a baud rate of 460800, and a resonator of 4MHz is connected to pins 8 and 9. For recommended hardware and layout, please refer to the MCF8316AEVM's hardware files. The firmware also sets up some GPIO that you many not need, in these cases you should be able to leave the pin floating or change the pins configuration in the firmware.

    Also, when I flash like this, can I make the motor operate if I turn on the power without any further manipulation?

    So long as you write the desired register configuration of the MCF8316 into its EEPROM, the motor should spin with out need of further manipulation upon power up.

    Regards,

    Joshua

  • Thanks.

    I have more question,

    1. Looking at 8.2.1.6 in the datasheet, I think MCF8316 can read rotor angle with DACOUT. But the register (736h) is not shown in the MCF8316 dataset, is there any way to read rotor angle from MCF8316?

    2. Could you tell me the specific method of the second answer? How can I flash the register settings to MCF8316?

  • Hi Kitae,

    1. Looking at 8.2.1.6 in the datasheet, I think MCF8316 can read rotor angle with DACOUT. But the register (736h) is not shown in the MCF8316 dataset, is there any way to read rotor angle from MCF8316?

    The MCF8316A does not have a DACOUT pin, to read the estimated theta angle you will have to read the value within the THETA_EST (736h) register using the equation EstimatedAngle (°) = (THETA_EST / 227) * 360°.

    To output the estimated angle in the form of an analog signal you will have to use the MCF8316C-Q1. You can then input the address into either of the DAC registers (DAC_1 or DAC_2) to have the DAC pin output an analog signal based on the value in the register address programmed into DACOUT#_VAR_ADDR.

    2. Could you tell me the specific method of the second answer? How can I flash the register settings to MCF8316?

    You can follow the instructions in section 7.6.1.1 of the MCF8316A datasheet to see the steps required to write the desired register configuration into EEPROM. Basically you will need to first write the desired register configuration to the device, then write 0x8A500000 into register 0xEA to write the register values into the EEPROM. After you write the resisters to EEPROM you should wait at least 100ms. You can then power cycle the MCF8316A and you should be able to read the registers and see the information that was written to EEPROM instead of the previous default values.

    Regards,

    Joshua

  • Oh, thank you for your answer.

    Are MCF8316A and MCF8316C-Q1 different products? Can't you drive MCF8316C-Q1 with 'Motor study'? I'm probably going to use the part, but if it's impossible to drive with the software, I'm curious about how to drive it.

    Is it possible to drive MCF8316C-Q1 by just setting the register value in the EEPROM with supplying the power?

  • Hi Kitae,

    Are MCF8316A and MCF8316C-Q1 different products?

    The MCF8316A and MCF8316C-Q1 are different products. We made improvements to the MCF8316C-Q1 based on learnings from the MCF8316A and MCF8315A, a summary of the major firmware improvements can be seen below:

    We also added functions pins 36-39 on the MCF8316C-Q1 to support DACOUT functions with pin 39 being an ALARM pin.

    Can't you drive MCF8316C-Q1 with 'Motor study'?

    The latest version of Motor Studio supports the MCF8316C-Q1.

    Is it possible to drive MCF8316C-Q1 by just setting the register value in the EEPROM with supplying the power?

    With the EEPROM programmed, which can be done in Motor Studio, with the desired register settings, the MCF8316C-Q1 can drive a motor without any I2C communication or a GUI.

    Regards,

    Joshua