Interrupt issue (TI C2000 package)

7 views (last 30 days)
Yang ShunFan
Yang ShunFan on 7 Sep 2015
Edited: Yang ShunFan on 7 Sep 2015
Dear sir,
Recently, I am researching TI c2000 package, but I have many confuse for its interrupt function. Please help me to clear this confusion.
1. I try to test the demo, "Asynchronous Scheduling". I use a counter to count the number of ISR, but when I change the period of Timer3 or Timer4, there are no any affect in counter that be used to count the number of ISR. Could you explain it? (I test it in simulation step)
2. In "Asynchronous Scheduling" demo, it select epwm3, epwm4, and CAN0 to trig the interrupt, but when I intentionally change the interrupt source in hardware interrupt block such as ePWM3(3.3) to eCAP1(4.1), it still running properly. Could you explain it? (I test it in simulation step)
3. For TI 28069 MCU, how does I trig the interrupt of Timer 0(1.7)? Typically, we can enable the interrupt in its block such as ePWM, ADC, eCAP, and son on. However, I can't find the block of Timer 0 in Simulink Library browser. Could you explain how to use this interrupt ?
4. In hardware interrupt block, there is a parameter means "Simulink task priorities" that be used for setting priority of interrupt. But as my known, TI's interrupt also has its rule for interrupt, "the smaller value has higher priority." For example (1.1) has higher priority than (3.5). My question is if we enable two interrupts, (1,1) and (3,5), but we set the priorities are 30 and 10. The indeed priority of interrupt will follow which rules? TI or Simulink block parameter?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!