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.

Compiler/TMS570LS3137: What is setting has to be done for generating the sys_vim.c in Helcogen?

Part Number: TMS570LS3137

Tool/software: TI C/C++ Compiler

Dear Sir,

I am tring to debug example code sci. But in output i, after decremented two length, it is going in infinite loop. In that i have set TX INT . but sys_vim.c is not generated automatically by helcogen. Can you tell me which setting should i do that i can generate sys-vim. c by helcogen. so when i called interrupt it should be go there. 

  • Hello Krunal,

    1. Enable SCI2 driver under "Driver Enable"
    2. enable the TX INT in "SCI2" configuration window
    3. Enable channel 13 (LIN Level 0) or channel 27 (LIN level 1) under "VIM Channel 0-31" window
    4. After the project is generated, port it to CCS
    5. In main() function, enab;e interrupt by calling "_enable_IRQ()"