Part Number: EK-TM4C1294XL
Tool/software: Code Composer Studio
Hi,
I have issue with UART0 interrupt not working / not reading any data because when I enable the Timer1_TIMA timer periodic every 1ms blocks execution of UART0 and go to FaultISR().
but when i disable the timer the UART0 works fine, is there any one faced issue like this before and how it has been solved?
here is copy of timer function code,
void Timer1_T3_5Configure(float T3_5)
{
uint32_t Period = 120000; //1ms
Period = (120000 * T3_5) / 1000;
SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER1);
TimerConfigure(TIMER1_BASE, TIMER_CFG_PERIODIC);
TimerLoadSet(TIMER1_BASE, TIMER_A, Period - 1);
IntEnable(INT_TIMER1A);
IntPrioritySet(INT_TIMER1A, 0x01);
TimerIntEnable(TIMER1_BASE, TIMER_TIMA_TIMEOUT);
// enable timer while there is no char on UART port and will be disabled each UART char received
TimerEnable(TIMER1_BASE, TIMER_A);
}
Thanks
HANI