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,
I have a working Matlab Simulink model for CAN & IPC communication, and using Embedded Code, I managed to compile and build C code for CCS environment. So far so good. Then, I added CPU Timer1 interrupt routine (copied from TI CCS code example). Already configured the CPU Timer1 parameter correctly (proven from another solely CCS project without any components from Matlab model). I noticed that in the CCS project integrated with Matlab Simulink model, the CPU Timer1 interrupt routine cannot be executed. Every time, the program runs the statement to enable CPU Timer1 interrupt as follow
IER |= M_INT13;
the program went to : Illegal Interrupt Handler, and did not execute the interrupt routine defined for CPU Timer1.
Why was that happened ?
Please advise a remedy.
Thank you.
Hi,
Please take a look at the CPU Timer example. from C2000Ware
C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2837xd/examples/cpu1/timed_led_blink
Please take a look at MathWorks FAQ at this link below:
If you have further questions, the best way to get support on MathWorks products is to contact MathWorks live tech support.
You can also search for answers or post a question on MATLAB Answers C2000 forum. Additionally, there is info on MathWorks support C2000 in Documentation and Examples.
I will close the thread from here as the software is supported by MathWorks team on their forum.
Thanks & Regards,
Santosh