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.

EVM430-F6779: Some functionalities of sla577 unclear. Debugging is not possible because IAR is not available

Part Number: EVM430-F6779


Hi,

I am currently looking at the sample code provided by the EVM430-6779. I do not own an IAR-license and have to use the CCS, which is fine, but the project was made with IAR. As a result I can only examine some parts of the code and try to understand what each line of code is doing.

Over time I had a view issues understanding the code, because there are a few macro definitions. One of these macros said "REACTIVE_POWER_BY_QUADRATURE_SUPPORT". I really do not have any clue what "quadrature_support" might be. Could anybody explain to me, what this is or where can I read about it?

Thank you in advance.

Best regards,

Chris

  • Hello Chris,

    Thank you for your post and interest in the EVM430-F6779.

    Christian Schlink said:
    I am currently looking at the sample code provided by the EVM430-6779. I do not own an IAR-license and have to use the CCS, which is fine, but the project was made with IAR. As a result I can only examine some parts of the code and try to understand what each line of code is doing.

    Unfortunately, this source code features support for IAR but not CCS. However, we're actively monitoring requests for CCS support and if anything changes, I'll be sure to update you. For now, I would recommend using IAR as your IDE. Porting the IAR projects to CCS is extremely challenging. For example, the toolkit (mathematical) functions have been implemented in assembly and must be ported. There's some discussion about this in the following thread.

    Christian Schlink said:
    Over time I had a view issues understanding the code, because there are a few macro definitions. One of these macros said "REACTIVE_POWER_BY_QUADRATURE_SUPPORT". I really do not have any clue what "quadrature_support" might be. Could anybody explain to me, what this is or where can I read about it?

    According to page 16 in the Implementation of a Three-Phase Electronic Watt-Hour Meter Using the MSP430F677x(A) user's guide, the REACTIVE_POWER_BY_QUADRATURE_SUPPORT macro is used to configure the meter to calculate the reactive power from the delayed voltage samples by 90 degrees and current samples instead of using the power triangle method.

    More macro descriptions can be found in Section 4.4.

    Regards,

    James

    MSP Customer Applications

  • Hi James,

    thank you for your quick response. I will use IAR until it is official released for CCS.
    Furthermore I was able to locate the code, which does the reactive power calculation by quadrature support. I understand it now.

    Best regards,

    Chris

**Attention** This is a public forum