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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/28/05 04:42
Read: times


 
#92504 - Hmm, still not much to work with
Responding to: ???'s previous message
Well, you only have one byte of receive buffering provided by the 8051. So, if after dispatching your subroutine you do not return to your loop in time to catch the next byte, you lose it. That can be a problem. Interrupt-driven serial I/O can help you out by making sure you always grab incoming bytes as they become available in SBUF. In all but the most trivial applications, this is usually necessary, along with a software FIFO/UART in which to store those bytes. In addition, for applications where the microcontroller must perform significant processing on the data received, it may be necessary to implement flow control or some kind of request-response protocol in your application to prevent overflow of the buffer.

--Sasha Jevtic

List of 10 messages in thread
TopicAuthorDate
Downloading data serially            01/01/70 00:00      
   Not enough information            01/01/70 00:00      
      Re:Not enough data...            01/01/70 00:00      
         Hmm, still not much to work with            01/01/70 00:00      
         step by step            01/01/70 00:00      
   as I keep saying            01/01/70 00:00      
      Simulating            01/01/70 00:00      
         Keil Simulator            01/01/70 00:00      
      good, but..            01/01/70 00:00      
   It must be me            01/01/70 00:00      

Back to Subject List