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.

TMS320F28377S: RTOSINT operation sequence

Part Number: TMS320F28377S

How does interrupt work when the Vector ID 16 (RTOSINT) in the CPU Interrupt Vector is activated?

It seems to activate RTOSINT with 'asm(" TRAP #16")' in code for context switch used to implement RTOS programs.

I would like to know how this interrupt continues.

  • Are you asking how this interrupt is implemented in TIRTOS?

    In a no-RTOS environment, you can register a handler in PIE for this interrupt add your own service routine, similar to other interrupts

    Regards,

    Veena

  • Since we havent heard from you for the last few weeks, I assume the issue is resolved. I am closing this thread. If you are still facing the issue, please reject the resolution and replay to this thread, or create a new thread.

    Thanks,

    Veena

  • TIRTOS is not used. What is the source(e.g. Timer) of the RTOS interrupt and what is the condition?

    When using real -time debugging with JTAG, should RTOSINT and ERTM(Enable Global Realtime Interrupt DBGM) be activated together?

    If RTOSINT works, should the user implement context switching?

  • RTOSINT is not connected to the timer. IN the newer devices, it is connected to ERAD module, which is not present in this device.

    If you want to use this interrupt, you need to write your own ISR. The hardware does not do any context switching by default. In case of FreeRTOS based projects CPUTIMER2 INT is used for context witching, RTOSINT is not used

    For real time debugging, RTOS interrupt need not be enabled.

    Regards,

    Veena