I am trying to configure a Wide Periodic Timer (I require at least 32 bit) with timeout interrupt on the TM4C123GH6PM launchpad in CCS using tivaware. I can not get the timeout interrupt to trigger. Here is my configuration code. What am I missing?
SysCtlPeripheralEnable(SYSCTL_PERIPH_WTIMER0);
SysCtlDelay(5);
TimerConfigure(WTIMER0_BASE, TIMER_CFG_A_PERIODIC);
TimerLoadSet(WTIMER0_BASE, TIMER_A, (80000000/8));
TimerIntEnable(WTIMER0_BASE, TIMER_TIMA_TIMEOUT);
IntEnable(INT_WTIMER0A);
TimerEnable(WTIMER0_BASE, TIMER_A);
In the startup_css.c file, I have also made the following changes,
//*****************************************************************************
//
// External declaration for the interrupt handler used by the application.
//
//*****************************************************************************
extern void Timer0_Handler(void);
........
// In the vector table....
Timer0_Handler, //-------------------- Timer 0 subtimer A