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.

TMS320F28388S: Simulink IRQ1 Interrupt Timing Settings (simple settings) available in Coder tool?

Part Number: TMS320F28388S

TI Friends and Family,

So, our customer is working with Mathworks Simulink (Coder) alongside our TMS320F28388 MCU.  They have a question on how to simply change timing settings for the C2000 IRQ1.  I took this inquiry to the Simulink online Q&A but received a message saying that without a license I cannot proceed.

TY,
CY

I am using a trial version of Simulink but our customer is using full paid versions. THey are working on a TI C2000 project in Simulink but cannot find an easy way to set the timing of an Interrupt (IRQ1 for instance). This page shows the configuration of other parameters (such as CPU interrupt numbers, PIE interrupt numbers, task priorities and preemtion flags) but not simple IRQ timing settings. Is that something pulled from the CCS project itself or is there a simple Simulink button or setting that can enable that?

https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ref/c28xhardwareinterrupt.html

Thanks!
  • Chris,

    Most of those interrupts in the link are the ones driven from the periperhals, but if the customer is looking for a period ISR they could use the CPU Timer module and enabled its associated ISR in the table you've shown.  The CPU Timer HW should have its own configuration block in Simulink.  They could also use a PWM if they don't need all of them for their control system as well.

    Let me know if this is on the right track.

    Best,

    Matthew

  • Thanks Matthew, understood and appreciate the reply on this one.

    -Chris