This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC3200-LAUNCHXL: FreeRTOS V8.0.1

Part Number: CC3200-LAUNCHXL


Tool/software: Code Composer Studio

Hi,

I am running an RTOS task which takes inputs form UART1, UART0 

I have connected both of these UART's with micro controllers , Well the task run smoothely whwn I am using one of the UART, but it fails to run when both UARTS are running 

I am using MSGQ to communicate between the task and ISR I am filling MSGQ at ISR and reading at the Task.

my code is as follows

int initUart1(void)
{
MAP_UARTDisable(UARTA1_BASE);
MAP_UARTConfigSetExpClk(UARTA1_BASE,MAP_PRCMPeripheralClockGet(PRCM_UARTA1),
9600, (UART_CONFIG_WLEN_8|UART_CONFIG_STOP_ONE|UART_CONFIG_PAR_NONE));
MAP_UARTFlowControlSet(UARTA1_BASE, UART_FLOWCONTROL_NONE);
MAP_UARTFIFODisable(UARTA1_BASE);
MAP_UARTIntEnable(UARTA1_BASE, UART_INT_RX/*|UART_INT_RT*/);
MAP_UARTIntRegister(UARTA1_BASE, Uart1IntHandler_t);
return 1;
}

void Uart1IntHandler_t(void)
{
data = MAP_UARTCharGet(UARTA1_BASE);
*(buffer_k + index_of_buffer_k) = data;
index_of_buffer_k++;

if (index_of_buffer_k==20)
{
index_of_buffer_k=0;
osi_MsgQWrite(&kMsgQ,( void * )buffer_k ,OSI_NO_WAIT);

}
}

as explained above works perfectly alone but combining this code with similar another UART is the issue