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.

RTOS/TMS320F28069: peripheral interrupt does not trigger bios Hwi

Part Number: TMS320F28069


Tool/software: TI-RTOS

I am trying to merge non-bios code into bios. 

I did not put any PIE initialization in code.

I use .cfg and created a Hwi ISR function for SCI B Rx port. After sci rx interrupt has occured, INT flag did not trigger PIE blocks. ISR fxn was not triggered.

SYS/BIOS 6.70.1.03

XDCtools 3.50.5.12

cfg Script 

Hwi.zeroLatencyIERMask = 0;
Hwi.dispatcherAutoNestingSupport = true;
Hwi.dispatcherSwiSupport = true;
BIOS.logsEnabled = false;
var hwi0Params = new Hwi.Params();
hwi0Params.instance.name = "hwi0";
hwi0Params.enableAck = true;
hwi0Params.enableInt = true;
Program.global.hwi0 = Hwi.create(98, "&ScibReceive_ISR", hwi0Params);

ISR fxn

Void ScibReceive_ISR (UArg arg)
{

Log_info1("Executing in ScibReceive_ISR for interrupt #%d.\n", arg);

}

SCI reg bits state after interrupt flag enabled

ScibRegs.SCIFFRX.bit.RXFFIENA = 1
ScibRegs.SCIFFTX.bit.SCIFFENA = 1
ScibRegs.SCIFFRX.bit.RXFFINT = 1

I have tried manually enable corresponding PIE IFR bit in debug mode. ISR fxn can work.

Can someone help me with what could be going wrong here?