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.
HI everyone
I use matlab 2022a. test on F28379D Launchpad
I use CLA task trigger source for epwm1 for toggle led, it's ok
but when i use C28x_Hardware_Interrupt block trigger epwm6 interrupt, cla_subsystem not operation, led not toggle.
i remove the interrupt vector of epwm6 cla_subsystem operation, led toggle.
when i use matlab 2021a i can use CLA and epwm interrupt. How to fix this issue
Hi,
We have forwarded your query to the Matlab expert. Please expect a response by next day.
Regards,
Veena
Dang,
I have sent email to MathWorks team to help us here. We should expect response by tomorrow.
Dang,
We did not get any response from MW team yet. Let m send another reminder.
Thanks & Regards,
Santosh
Hi Dang,
I just email from MW team that they are looking into the issue and will response soon. Sincere apology for late resolution of the issue.
Thanks & Regards,
Santosh
Dang,
MathWork engineer and I look at the issue. We noticed that you have provided models on MathWork forum. Ram Alla @ MathWorks form is reviewing the models and respond after reviewing the model.
Thanks & Regards,
Santosh
Dang,
I am sorry for not getting response. I just sent another reminder to MathWorks team.
Hi Dang,
Looks like it is a bug in the TI C2000 support package as the Epwmx interrupt is not cleared once the ISR is serviced.
We will work on this issue to fix it at the earliest. But meanwhile, you may use the custom code approach as a workaround to clear the Epwmx interrupt.
This can be done by using system outputs block inside CLA_Task_1 with the below mentioned code:
EALLOW;
EPwm1Regs.ETCLR.bit.INT = 1;
EDIS;
Please let us know if this workaround has resolved the issue and Thank you for bringing the issue to our notice.
Best Regards,
Ram Alla
thank you very much. i already test. it's work, but i use system outputs block outside cla
Dang,
I am glad it works for you. Does that resolve your issue or you need further assistance from MathWorks team?
Thanks & Regards,
Santosh
Hi Santosh
That's answer resolve my issue, t will check when i use more timer with CLA. you please note to MathWorks team fix this bug and update to next version support packages for TI C2000
Thanks Dang, for confirmation. I will close the thread.
I will let you know when I hear from MathWorks team about the fix. Really appreciate your patience and sincere apology for late responses.
Regards,
Santosh