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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/03/06 13:26
Read: times


 
#113567 - Some possibilities
Responding to: ???'s previous message
As Erik suggested - why can you not just use 2 stop bits. As for as the receiver is concerned, there is an extra 1 bit time between characters. In many instances this is an acceptable solution.

As Joe mentioned, the 16550 solution ties up a lot of port pins, that may or may not be a problem for you. apart from that, technically, it is not an issue to interface a 16550 to most 8051s. You have the choice of using the external bus feature of the 8051 (using movx) or bit-bashing the bus interface and saving an extra ic (assuming you have no other external devices like ram or eprom).

Another solution worth considering is to use a bit-bashed (software) uart. No extra hardware needed, just a bit of software and some careful thinking. Receiving using a software uart can sap quite of bit of the cpu's performance so you have to balance your requirements. Expect to consume around 50% of the cpu's performance using a 12 clock cpu and 9600baud. If your application can tolerate such a penalty, then maybe this is the easiest and most cost effective route. There are examples of software uarts here and eleswhere on the web. I think Philips also had some app notes from many years ago describing this method.




List of 32 messages in thread
TopicAuthorDate
Interfacing 16550 to 80c51            01/01/70 00:00      
   use an SPI UART            01/01/70 00:00      
      Why not an 16550            01/01/70 00:00      
         parallel - serial vs serial -serial            01/01/70 00:00      
         I hope you have the datasheet            01/01/70 00:00      
            well, in this case            01/01/70 00:00      
               That's my point ...            01/01/70 00:00      
                  if he wants to make crap, help him make            01/01/70 00:00      
                     There's no accounting for taste.            01/01/70 00:00      
                        External uart            01/01/70 00:00      
                        a LPC            01/01/70 00:00      
                           Well, that's an option, BUT ...            01/01/70 00:00      
                              My opinion: (1) nor valid (FedEx) (2) un            01/01/70 00:00      
                                 this may be wandering off topic, but            01/01/70 00:00      
                                    many            01/01/70 00:00      
                                       Tested or "seemed to work" ?            01/01/70 00:00      
                                          "try it and ship it"            01/01/70 00:00      
                                             where you sit determines what you see            01/01/70 00:00      
                                                I think apples and oranges            01/01/70 00:00      
                                                   that's the source of the trouble ...            01/01/70 00:00      
   SPI or I2C to UART            01/01/70 00:00      
   Pins, Area, EMI            01/01/70 00:00      
      can't you just specify 2 stop bits?            01/01/70 00:00      
         no i cant            01/01/70 00:00      
            Some possibilities            01/01/70 00:00      
               80c51 Software UART            01/01/70 00:00      
            Why not?            01/01/70 00:00      
               is this not being one of the "folks" Quo            01/01/70 00:00      
   what device does not like 2 stop bits?            01/01/70 00:00      
      Just a guess ...            01/01/70 00:00      
   Schematic for 16550/8051            01/01/70 00:00      
      16550/8051 example            01/01/70 00:00      

Back to Subject List