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-SERVER-PWR-MON: MSP430i2040

Part Number: TIDM-SERVER-PWR-MON

Hi

Does TIDM-SERVER-PWR-MON support SAG/SWELL, the metrology section shows it is implemented, but application is referencing to already built library.

 

What command required to read SAG/SWELL event?

 

Thanks

Venkat

  • Hi Venkat,

    You can find functions related to sag and swell in the 'emeter-dlt645.c' file. This file implements the communication protocol on top of the UART interface. More specifically, Lines 240 and 241 load parts of a message with sag and swell events using the "sag_events(phx)" and "swell_events(phx)" functions, where "phx" represents the phase (most likely 0 here). In the 'metrology-readings.c' file, I found some functions/structures related to the sag/swell duration as well. I would recommend using the "Edit" -> "Find and Replace" -> "Find in Files" feature in IAR. In case I missed something, you can search for "sag" and "swell" throughout the project.

    Hopefully this helps.

    Regards,

    James

    MSP Customer Applications

  • Hi James

    This application has included compiled library for metrology and tool kit, I believe application may have this available for calling, as per slau587.pdf HOST_CMD_GET_METER_CONFIGURATION feature 3 responds with SAG/SWELL event
    Thanks
    Venkat

**Attention** This is a public forum