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.

TMS320F28379D: Nesting interrupts with the USER software interrupt

Part Number: TMS320F28379D

Hello TI,

I am working on my minimalist RTOS for the C2000 DSP and, I have a question about the USER nesting interrupt.

My task is triggered using the USER interrupt, and the scheduler uses the Timer1 interrupt.

I remark that in some time, the Timer1 interrupt is not reaching the CPU and the Timer1 period is not respected. when the task takes more time using USERs interrupts the issue appears.

The thing is, the user interrupt masks the external Timer interrupt,

My question is if I activate the nesting interrupts, could my Timer1 interrupt be triggered when the USER interrupt is running?

The Timer period is 200us, for this example, things are good because the task load is low.

0 is the toggle GPIO in timer 1 interrupt.

1,2 and 3 are 3 tasks with 1, 2, and, 3 time periods of 1*200us.

taks1 : priority 1 period 1*200us

taks2 : priority 2 period 2*200us

taks3 : priority 3 period 3*200us

When The tasks load gets higher,

Regards,

Thank you in advance

S.Tarik