Hey,
I want to create a Hwi in my SYS/BIOS application. I tried it like this:
Hwi_Params_init(&hwiParams);
hwiParams.arg = 0;
hwi1 = Hwi_create(67, isr_hwi1, &hwiParams, &eb); // id = 67 should be 1ms Timer
if (NULL == hwi1)
{
System_printf("Hwi_create() failed!\n");
BIOS_exit(0);
}
else
System_printf("Hwi_create() successful!\n");
Hwi_enableInterrupt(67); // optional
void isr_hwi1 ()
{
i++;
// System_printf("hwi running\n");
}
The problem is, that I don`t reach my isr. The interrupt should be generated from a timer module.
So, if I want to generate a interrupt and jump into an isr, must I configure the SoC- Module(Timer, ADC) and how do I do this?
I`m using SYS/BIOS6.33.03.33 with CCS 5.1 on AM3359
Thanks