Hi everybody
My application running on a SmartRF06EB / CC2650 is connected to a PC and I would like to use the serial port to communicate with the PC. Reading and writing is working "more or less" now, but would like to have it more reliable. How am I supposed to use the UART driver to do parallel read and write? For me this is not clear from this description:
C:/ti/tirtos_simplelink_2_13_00_06/docs/doxygen/html/_u_a_r_t_c_c26_x_x_8h.html
I use UART_read in callback mode and UART_write in blocking mode. After the initialization I do a single UART_read. I the read callback, after processing the data, I call another UART_read. Reading data only works perfectly with that system.
But after a single UART_write, I do not get any more read callbacks. I was able to fix this using a timer that performs a new UART_read every 100ms but that is definitely not the way to go. Do you have any advice?