This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x ICE What timer is available for my use if I am running both SYS/BIOS and LWIP

Hi,

I have an application with LWIP running under SYS/BIOS.  I need a timer with an overflow interrupt available for my use.  I have tried DMTimer3 but when I do LWIP just stops communicating after about a minute also SYS/BIOS seems to stop running tasks.  Also Timer3 gets reprogrammed somewhere in this process.

This is my setup for Timer3

#define MY_TIMER SOC_DMTIMER_3_REGS
#define PRE_SCALER DMTIMER_PRESCALER_CLK_DIV_BY_2

// Init timer

DMTimer3ModuleClkConfig(); // NOTE: This # Must match the chosen value for MY_TIMER
DMTimerReset(MY_TIMER);

// Use at 12.5 Mhz
DMTimerPreScalerClkEnable(MY_TIMER,PRE_SCALER);
DMTimerModeConfigure(MY_TIMER,DMTIMER_ONESHOT_NOCMP_ENABLE);
DMTimerCounterSet(MY_TIMER,0);
// Enable the interrupt on overflow
DMTimerIntEnable(MY_TIMER,DMTIMER_INT_OVF_EN_FLAG);
// Kick it off...
DMTimerEnable(MY_TIMER);
ready = 1; // Up and running

Should I use another timer or what ?

Thanks very much for the help.

--jim schimpf