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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/06/09 16:08
Read: times


 
#165110 - howto test input from serial without stop all operations
Responding to: ???'s previous message
Have you looked at the basic tutorials on the 8051 UART yet?

See: http://www.8052.com/forum/read/165109
See also: http://www.8052.com/faqs/120112
and note that there is a whole section of this site's FAQs dedicated to Serial Communications Questions

The RI flag shows when SBUF has a character ready to read; so you could just "poll" this - but you have to be sure that you "poll" it frequently enough to not ever miss a character...

Intead of "polling" RI, you could use an interrupt instead...

See the above references - and there are many, many more about the 8051 UART.

List of 6 messages in thread
TopicAuthorDate
Control program via buttons and via terminal            01/01/70 00:00      
   Good info on this site            01/01/70 00:00      
   Divide and conquer            01/01/70 00:00      
      Control program via buttons and via terminal            01/01/70 00:00      
         howto test input from serial without stop all operations            01/01/70 00:00      
   tutorial, faq            01/01/70 00:00      

Back to Subject List