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.

What is the interrupt source of HWI in this C674x project ?

Other Parts Discussed in Thread: SYSBIOS

Hi,

I create a simple SYS/BIOS project following RTOS on line video to toggle a LED on L138 LCDK board. The computer has CCS 5.5.0, Windows 7 OS. 

After I create HWI in .cfg with:

var hwi0Params = new Hwi.Params();
hwi0Params.instance.name = "Timer0_34_INT";
hwi0Params.eventId = 4;
hwi0Params.priority = 5;
hwi0Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_ALL;
Program.global.Timer0_34_INT = Hwi.create(5, "&ledToggle", hwi0Params);

I do see that LED is dimmed when the program runs. I think it is caused by LED toggle. And it can stop at  HWI ISR breakpoint. The mysterious thing to me is that I have not set Timer0 yet. When DSP runs at outside of ISR, I can see that IE5, IE14 of IER are enabled, they are diabled while inside HWI ISR.

Is Timer0_34_INT an internnal defined handle of Timer0?

Even I create Timer0 module, I don't see how to connect it to HWI. (It seems that SYS BIOS6 is not as easy as DSP BIOS5 to me).

2210.blink_app.cfg

5466.lab6_blinkmain.c

Thanks,