Other Parts Discussed in Thread: EK-TM4C123GXL
Hello all,
I have a EK TM4C123GXL launchpad board.
I'm trying to enable several UARTs at once, preferably all f5 which I can access. I had the uart_echo program for UART0 which worked fine; then I tried modifying it for UART1 and it worked too.
But the thing is, i can't seem to configure multiple UART modules at once. If I write
IntEnable(INT_UART0);
UARTIntEnable(UART0_BASE, UART_INT_RX | UART_INT_RT);
IntEnable(INT_UART1);
UARTIntEnable(UART1_BASE, UART_INT_RX | UART_INT_RT);
the program gets stuck. Any one set of statements seem to work fine, i.e., if I enable interrupts for ONLY UART0 or UART1, it works fine. But both of them can't work at the same time.
Can someone please help me with what is going on and what to do , perhaps a detailed tutorial, or maybe even a multiple UART example?
Thanks a lot!!!