New implementation of SW UART