Hello,
I tried with configuring the HWI on Cortex-A15 for UART1 event on DRA75X board with the below configuration.
in .cfg file
var Hwi = xdc.useModule('ti.sysbios.family.arm.gic.Hwi');
in .c file
Error_Block eb;
Hwi_Params hwiParams;
unsigned int key;
Hwi_Handle hwhandle;
/* Construct Hwi object for this UART peripheral. */
Hwi_Params_init(&hwiParams);
hwiParams.arg = (UArg)handle;
hwiParams.eventId = 67;//intNum;
hwiParams.enableInt = TRUE;
hwiParams.maskSetting = Hwi_MaskingOption_SELF;
Error_init(&eb);
hwhandle = Hwi_create(62, (Hwi_FuncPtr)ptr, &hwiParams, &eb);
but it is not working as expected. control never come to ISR routine. is there any setting to be done CPINTC?.
The same code is worked for C66x with xdc.useModule('ti.sysbios.family.c64p.Hwi');
Thanks,
Ramesh.S