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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/21/06 13:23
Read: times


 
#124781 - comments and suggested additions
Responding to: ???'s previous message
Software UARTs (also known as "bit-banged UART") are generally tricky to write, can go wrong easily, and even if they work properly they consume a lot of instruction cycles. most put all other processing to a complete halt when operating Generally, it is not recommended to use them. Alternatives are:
use a derivative with more internal UARTs (check out the Chips list)
I'd link to Keil instead, it seems better updated.

attach a small "slave" '51 via SPI or I2C and use its UART (it can even handle part of the protocol on the UART)
The protocol is not "on the UART"

attach an external UART chip, either the 16Cx5y variety (similar to those used in PC, many sources) or any other enhanced type; most of them attached via parallel bus, but there are also SPI/I2C interfaced types available too (by NXP and Maxim) the types with FIFOs make life so much simpler than those without

However, if you are sure you can/have to make a software UART, there are several options how to do so:



every idiot that think he "are sure you have to make" is "sure you can make"

Erik

List of 142 messages in thread
TopicAuthorDate
New FAQ            01/01/70 00:00      
   all well and good            01/01/70 00:00      
      OK, "blinkey" there now :-)            01/01/70 00:00      
   Addedto FAQq            01/01/70 00:00      
      I'd call it...            01/01/70 00:00      
         Agreed            01/01/70 00:00      
            missing quotes            01/01/70 00:00      
               it's not a statement            01/01/70 00:00      
            appended            01/01/70 00:00      
   "bible"&co            01/01/70 00:00      
   Jon's RS232 tutorial            01/01/70 00:00      
   code not work            01/01/70 00:00      
   table lookup            01/01/70 00:00      
   ehanced outputs            01/01/70 00:00      
      and extended...            01/01/70 00:00      
         uln            01/01/70 00:00      
            Problem            01/01/70 00:00      
               This happened to me, too            01/01/70 00:00      
                  Bugs            01/01/70 00:00      
            FAQ updated: freewheeling diode            01/01/70 00:00      
   How do Quasi-Bidirectional I/O ports work?            01/01/70 00:00      
      ... and cross-linked...            01/01/70 00:00      
         Space            01/01/70 00:00      
            RE:Space            01/01/70 00:00      
            Would never do that            01/01/70 00:00      
               Might have to !            01/01/70 00:00      
         And criss-cross-linked...            01/01/70 00:00      
   added me own little bit            01/01/70 00:00      
   Does output logic "low" represent 0V?            01/01/70 00:00      
      Nice contribution!            01/01/70 00:00      
         but not new            01/01/70 00:00      
            ???            01/01/70 00:00      
               well, it got the blues            01/01/70 00:00      
                  Cheer up...            01/01/70 00:00      
                     but certainly not the first            01/01/70 00:00      
   device burning            01/01/70 00:00      
      Come on, Jan...            01/01/70 00:00      
         He, who does the work, makes the choices            01/01/70 00:00      
   level/edge interrupt            01/01/70 00:00      
   Added note on use of TABs            01/01/70 00:00      
   updated "code no work" FAQ            01/01/70 00:00      
   What will happen when I use an RC (or C only) rese            01/01/70 00:00      
      What reset ICs are good for '51s?            01/01/70 00:00      
         These things are not necessary ...            01/01/70 00:00      
            You've opened a can of worms now!            01/01/70 00:00      
            you do not use internal flash, do you?            01/01/70 00:00      
               it's broken            01/01/70 00:00      
            can of worms            01/01/70 00:00      
               Something interesting ...            01/01/70 00:00      
                  to reset or not to reset            01/01/70 00:00      
                     It's cheaper and easier to use the linear PSU            01/01/70 00:00      
                        then you better get a separate supply            01/01/70 00:00      
                           That's exactly correct!            01/01/70 00:00      
                              why don't they put in GOOD resets?            01/01/70 00:00      
                                 The RESET circuit on the Maxim/Dallas parts            01/01/70 00:00      
                              you are TOTALLY missing the point            01/01/70 00:00      
                                 rephrasing            01/01/70 00:00      
                                 depends on what your definition of "it" is            01/01/70 00:00      
                           battery            01/01/70 00:00      
                              I think we know enough ...            01/01/70 00:00      
                                 resets, power sources            01/01/70 00:00      
                                 answered above            01/01/70 00:00      
                        spec for RC            01/01/70 00:00      
                           I've heard that sort of thing before ...            01/01/70 00:00      
         My two cents            01/01/70 00:00      
   How to make a software UART?            01/01/70 00:00      
      comments and suggested additions            01/01/70 00:00      
         many thanks            01/01/70 00:00      
            revised revisions            01/01/70 00:00      
               OK            01/01/70 00:00      
   two "basic" faqs            01/01/70 00:00      
   external memory interfacing            01/01/70 00:00      
   how to expand ports            01/01/70 00:00      
      addition to IO FAQ            01/01/70 00:00      
         pretty good, here are comments            01/01/70 00:00      
            thanks            01/01/70 00:00      
               clarifications            01/01/70 00:00      
            it's there            01/01/70 00:00      
               you're forgetting too much!            01/01/70 00:00      
                  OK sorry            01/01/70 00:00      
                     It\'s just easier to type ...            01/01/70 00:00      
                        what about a 'such as'            01/01/70 00:00      
                           the downside is            01/01/70 00:00      
   "what's wrong with 8255" added            01/01/70 00:00      
      assumes facts not in evidence ...            01/01/70 00:00      
         effective?            01/01/70 00:00      
            not even YOU can deny that ...            01/01/70 00:00      
               well, so is a steamroller            01/01/70 00:00      
                  Just how much would it slow you down?            01/01/70 00:00      
                     well there goes central USA            01/01/70 00:00      
                     standard answer            01/01/70 00:00      
                        it's just another temper tantrum from Erik            01/01/70 00:00      
                           it is not the age it is the speed            01/01/70 00:00      
                              get real, Erik            01/01/70 00:00      
                                 if I did not need the speed, I would use a cheaper            01/01/70 00:00      
                                    what about the other 191 bits?            01/01/70 00:00      
                                       Where did I say ONE?            01/01/70 00:00      
                                          it's 192, not ONE            01/01/70 00:00      
                                             that is IMPOSSIBLE            01/01/70 00:00      
                                                Of course it is, but YOU changed the subject            01/01/70 00:00      
                                                   I had posted a lot then I found this            01/01/70 00:00      
                                                      Finally, I've got your attention!            01/01/70 00:00      
                                                         How does that you 'cite' something make it that I            01/01/70 00:00      
                                                            What do you mean by "speed," Erik?            01/01/70 00:00      
                                                               Gentlemen please            01/01/70 00:00      
                                                                  Yes, it's not pretty            01/01/70 00:00      
                                                                     should we just let such go by?            01/01/70 00:00      
                                                                        When you have no role            01/01/70 00:00      
                                                                           correct ?            01/01/70 00:00      
                                                                              but you still have to answer the question            01/01/70 00:00      
                                                                                 The best choice component should be chosen            01/01/70 00:00      
                                                                                    Not this time!            01/01/70 00:00      
                                                                                       Now once more you 'cite' and becuse I have not            01/01/70 00:00      
                                                                                          if the shoe fits ...            01/01/70 00:00      
                                                                                             Once again, you circumvent            01/01/70 00:00      
                                                                                                nope ...            01/01/70 00:00      
                                                                                                   A paradox            01/01/70 00:00      
                                                                                                      have you ever worked for the pointy haired boss            01/01/70 00:00      
                                                                                                      there's a time for everything            01/01/70 00:00      
                                                               here is why            01/01/70 00:00      
                                                                  and here's how            01/01/70 00:00      
                                                                     a trip down memory lane            01/01/70 00:00      
         the intended audience of the faqs are newbies...            01/01/70 00:00      
            but newbies aren't children, and you mustn't lie            01/01/70 00:00      
            EGAD! another double-post            01/01/70 00:00      
   New FAQ: debouncing            01/01/70 00:00      
      contributions to debouncing FAQ            01/01/70 00:00      
         Thanks            01/01/70 00:00      
   http://www.8052.com/faqs.phtml?FAQ=127612            01/01/70 00:00      
   doubt about maskable ROM            01/01/70 00:00      
      not to your advantage, i think            01/01/70 00:00      
   FAQ on ADC            01/01/70 00:00      
   while waiting for a needed device            01/01/70 00:00      
      I would add, that...            01/01/70 00:00      
         will add that in the next minute, thanks            01/01/70 00:00      
      nice!            01/01/70 00:00      
         My two cents and then sum            01/01/70 00:00      
   a good FAQ or other means would be            01/01/70 00:00      
      great idea, start it            01/01/70 00:00      
         you have been unamously by me voted to be            01/01/70 00:00      
            thanks            01/01/70 00:00      
   and one more            01/01/70 00:00      

Back to Subject List