Alright, i have this problem with the SCI1S1 transmission complete flag, because it doesnt clear when its supposed to:
the only way to clear this flag is by writing more data into SCI1D, but sometimes i dont want to write more data and i need it to stop
my teacher demands doing it by interruptions sent by the TC flag but it doesnt work.
so neither by doing a preamble or by queueing a break character doesnt help to clear this TC flag
I think you need to have a look at this similar issue: