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

Back to Subject List

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


 
#161544 - Correct!
Responding to: ???'s previous message
Michael Karas said:
The 8051 type UART sending from one part to the UART in another 8051 type part will not mirror the data bits as you think. The bit sent first is also the first bit received.

Michael Karas


I agree - that is precisely the problem - the order of the bits is changed, since A will transmit D0 first and D7 in the end.(Hence the order in SBUF of B will be reverse of the order of the bits in the SBUF of A )

How do I get the original order? (simply moving the contents of SBUF to accumulator and then rotating left (or right) does not seem to work).

List of 9 messages in thread
TopicAuthorDate
Decoding SBUF contents            01/01/70 00:00      
   How will you do that?            01/01/70 00:00      
      Refers to the order of the bits            01/01/70 00:00      
   Not the way UART works            01/01/70 00:00      
      Correct!            01/01/70 00:00      
         No It does not            01/01/70 00:00      
   Reveiving is the reverse process of Transmitting...            01/01/70 00:00      
      Thanks !            01/01/70 00:00      
         RE: totally on the wrong track            01/01/70 00:00      

Back to Subject List