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.

CCS/TMS320F280049C: 280049c

Part Number: TMS320F280049C

Tool/software: Code Composer Studio

Hi

according to motorcontrol_sdk hal.h 

"//! \brief Defines the gpio for the enable gate of DRV device

//!
#define HAL_DRV_EN_GATE_GPIO 28

"

is gpio 28 for switch enable?

if yes wy in hal.c it is not mentioned?

// No Connection
GPIO_setMasterCore(28, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_28_GPIO28);
GPIO_setDirectionMode(28, GPIO_DIR_MODE_IN);
GPIO_setPadConfig(28, GPIO_PIN_TYPE_STD);

Kind regards

  • That depends on what kit are you using. The GPIO28 is used for Gate Driver Enable Control for LaunchPad_F280049C+DRV8320RS, and its configuration is as below. The code you posted above is for high voltage kit. We will add the related switch setting in the hardware guide accordingly as you mentioned. Thanks!

    // GPIO28->DRV-EN for J5/J6 connection
    GPIO_setMasterCore(28, GPIO_CORE_CPU1);
    GPIO_setPinConfig(GPIO_28_GPIO28);
    GPIO_writePin(28, 1);
    GPIO_setDirectionMode(28, GPIO_DIR_MODE_OUT);
    GPIO_setPadConfig(28, GPIO_PIN_TYPE_STD);