Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/08/07 22:46
Read: times


 
#146798 - UART TX ready
In the '51 UART, you have the TI0 and RI0 to tell you if something has been transmitted or received, respectively.

I tried scouring the docs for a register which would be set when the TX buffer was empty. Is there such a thing for the '51? If there is not such a thing, then do you have to pair a timer (running at the desired baud rate) to keep polling? But then how can you tell the difference (if TI0 is 0) between the TX being idle or the TX being actually in the middle of doing something?

List of 7 messages in thread
TopicAuthorDate
UART TX ready            01/01/70 00:00      
   you are describing TI            01/01/70 00:00      
   Tutorials            01/01/70 00:00      
   which derivative?            01/01/70 00:00      
   I don't think there's a "TX buffer" ...            01/01/70 00:00      
      a Hard lesson I learned long ago            01/01/70 00:00      
   Thanks everyone for your help!            01/01/70 00:00      

Back to Subject List