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.

TMS320F28335: While using multiple Hardware interrupt in a Matlab code I am getting this error "only one instance of hardware interrupt is allowed in a model". How can i access multiple Hardware interrupts?

Part Number: TMS320F28335


Tool/software:

I am using DSP F28335 for running my hardware. For my hardware setup i need multiple interrupt each one dedicated to one separate subsystem.

For sensing the inputs i am using ADC interrupt (SOC EPWM_A_EPWM_B) and after sensing the signals i need to make three subsystem that will take some ADC inputs to generate PWM. Each of this subsystem is triggered using one Hardware interrupt from EPWM blocks. But I am not able to access multiple interrupt, it is showing error " only one instance of hardware interrupt is allowed in a model".

How can i have this separate interrupt for each subsystem?

I have  attached the trigger pattern and my code structure as well.EPWM interruptsADC Interrupts Code Trigger structure