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.

MSP430F6779: MSP430F6779

Part Number: MSP430F6779
Other Parts Discussed in Thread: MSP430F5529, UNIFLASH

Hi TI Support Team,

Here we are using the MSP430F6779 IC and the Energy Measurement Design Center software for energy measurement applications.

We followed the steps mentioned in the Energy Measurement Design Center Guide and here's what we are getting on our GUI.

Here, the HID device is shown as 'HID connected' but the MCU name and firmware version is not visible as shown in the guide.

Current:

Expected:

We have checked the UART ports of both, the HID bridge and MSP430F6779 individually by programming them with TI example UART echo code.

Both boards' UART ports were functional where the data sent on TX was successfully received on RX. 

Are we missing something here?

Kindly advise.

  • I think you may need to reprogram the MSP430F6779 using the code generated by GUI, not a "UART echo code"

  • Yes, we programmed the MSP430F6779 using the code generated by GUI.

    It gets connected but the device name and firmware version is not visible.

    Which is why we used the UART echo code to check the UART functionality of both the boards.

    This UART check was advised by a TI expert Mr. Vikas Chola. 

  • I just want to double check the HID bridge is based on F5529?

  • Yes, the HID Bridge is based on MSP430F5529.

    And it was successfully connected to our MSP430i20240 Energy Meter Board where the device name and firmware version was visible. 

  • Can you try to remove the F6779 to seen whether it is still to show  "HID connected". I think yes, as I remember.

    I would assume the connection between HID bridge and F6779 may have some problem.

  • Yes, you are right. When you just connect connect the HID Bridge, it shows HID connected.

    Without giving the AC connections, I just shorted the GND pins on both sides of the isolator (common GND). 

    I did the same for the 3.3V supply on both sides.

    This is what I get on the GUI:

    Firmware version is matching with the one mentioned in the guide but the Device Name is 'Unknown Device (0)' instead of MSP430F6779.

    What could be the reason for this?

  • I am not sure if you can check this function in debug mode to see what happens without AC connected.

    I think you need to check whether the UART send the wanted data using an oscillascope.

  • Hi thanks a lot Eason.

    Once I entered the debug mode, the device was recognized as MSP4306779.

    Thanks again for your help.

    Now we are getting a setup ready to supply 3 phase AC and from there on in we will proceed with the calibration.

  • Hi.

    We get values of all 3 phases in the results tab of the Energy Meter Design Center GUI when the Energy meter IC is entered into debug mode via the programming connector: 

    But when we flash the same code, disconnect the programming connector, and give the AC supply, the device is recognized but no values are observed in the results tab:

    To carry out our tests we need to give 3 phase AC supply but we cannot keep the Energy meter IC in debug mode as we cannot connect the programming connector while there's AC coming on the board.

    Any clue on why the results appear only in debug mode and not in the flash mode?

    We even tried generating the txt file and programmed it using Uniflash but even in this case, the values did not appear. 

  • Can you check if the device works well? You can use LED toggle to do that.

  • Yes, the device works well.

    As we did not have a LED on the board, we generated a square wave on the UART TX and it worked well in both debug and release mode.

    We are unable to figure out why the the results aren't appearing in the Energy Meter Design Center GUI when the device is programmed in release mode. Even the device name and firmware version does not get recognized when we just connect the HID bridge to our energy meter board. As soon as we connect the programmer and enter the device into debug mode, the device gets recognized as MSP4306779 with the correct firmware version. The debug mode is acting as some kind of a trigger for the device to work.

    Any clue on why this might be happening? 

  • If so, my quesiton is that in release mode, the UART will send nothing? 

    Can you add a gpio toggle into the UART receive code and check under release mode?

**Attention** This is a public forum