probably the UART port goes to sleep mode.
you can see here:
either you can try to set -1 to “autosuspend_delay_ms”
Or you can use a timer to periodically wake up the UART in the program by tcflow()
probably the UART port goes to sleep mode.
you can see here:
either you can try to set -1 to “autosuspend_delay_ms”
Or you can use a timer to periodically wake up the UART in the program by tcflow()