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/TMS570LS0432: VIM question in HalCoGen

Part Number: TMS570LS0432
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello, TI Engineers

I want to find the details about _enable_IRQ() for VIM. And if I want to use a interrupt source for multiple tasks, how to set in VIM? should I write functions by myself? Or I could just set in VIM. It means that multiple tasks have the same priority in VIM.

Thanks and Regards!

Xinyu 

  • Hello Xinyu,

    The HALCoGen generates ISR if you enable the interrupt under VIM-Channel x tab. The ISR is located in the peripheral driver, for example, can.c or gio.c. Those ISR can be used in your tasks.

    The freeRTOS uses RTI timer0 and counter0 with it's own ISR (vPortPreemptiveTick defined in os_portasm.asm).