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.

Hardware Abstraction Layer Code Generator tool for TMS320F28388D

Other Parts Discussed in Thread: TMS320F28388D, TMS570LC4357, HALCOGEN, C2000WARE, SYSCONFIG

Hello,

I want to use  ti Chip TMS320F28388D. To use this chip, I want to know there is any Hardware Abstraction Layer Code Generator tool for TMS320F28388D?

For example, I use the TMS570LC4357 before. There is HalCoGen tool which is Hardware Abstraction Layer Code Generator tool. So, I can set device setting very easy.

If there is no Hardware Abstraction Layer Code Generator tool for TMS320F28388D, I use the sample driverlib in C2000ware for set Hardware Abstraction Layer of TMS320F28388D?

Moreover, If I want to change the Hardware Abstraction Layer of TMS320F28388D, I change the code(with C language) for reference in C2000ware ?

Regards,

Minwoo

  • Minwoo,

    C2000 has similar support as HALCOGEN in SYSCONFIG tool.  You can access this as part of the cloud tools https://dev.ti.com/sysconfig/ , as a separate download https://www.ti.com/tool/SYSCONFIG or inside CCS in the resource explorer menu option.

    You can then add this to a new or existing project in C2000Ware.

    We have a training module on the above inside of C2000 Academy here https://dev.ti.com/tirex/explore/node?node=ABXaI-LVhig8B710ppMc.A__jEBbtmC__LATEST

    Let me know if you have more questions after you've checked out the above.

    Best,

    Matthew

  • Hello, Matthew

    Thanks for your kind answer. 

    I understand I can use SYSCONFIG for setting C2000 Hardware abstraction Layer.

    In using this program, I have some questions.

    in example codes in C2000Ware_4_00_00_00, when I import the project there are drive library as code. So  I can set device driver set detail.

    But, in the generated code by SYSCONFIG, I just check the init code. 

    1. To use SYSCONFIG, the detailed setting of chip is using by SYSCONFIG and import .sysconfig. I just use "~init.c" code in my project?

    2. If the step 1. is alright. How I can act the driver code? I cannot find the code that how to use the setting driver. 

    Regards,

    Minwoo

  • Minwoo,

    Your above statements are correct, in order to invoke the init.c that was created by SysConfig you will call  Board_init(); function.  We typically insert this after the existing device_inits as shown in the code snippet below.

    //
        // Initialize device clock and peripherals
        //
        Device_init();
    
        //
        // Disable pin locks and enable internal pullups.
        //
        Device_initGPIO();
    
        //
        // Initialize PIE and clear PIE registers. Disables CPU interrupts.
        //
        Interrupt_initModule();
    
        //
        // Initialize the PIE vector table with pointers to the shell Interrupt
        // Service Routines (ISR).
        //
        Interrupt_initVectorTable();
    
        // Call into the SysConfig generated source code.
        Board_init();