Other Parts Discussed in Thread: TM4C1231H6PM
Copied working code from a project using a TM4C1231H6PM. Initialization code is:
SysTickIntRegister(SysTickISR);
SysTickPeriodSet(GetClkSpeed()/100); // Interrupt every 10ms. (convert uS to mS), keep
SysTickIntEnable(); // in sync with TICK_TIME_MS in tick.h
SysTickEnable();
IntMasterEnable(); // Master enable interrupts
for(Loop=0; Loop<400000; Loop++);
u32 SysTickCtrl = HWREG(NVIC_ST_CTRL);
SysTickCtrl is 65543 (decimal), which is COUNT set so it has rolled over, CLK_SRC = System Clock, INTEN = true, ENABLE=true
But the interrupt service routine is never called. the system clock is 20MHz.
????
Thanks, Doug