Hi guys,
I am trying to configure/use a dmtimer using DSP/BIOS 6 timer module:
Below is a snippet of my :
#include <ti/sysbios/timers/dmtimer/Timer.h>
#include <ti/sysbios/hal/Hwi.h>
Timer_Handle timerHandle;
void fxn( UInt32 TimerPeriod)
{
Timer_Params timerParams;
ti_sysbios_hal_Hwi_Params HwiParams;
UInt key;
ti_sysbios_hal_Hwi_Params_init(&HwiParams);
Timer_Params_init(&timerParams);
timerParams.periodType = Timer_PeriodType_MICROSECS;
timerParams.hwiParams = &HwiParams;
timerHandle = Timer_create(Timer_ANY, slpm_TimerExpireFxn, &timerParams , NULL );
. . .
But I am getting an exception in run time in the Timer_create():
E_exception: id = 3, pc = 0000cipc_proc_sync_start failed: status [0xffffffff]
Do you know If I am missing something?
Thanks in advance.