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.

TMS320F28386D: Differences for f2838x_epwm_defines.h driver file between c2000ware rev 3.4 and c2000ware rev 4.0 SDKs

Part Number: TMS320F28386D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Dear experts,

I noticed some differences in f2838x_epwm_defines.h driver file during the porting of the project from SDK  c2000ware rev 3.4 to c2000ware rev 4.0.

  Here below the differences.

 

Specifically, I noticed that some defines have been removed in the new rev.

May you explain me the reason behind this choice?

These defines are necessary in my project because I configure the bitfields of the registers involved.

Waiting for a your feedback....

Regards,

Benito

  • Dear experts,

    any news about my query?

    Regards,

    Benito

  • Hi Benito, 

    I don't recall we had these Macros in the first place. I double checked by installing the 3.4 version of the C2000ware. Could you re-check if these are manually added Macros by the user themselves? 

    thanks and regards,

    Madhava

  • Dear Madhava,

    these Macros have not been manually added. 

    They are original Macros of the TI library to configure the EPWM regs.

    They have been removed in the C2000ware rev 3.0 or latest. 

    Waiting for a feedback.

    Kind regards,

    Benito 

  • Hi Benito,

    Could you please mention the C2000ware version that you were using where the macros are present ? 

    thanks,

    Madhava

  • The MACROS are present in the C2000Ware v3.04.00.00 

    //###########################################################################
    //
    // FILE:   f2838x_epwm_defines.h
    //
    // TITLE:  #defines used in EPwm examples
    //
    //###########################################################################
    // $TI Release: F2838x Support Library v3.04.00.00 $
    // $Release Date: Fri Feb 12 19:08:49 IST 2021 $
    // $Copyright:
    // Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions
    // are met:
    //
    //   Redistributions of source code must retain the above copyright
    //   notice, this list of conditions and the following disclaimer.
    //
    //   Redistributions in binary form must reproduce the above copyright
    //   notice, this list of conditions and the following disclaimer in the
    //   documentation and/or other materials provided with the  
    //   distribution.
    //
    //   Neither the name of Texas Instruments Incorporated nor the names of
    //   its contributors may be used to endorse or promote products derived
    //   from this software without specific prior written permission.
    //
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    // $
    //##########################################################################

    thanks

    Benito

  • Dear experts,

    any news concerning my question?

    Regards,

    Benito