Hi! I have this in my code for to write in serial port:
while(!TXRX_is_TI_active()); SBUF=b; TXRX_clearTI();
but for to work,i need initialize TI flag . Is OK or is better to change it?
Thanks
That has nothing to do with your project - that is the way that the 8051 hardware works!
"i think that it can be a problem to real comunication"
Not at all - as already noted, plenty of projects manage to use the 8051's UART perfectly adequately!
yes i have confirmed .there is a bug and the communication does not work
Better fix it, then!