Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

issue in initializing UART1 of cc3200 module

$
0
0

Hello,

I am facing an issue in UART1 initialization, the program is going to faultISR while executing the UART initialization function, the main thing is UART1 was working fine few days before But, it's not working now.

the initialization I did

UARTDisable(UARTA1_BASE);
MAP_UARTConfigSetExpClk(UARTA1_BASE,MAP_PRCMPeripheralClockGet(PRCM_UARTA1),
UART_BAUD_RATE, (UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE |
UART_CONFIG_PAR_NONE));


MAP_UARTFIFODisable(UARTA1_BASE);
MAP_UARTFlowControlSet(UARTA1_BASE, UART_FLOWCONTROL_NONE);
MAP_UARTIntRegister(UARTA1_BASE, Uart1IntHandler);
MAP_UARTIntEnable(UARTA1_BASE, UART_INT_RX|UART_INT_RT);
UARTEnable(UARTA1_BASE);

The module is working fine with UART0, but I am facing an issue of UAR1.

please help me resolve the issue.


Viewing all articles
Browse latest Browse all 262198

Trending Articles