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.

MCF8316AEVM: GUI Connectivity Issue

Part Number: MCF8316AEVM
Other Parts Discussed in Thread: MCF8316A

Hello TI experts, 

I'm facing issue with MCF8316A GUI. It shows a connectivity issue and prompts to restart GUI. 

I have tried with offline GUI rev 1.1.8,1.1.9 and on cloud too. Offline GUI rev 1.1.8 was working fine for me before. But now nothing is working.

Error screenshot attached is for cloud GUI but same error is observed for offline versions too. 

EVM settings file with which I was able to run motor successfully is also attached. 

regs (5) working - Copy.txt
{
  "signature": "oneui-register-data",
  "data": [
    [
      {
        "idx": 0,
        "id": "isd_config",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "rev_drive_config",
        "value": "0x00000000"
      },
      {
        "idx": 2,
        "id": "motor_startup1",
        "value": "0x00000000"
      },
      {
        "idx": 3,
        "id": "motor_startup2",
        "value": "0x00000000"
      },
      {
        "idx": 4,
        "id": "closed_loop1",
        "value": "0x00000000"
      },
      {
        "idx": 5,
        "id": "closed_loop2",
        "value": "0x00000000"
      },
      {
        "idx": 6,
        "id": "closed_loop3",
        "value": "0x00000000"
      },
      {
        "idx": 7,
        "id": "closed_loop4",
        "value": "0x00000000"
      },
      {
        "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": "0x00000000"
      },
      {
        "idx": 12,
        "id": "speed_profiles5",
        "value": "0x00000000"
      },
      {
        "idx": 13,
        "id": "speed_profiles6",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "fault_config1",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "fault_config2",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "pin_config",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "device_config1",
        "value": "0x00000000"
      },
      {
        "idx": 2,
        "id": "device_config2",
        "value": "0x00000000"
      },
      {
        "idx": 3,
        "id": "peri_config1",
        "value": "0x00000000"
      },
      {
        "idx": 4,
        "id": "gd_config1",
        "value": "0x00000000"
      },
      {
        "idx": 5,
        "id": "gd_config2",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "ana_trim3",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "ana_trim4",
        "value": "0x00000000"
      },
      {
        "idx": 2,
        "id": "ana_trim5",
        "value": "0x00000000"
      },
      {
        "idx": 3,
        "id": "ana_trim6",
        "value": "0x00000000"
      },
      {
        "idx": 4,
        "id": "ana_trim7",
        "value": "0x00000000"
      },
      {
        "idx": 5,
        "id": "ana_trim8",
        "value": "0x00000000"
      },
      {
        "idx": 6,
        "id": "ana_trim9",
        "value": "0x00000000"
      },
      {
        "idx": 7,
        "id": "ana_trim10",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "int_algo_1",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "int_algo_2",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "gate_driver_fault_status",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "controller_fault_status",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "algo_status",
        "value": "0x00000000"
      },
      {
        "idx": 1,
        "id": "mtr_params",
        "value": "0x00000100"
      },
      {
        "idx": 2,
        "id": "algo_status_mpet",
        "value": "0x4A000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "dev_ctrl",
        "value": "0x00000000"
      }
    ],
    [
      {
        "idx": 0,
        "id": "algo_ctrl1",
        "value": "0x80000000"
      },
      {
        "idx": 1,
        "id": "algo_ctrl2",
        "value": "0x00000000"
      },
      {
        "idx": 2,
        "id": "current_pi",
        "value": "0x00000000"
      },
      {
        "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": "0x00000000"
      },
      {
        "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": "0x00000000"
      },
      {
        "idx": 7,
        "id": "voltage_gain_feedback",
        "value": "0x00000000"
      },
      {
        "idx": 8,
        "id": "vm_voltage",
        "value": "0x00000000"
      },
      {
        "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": "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"
      }
    ]
  ]
}

  • Hi Rahul,

    Thanks for posting your question in MD forum. Do you see "Hardware connected" displayed on bottom left of the screen before this window popped up? Did you see this issue when you tried sending any I2C data to the device using the GUI? Can you check if the LED D6 is turned ON when you connect the USB to your computer? 

    Regards,

    Vishnu

  • Hello Vishnu,

    LED D6 glows red after I connect USB to my computer. It starts blinking when "hardware connected" message is seen on bottom left. 

    The error screen pops up if I try to import saved registers .json file or

    when I click "read from EEPROM: button on top center. Bottom left corner shows message in red color "initial read failed". and then GUI error pops up. 

    I have attached both screen shots when HW is connected successfully and EEPROM read fails. 

    Please let me know if you need more information to solve this. 

    Thanks.    

  • Hi Rahul,

    Thanks for the details. Looks like the MCF8316A IC on the EVM is not responding.

    1. Can you check the voltage on FB_BK, AVDD and DVDD? Voltages on these pins should be 5V, 3.3V and 1.8V respectively.
    2. Did you see this issue after testing the EVM out of the box or were you able to communicate earlier?
    3. Can you click the "Find address" button in the I2C section of the GUI to check the I2C target address of the IC?
    4. What is the GUI version that you are using? 

    Regards,

    Vishnu

  • Hi Rahul, 

    Please let us know if the latest response has addressed your question, or if you have further information to provide so that we can further debug. If your problem has been resolved, please help mark the thread as resolved.

    Thanks and Best Regards,
    Andrew

  • Hello Andrew, 

    Issue is still ongoing. When I click " find adress" on gui, it connects well and I am able to perform guided tuning with spinning too. 

    However if I attempt to read any register, then I get GUI connectivity issue. The EVM behavior is random right now and I need some more time to solve this issue. 

    Answer to Vishnu's questions in previous reply: 

    1. All voltages are correct as mentioned. 

    2. I was able to spin motor out of box when I received. 

    3. Find address works and I can go through guided tuning but any attempt to read register gives me gui connectivity issue. Im not performing auto read since I'm already aware that it doesn't work with this evm. 

    4. I have tried with offline gui 1.1.8, 1.1.9 and cloud gui too.

    Do you recommend that I update MSP430 firmware on evm? Is this a known issue? 

    Answer to Vishnu's questions in previous reply: 

    1. All voltages are correct as mentioned. 

    2. I was able to spin motor out of box when I received. 

    3. Find address works and I can go through guided tuning but any attempt to read register gives me gui connectivity issue. 

    4. I have tried with offline gui 1.1.8, 1.1.9 and cloud gui too.

    Please let me know. 

  • Rahul,

    Did you ever over-write to the existing/factory programmed EEPROM? If so then there is a possibility of I2C target address to  be overwritten. After clicking the "Find address" did the GUI report the correct I2C target address? Can you share the message in the pop-up window after you click the "find address" button? 

    Regards,

    Vishnu