Hi
SDK Used : simplelink_cc13xx_cc26xx_sdk_7_10_01_24
Code Used : simple_peripheral_LP_CC2652R7_tirtos7_ticlang
We are using UART communication between processor and CC2652R7 MCU. We are using UART2.h library for UART interface. Here "UART2_read" will be in blocking call. While transmitting data from Processor we are able to receive using "UART2_read" API. 80% It is working properly. Sometime While transmitting data from Processor This "UART2_read" is not triggering to read the data but, while performing 2nd transmit from processor we are receiving both the data .
Example:
1st Transmit from processor (20 bytes) sent successfully - But Not received on MCU
2nd Transmit from processor (20 bytes) sent successfully - Received together of both the data (40 bytes )
Why sometimes It is happening like above scenario ? Please help us to solve this problem.
UART Configuration Used in my code :
UART2_Params params;
UART2_Params_init(¶ms);
params.baudRate = 115200;
params.readMode = UART2_Mode_BLOCKING;
params.writeMode = UART2_Mode_BLOCKING;
Uhandle = UART2_open(CONFIG_UART2_SOC, ¶ms);
if(Uhandle == NULL)
{
gcam_printf(LOGE, "UART Open error ...!");
}


