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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/06/04 06:55
Read: times


 
#78860 - RE: 8051 UART and Microsoft Serial Mouse
Responding to: ???'s previous message
hi,

By the way, this 7-bit transfer (1 start bit + 7 data bits + 1 stop bit) may cause a problem when used with UART of 8051. The reason is that if source device uses continuous stream for sending two or more bytes (for example, when FIFO is used) then 8051 as destination device will not be able to receive data correctly. Here is the example:
- source sends start bit; 8051 detects it;
- source sends 7 data bits; 8051 receives them;
- source sends stop bit; 8051 receives it as 8th data bit;
- source sends start bit of the new transfer; 8051 comes to the trouble! The derivatives which have Frame Error detector activated, report about "invalid stop bit" and lost syncronization with the next byte. Other derivatives just miss the second start bit. In any case, only the first byte has been received [right], other bytes will be wrong.

So be careful when connect to 8051 device with 7+1 bits protocol. However, 8051 works good with 7+2 protocol (where two stop bits are used).

Regards,
Oleg

List of 16 messages in thread
TopicAuthorDate
8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
   RE: 8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
   RE: 8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
      The link            01/01/70 00:00      
         RE: The link            01/01/70 00:00      
   RE: 8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
      RE: Sorry            01/01/70 00:00      
   RE: 8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
      RE: 8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
   BTW: Serial Mouse - not PS/2            01/01/70 00:00      
      RE: BTW: Serial Mouse - not PS/2            01/01/70 00:00      
         RE: BTW: Serial Mouse - not PS/2            01/01/70 00:00      
   RE: 8051 UART and Microsoft Serial Mouse            01/01/70 00:00      
   please verify the bits sent            01/01/70 00:00      
      RE: please verify the bits sent            01/01/70 00:00      
   A Problem at Receiver End            01/01/70 00:00      

Back to Subject List