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.

MSP430 application note on Watt-Hour Meter

Other Parts Discussed in Thread: MSP430F47197

Hi,

There is an Application Report(SLAA409A) for Three-Phase Electronic Watt-Hour Meter Using MSP430,

I get compiler errror with the current version of IAR EW430,

saying "Fatal Error[Pe035] #error directive:Compiler not recognised" 

The report says that the source code is developed in the IAR (v4.11) and says this project could be used 

in the later versions also.

 

Are there anybody who have successfully used this application report with the latest IAR versions?

And is there any plan for TI to release CCSv4 version of this application?

(Even the GUI.exe application doesn't work on my PC.)

 

Thankyou and Regards.

  • Dear Chikk,

    I had same problem,but i solved it.

    To solve this problem open file  isr_compat.h , then change this line

    #elif defined(__IAR_SYSTEMS_ICC__)  &&  (((__TID__ >> 8) & 0x7f) == 43)  &&  (__VER__ < 500)

    to

    #elif defined(__IAR_SYSTEMS_ICC__)  &&  (((__TID__ >> 8) & 0x7f) == 43)  &&  (__VER__ < 600)

    and try to rebuild again

    my best regards

    yours Hamdy

  • Thankyou so much Hamdy,

     

    That solution solves the error,

    I don't understand why this information is missing in the document and 

    will there be a updated version of the application note.

     

    Regards.

    Chikku

     

  • Hi Chikku

    You are Welcome

    I want to build a three phase meter by this chip ? this is my current task in my company ?

    I use this chip MSP430F47197 or another one but in same family.

    I want to speak with you about this project?

    and solve the problems of that Code and Application note together !

    if you accept i will send you my mail .

    best regards

    yours Hamdy

**Attention** This is a public forum