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.

TMS320F28374S: sys/bios nesting interrupt

Part Number: TMS320F28374S
Other Parts Discussed in Thread: SYSBIOS

Tool/software:

we use SYS/bois_6_41_04_54

we have six interrupt.

 

BIOS.swiEnabled = false;
BIOS.logsEnabled = false;
var hwi0Params = new Hwi.Params();
hwi0Params.instance.name = "ti_sysbios_family_c28_Hwi1";
hwi0Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_SELF;
hwi0Params.disableMask = 0;
Program.global.ti_sysbios_family_c28_Hwi1 = Hwi.create(34, "&adc_isr", hwi0Params);
var hwi1Params = new Hwi.Params();
hwi1Params.instance.name = "ti_sysbios_family_c28_Hwi2";
Program.global.ti_sysbios_family_c28_Hwi2 = Hwi.create(56, "&ecap_isr", hwi1Params);
var semaphore0Params = new Semaphore.Params();
semaphore0Params.instance.name = "semaphore0";
Program.global.semaphore0 = Semaphore.create(null, semaphore0Params);
var hwi2Params = new Hwi.Params();
hwi2Params.instance.name = "ti_sysbios_family_c28_Hwi3";
Program.global.ti_sysbios_family_c28_Hwi3 = Hwi.create(96, "&sciarx_isr", hwi2Params);
var hwi3Params = new Hwi.Params();
hwi3Params.instance.name = "ti_sysbios_family_c28_Hwi5";
hwi3Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_SELF;
Program.global.ti_sysbios_family_c28_Hwi5 = Hwi.create(98, "&scibrx_isr", hwi3Params);
var hwi4Params = new Hwi.Params();
hwi4Params.instance.name = "ti_sysbios_family_c28_Hwi6";
Program.global.ti_sysbios_family_c28_Hwi6 = Hwi.create(99, "&scibtx_isr", hwi4Params);
var hwi5Params = new Hwi.Params();
hwi5Params.instance.name = "ti_sysbios_family_c28_Hwi4";
Program.global.ti_sysbios_family_c28_Hwi4 = Hwi.create(33, "&adc_isr_fast", hwi5Params);

we want adc_isr_fast() to preempt other interrupt.

we want to choose 'enable interrupt nesting' in , but it cant be choosen. 

we set masking options to maskingOPTION_self.

anyhow , adc_isr_fast() dosenot preempt when other interrupt working.so, what should I do?