Hi,
I am using CCS 3.3 version for EVM6474. Also my application uses DSP/Bios kernel in CORE 0. Since my application needs 200 Micro Seconds resolution, I am going for another hardware Timer (lets say Timer 2).
The Timer interrupt is dispatched with HWI_dispatchPlug() API. In Timer Isr, SEM_postBinary() is called to Trigger a Task which will wait for the Semaphore.
Here the problem starts-> I am getting the Timer interrupt for fixed amount of times only (254 times), also the Task which is waiting for this SEM is getting wake up every 200us (254 times only). After that CORE 0 gets Restarted.
Can u please help me on this Issue.?
Below is my sample code,
VOID DataIf_TimerIsr(VOID)
{
DataIf *pThis = &oDataIf;
SEM_postBinary (&SEM_200us);
nCount++;
LOG_printf(&trace, " Timer ISR: %d", nCount);
}
VOID DataIf_AssemblerTask(VOID)
{
DataIf *pThis = &oDataIf;
while(1)
{
SEM_pendBinary (&SEM_200us, SYS_FOREVER);
LOG_printf(&trace, "Task :%d", nCount);
}
Thanks,
Bala