Linux: UART user space application.c source code

Tool/software: Linux

Hi Team,

I attached the two uart files for read and write.

1)my problem is after running both read and write from /dev/ttyUSB0, read will work one time and then write will happening. but after write read is not working.

2)sometimes whatever i am write the data read program reading the same data.

3)This is happening when pc and end device communicating through UART.

4)please guide me how to solve the problem.uart_write.cuart_read.c

1 Reply