Part Number: SYSBIOS
Other Parts Discussed in Thread: IWR1642BOOST,
Tool/software:
Hi,
I want to run a periodic task in the ARM core of IWR1642BOOST. I am using the following code to implement this
1 ; When I run the code, I am getting the below error :
ti.sysbios.family.arm.v7r.vim.Hwi: line 271: E_undefined: Hwi undefined, intnum: 3
xdc.runtime.Error.raise: terminating execution
The error is coming from C:\ti\bios_6_73_01_01\packages\ti\sysbios\timers\rti|\Timer.c (Timer_Instance_init),
I saw similar errors in other posts, I checked the solutions and none of them solves the issue I am seeing.
Also noticed that the intnum specified is not 3 in most of the cases.
2. in the function Timer_Instance_init(), the control is going to else condition even though I have specified Timer_RunMode_CONTINOUS
hwiParams.arg = (UArg)obj;
if (obj->runMode == Timer_RunMode_CONTINUOUS) {
obj->hwi = Hwi_create (obj->intNum, Timer_periodicStub,
&hwiParams, eb);
}
else {
obj->hwi = Hwi_create (obj->intNum, Timer_oneShotStub,
&hwiParams, eb);
}
if (obj->hwi == NULL) {
return (4);
}
This is not the main issue. However I am wondering why is it going to else condition.
I am doing debugging in CCSStudio.
Can you please help me debug further
Also, Can you share the example code that uses timer for IWR1642BOOST? Currently I referred the code from SYSBIOS Doc.
Thanks
Regards
Gayatri
I saw other posts in