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-F67641: EVM430-F67641 sample code bug

Part Number: EVM430-F67641

Dear Team 

Good day 

Our customer use the EVM430-F67641 for testing , when open the eww file. There is no harmonic function in the left file directory. If you add it manually, the compilation will report an error. If you do not add this file, you will not report the error. The function of this file is related to G algorithm, FFT, and should be useful.

PER_ CHANNEL_ Facts and PER_ PHASE_ CURRENT_ Channels is undefined and does not know the value .

Line 369 defines phases [3], the structure array, but there is no current element  in the structure, so an error is reported. The structure is defined in the metrology-structs.h.

struct phase_parms_s

{
    struct phase_readings_s readings;
#if defined(ENERGY_SUPPORT)
    struct phase_energy_s energy;
#endif
#if defined(ESP_SUPPORT)
    struct esp_phase_metrology_s metrology;
#else
    struct phase_metrology_s metrology;
#endif
    /*! \brief Status bits */
    uint16_t /*volatile*/ status;

};

Please help the customer to confirm these 2 query.

Best regards

Leon.liu

  • Hello,

    Which code are you using? There may be different versions depending on if the code is from the EVM product page or an associated TI reference design. Also, there may be some features in the code that exist as placeholders but were never fully tested.

    Regards,

    James

**Attention** This is a public forum