C28x-Scheduler Options
Use scheduler options to specify the base rate of your model. An interrupt can be used as a base rate trigger source for the scheduler. The scheduler options available are:
Timer 0
—The default option to schedule all synchronous rates present in your model with CPU Timer 0. When you select this option, the CPU Timer 0 is set according to the base rate of the model.ADCINT1
—The option to schedule all synchronous rates present in your model with ADC interrupt 1 (ADCINT1). When you select this option, make sure that ADCINT1 triggers periodically at base rate used in the model.ADCINT2
—The option to schedule all synchronous rates present in your model with ADC interrupt 2 (ADCINT2). When you select this option, make sure that ADCINT2 triggers periodically at base rate used in the model.ADCx1_INT
—The option to schedule all synchronous rates present in your model with ADC interrupt (ADCx1_INT). When you select this option, make sure that ADCx1_INT triggers periodically at base rate used in the model.ADCx1_INT, where x can be A,B,C or D and varies depending on the processor selected.
Note
The interrupt used to schedule the base rate trigger option in Hardware implementation > Operating system/scheduler > Base rate trigger must not be used to configure the Hardware Interrupt block. For example, if you configure Timer 0 as
Base rate trigger
, you should not use CPU no =1 and PIE number =7 to trigger timer0 interrupt ISR from Hardware interrupt block in the model.
Warning
Replacing the default scheduler interrupt source Timer 0 with ADCINT1 or ADCINT2 is an advanced setting. Ensure that you configure ADCINT1 or ADCINT2 to trigger periodically at the specified base rate. If the ADCINT1 or ADCINT2 does not trigger periodically or triggers at a different rate from the base rate, the model execution on the target is unpredictable.