How do I remove Timer0 from my built code?
Show older comments
Hello Everyone,
I'm using Simulink's Embedded Coder in a motor control application, and I'm trying to integrate ISR's into my model through the hardware interrupt and trigger model blocks. What I'd like to do is this: Create two hardware interrupts to control when I set some sample pins for my resolver (on ADC SOC), and when I actually take a position & velocity reading (on ADC EOC). I only need these two interrupts because they are going to be timed to when the PWM posts an interrupt when it completes, which initializes ADC SOC.
Now, although I only need two ISR's, Embedded Coder is automatically building an additional ISR into the model, Timer0 (at INT1.7 on the TI F28335), and integrating this into the final model. I'd like to delete Timer0, because it is now unnessessary. I'm not sure how to do this. Does anyone know how I can tell my Simulink/Embedded Coder model to not build Timer0 into my model anymore?
Thanks!
2 Comments
Jonathan Lee
on 8 Apr 2013
Jonathan Lee
on 11 Apr 2013
Edited: Jonathan Lee
on 11 Apr 2013
Answers (0)
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!