According to figure 20-12 of the User's Guide, you should write TXBUF before waiting for UCTXSTT to clear. This code doesn't do anything after the repeated start. Don't you want to read something?
↧