MSP430I2041: Canot connect from board to energy measurement design center

Part Number: MSP430I2041
Other Parts Discussed in Thread: MSP-EXP430F5529LP, UNIFLASH, EVM430-I2040S

Tool/software:

Hello everyone,
I design an application about energy metering, using MSP430i2041 as controller.
I use energy measurement design center to configuration and create project base on CCS, upload program to controller is ok.
I can not connect to controller via energy metering design center, using MSP-EXP430F5529LP as HID device, no response from my device.
Pls help me to debug.
- I also upload the programm via CCS, or via Uniflash ->Upload ok.
- I have an IAR based program for EVM430-I2040S (program for reference but it can handle on my board), it can work (communication via uart with calibrator, upload program...)

  • Is it possible to debug the CCS code after connecting the HID and GUI.

    On my side, it doesn't have any problem with CCS version code.

  • I just exported the code from the Energy Design center and compiled it with CCS without modifying the code, then put the program into the MCU.

  • I understand that, sorry I haven't meet such question. No more idea from my side. Maybe can you try the latest CCS?

  • My CCS version is  Version: 12.7.1.00001, I think it is newest.

    If no more ideas from your side, can you share me the tested software for MSP430i2041? I know that the input sensor setting involved, the pins may be different but I can use the software to test the communication.

  • Energy mesurement app must  using 3rd a board like MSP-EXP430F5529LP , while same uart connection from device to HID device (MSP-EXP430F5529LP), and then from HID device to computer, is more complicate. Last time, many energy measurement ref design of TI can communicate directly from computer to device, it's very simple.

  • I found the example on Measurement design center folder and after flashing the device with .txt file, the device works and can communicate with computer nomal. But after using this example to generating code, compiling with CCS, the device cannot communicate with computer

    I think there is wrong setting in CCS? Please help me.

  • I don't think you need to do any configuration on the CCS. It is same to other projects. Can you check the compiler side, to see if there is any problem.

    Close the optimization:

    I know it is not convenient to have another HID board for development. However, it is limited by the GUI which can only recognize the HID interface.

  • After doing some debugging, I realized that the connection from the device to the computer was too slow or can't working because the MSP430i had a very high CPU load, 83% when configured as 3C + 1V sensor input. When reduced to 1C + 1V sensor input, the CPU load was only 27.43% so it could connect to the computer quickly.

**Attention** This is a public forum