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.

TIDM-THDREADING: Regarding THD implementation for msp430f67791a

Part Number: TIDM-THDREADING
Other Parts Discussed in Thread: MSP430F67791A, MSP430F6779

Hello,

  I am currently working on evm430-f6779 energy meter board where in the controller is msp430f67791a and not msp430f6779. 

So I followed the instructions given in the TIDM thdreading source code file and compiled it using IAR software. I am currently on free trail version so IAR was able to build all the files successfully. I downloaded the file onto msp430f67791a controller by doing the following configurations. Is the following configuration correct?

Secondly, for observing the results on GUI, it was given in the instructions to use any i2040 GUI for the purpose thus the following GUI had 3 files of which common voltage files was installed.

Thus after debugging, I tried to connect the evm with only one phase voltage on SD2 pin and tried to observe THD on GUI but the connection between GUI and controller was unsuccessful. Is there any configuration to be done before using GUI for evm430f67791a. ( I configured the COM port correctly )

Also will the following code work with single phase connection where in rest is unconnected.

Thanks,

Avinash

  • Hello, could anyone help me with this?

    Thanks 

  • Hello, Avinash. The configuration should be fine if it was the default with the project. Regarding the GUI connection, you should not have to do anything except set the COM port correctly. The system should work just fine without other phases connected. You should only see 0V and 0A readings.

    Regarding the GUI connection failure, can you clarify a little more? Do you see an error message when the software starts?

  • Hello,

    The given program on IAR is for MSP430F6779 I think, so I configured it for MSP430F67791A as following in the image in previous post.

    Well for GUI, according to the given instructions, I installed the GUI given for i2040 in common voltage reference mode( shown in image in previous post). But when I connect the rs232 cable to my PC and give supply, the GUI doesn't detect the controller for some reason. I configured the COM port properly as the given instructions. Is it something related to flashing that my GUI doesn't detect my controller?

    I flashed the controller by downloading and debugging the IAR program. Is there anything else to be done to flash? Also I was not able to watch live expressions on IAR where as it was possible in CCS (EMDC generated programs). I am using a custom board based on given resources by Ti.

    Also since nowadays, CPU's don't have the rs232 pins, so is there any way I could get rid of this rs232 interface?

    Thanks

    Avinash