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.

[参考译文] TMS320F28379S:需要 TMS320F28379S 帮助

Guru**** 2030840 points
Other Parts Discussed in Thread: TMS320F28335, TMS320F28379S, CONTROLSUITE, C2000WARE, SYSCONFIG
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1106448/tms320f28379s-tms320f28379s-help-needed

器件型号:TMS320F28379S
Thread 中讨论的其他部件:TMS320F28335controlSUITEC2000WARESysConfig

尊敬的 TI:

我已经为 TMS320F28335制作了标量控制代码、我在其中使用 了 f2833xpwm.h 驱动程序文件。 我必须对 TMS320F28379S 执行相同的操作、但无法找到任何  f2837xpwm.h 或类似文件。 请告诉我如何操作。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Pratyush、

    该文件位于:C:/ti/C2000/controlSUITE/device_support/F2837xS/V210/F2837xS_headers/include/F2837xS_epwm.h

    如果您使用的是 controlSUITE、我只想让您知道 controlSUITE 未得到维护。 所有新器件和错误修复都在 C2000Ware SDK 中完成。 因此、我建议您在新项目中使用 C2000Ware SDK。 可从此处下载:  

    https://www.ti.com/tool/C2000WARE

    如果您已经使用 C2000Ware SDK、则可以在以下位置找到该文件:

    C:/ti/C2000/C2000Ware_4_01_00_00/device_support/f2837xs/headers/include/F2837xS_epwm.h

    谢谢、此致、

    桑托什

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Santosh、

    我正在使用 f2833xpwm.h 中的 PWM_init_macro、f2803xpwm.h 中也存在此类文件类型、但 f28379s 没有此类库文件。 这是 f2833xpwm.h 的代码 f28379中是否有类似之事?  

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /* ==================================================================================
    File name : F2833xPWM.H
    Target : TMS320F2833x family
    ===================================================================================*/
    #ifndef __F2833X_PWM_H__
    #define __F2833X_PWM_H__
    #include "f2833xbmsk.h"
    #include "f2833xdrvlib.h"
    /*----------------------------------------------------------------------------
    Initialization constant for the F2833X Time-Base Control Registers for PWM Generation.
    Sets up the timer to run free upon emulation suspend, count up-down mode
    prescaler 1.
    ----------------------------------------------------------------------------*/
    #define PWM_INIT_STATE ( FREE_RUN_FLAG + \
    PRDLD_IMMEDIATE + \
    TIMER_CNT_UPDN + \
    HSPCLKDIV_PRESCALE_X_1 + \
    CLKDIV_PRESCALE_X_1 + \
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Pratyush、

    这些宏不适用于较新的器件。 如果这是新器件、我建议使用最新的 C2000Ware、它支持所有外设的 SysConfig (基于 GUI)配置。 请看一下。