mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
At higher speeds, it seems we are turning off the transmitter before we are enabling the receiver. Unfortunately the TXEN bit in the uart mode register is read-only, so we don't really know if the transmitter is enabled or not. It seems we can simply keep transmitter + reciver running at the same time, and use the TXEMPTY bit as reliable means to determine if we're busy transmtting.