Other Parts Discussed in Thread: CC2640,
Hi Team,
We are facing one issue with CC2640 related to UART. UART unable to respond to our queries, if queries are sent frequently. During the analysis we came to know that reason of the problem is UART_read( ) call of TI RTOS takes considerably higher time than expected.
BY using CRO, we measured and confirmed the UART_read( ) came out from blocking mode after 28 ms (approx ), after the last bit of Rx byte received.
This experiment conducted at 1200 baud rate.
Has anybody come across this kind of problems?, and any solution or workaround available for this issue?
Device/Test/setup information
Device: CC2640R2L
SDK: simplelink_cc2640r2_sdk_4_20_00_04
Example: Simple Central.
We are using UART as only task (Other tasks disabled to focus on this issue) with following configuration. We did single byte echo experiment in which we observed 43ms to 62mS delay (between Tx and Rx byte in PC serial terminal) in receiving echo.
Same observation we observed with Launch Pad using same example as well as readymade UART Echo from driver example code.
Refer the below code snippet which is used for single byte echo test with CRO
Observations
- After receiving the last bit of the Rx byte, it takes approx. 28 mS to come out from UART_read( ). Refer the time gap between two vertical cursors (28 ms) after the last bit of Rx byte in below picture
- UART_write( ) seems working fine (No additional delay )
Regards,
Bhavin