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/TMS320F28027F: How to move the lab11e CCS project to F28027F?

Part Number: TMS320F28027F

Tool/software: Code Composer Studio

Dear TI team,

I want modify lab11e (F28069F) CCS project to F28027F,

Could you have any user guide or reference manual can teach me for this issue?

about HW, I can use LAUNCHXL_F28027 (add Hall sensor circuit) with   Boost8305.

  • Not support lab11e on LAUNCHXL_F28027 since there is no enough GPIOs as the interface to the hall sensor. You just need to change the HAL_HallGpio_A/B/C definition in hal.h according to the selected GPIO for the input of the hall sensor, and reuse the proj_lab11e.c as other labs for F28027F.

  • Dear Yanming,

    I know set Hall sensor for GPIO define in project, but I don't know how to change F28069F to F28027F,

    I just change .cmd file , but after compiler project and program to F28027F device, it can't run in debug mode,

    There are more setting CCS project for F28069F to F28027F,

    Could you suggest me how to change project to F28027F.

    #ifdef JH_QEP_1

    //! \brief Enumeration for the Hall GPIO numbers
    //!
    typedef enum
    {
    // HAL_HallGpio_A=GPIO_Number_20, //!< GPIO pin number for Hall Sensor A
    // HAL_HallGpio_B=GPIO_Number_21, //!< GPIO pin number for Hall Sensor B
    // HAL_HallGpio_C=GPIO_Number_23 //!< GPIO pin number for Hall Sensor C
    //For new definition F28027F===========>
    HAL_HallGpio_A=GPIO_Number_12, //!< GPIO pin number for Hall Sensor A
    HAL_HallGpio_B=GPIO_Number_17, //!< GPIO pin number for Hall Sensor B
    HAL_HallGpio_C=GPIO_Number_34 //!< GPIO pin number for Hall Sensor C

    } HAL_HallGpio_e;

  • You may have a look at the motorware_hal_tutorial.pdf documention in below folder in motorware, that should help to know how to configure the GPIO. Sorry, we can't help to change any codes according to the customer's system.

    C:\ti\motorware\motorware_1_01_00_18\docs\tutorials