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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/15/06 17:40
Read: times


 
#110084 - forget mode 0, im that mode there is no
Responding to: ???'s previous message
... 12 MHz .... It's not just convenient in the case of the mode 0 serial port, but it's essential.
Forget mode 0, in that mode there is no reason to use a "baud rate crystal". I am starting another thread "who is using mode 0" and doubt the "yes"es will be many

It's not about the arithmetic. It's about making all the pieces fit. It's about being able to use the correct frequency rather than being contained by an old habit. I've been puzzled for years about why this is such a "religious" issue.
Not the correct frequency, that is irrelevant, but the correct baud rate. Using http://www.keil.com/c51/baudrate.asp you find that at 12MHz with timer 1, 4800 baud is the best you can get, for 9600 you get a 7.5% error which is not acceptable. Using T2, the best you can get with 12MHz is 28.8k.
Again many derivatives do not have T2 and some apps require T2s capabilities for other things so here is the answer to the original question "does anybody use those "low" baud rates?" YES, those that use a "processor crystal" rather than an UART crystal"

The classic parts have only one serial port and two timers. As it happens, the newer Maxim/Dallas parts have two serial ports and, I believe three timers. That adds another level of complexity to the question of how to pick the system clock rate.
au contraire, it makes it much simple, see above.

but I've yet to see a compelling argument for the old slightly more than 11MHz.
well, here it is

Most folks don't use the UART at all
HUH? I would say that, at least. 90% of '51 apps have a serial connection to something else.

Erik

List of 90 messages in thread
TopicAuthorDate
does anybody use those "low" baud rates?            01/01/70 00:00      
   I think            01/01/70 00:00      
      I use even low            01/01/70 00:00      
      but I want REAL information            01/01/70 00:00      
   OBDII            01/01/70 00:00      
      Interesting ... Was that standard ASYNC            01/01/70 00:00      
         srry here is the full story            01/01/70 00:00      
   Water level            01/01/70 00:00      
      Is that in ASYNC format?            01/01/70 00:00      
         why not 11.0592/22.1184MHz?            01/01/70 00:00      
            serial timing isn't always as important            01/01/70 00:00      
               comments            01/01/70 00:00      
                  Well ... that's not entirely true ...            01/01/70 00:00      
                     precise???            01/01/70 00:00      
                        Inconvenience            01/01/70 00:00      
                           IF there's another way ...            01/01/70 00:00      
                              forget mode 0, im that mode there is no            01/01/70 00:00      
                                 Not the ones I see ...            01/01/70 00:00      
                              again, why not 11.0592 ?            01/01/70 00:00      
                                 if you don't like the 11.0592MHz...            01/01/70 00:00      
                                    Well, if they do 24, why not use that?            01/01/70 00:00      
                                 I see your point, but ...            01/01/70 00:00      
                                    Do I miss something??            01/01/70 00:00      
                                       Excitement? I'm not excited ...            01/01/70 00:00      
                                          why do you keep stating "sacred", it is            01/01/70 00:00      
                                             Right Erik !            01/01/70 00:00      
                                                It's because of the purpose            01/01/70 00:00      
                                                   And if that is out of the question use            01/01/70 00:00      
                                             Still none the wiser            01/01/70 00:00      
                                             it's that ASR33 rate that bugs me ...            01/01/70 00:00      
                                                not the statements, the "universalism"            01/01/70 00:00      
                                                   Re: not the statements, the "universalis            01/01/70 00:00      
                                                      Yes, as I said, it's convenient ...            01/01/70 00:00      
                                                         if you use (as you yourself state to pre            01/01/70 00:00      
                                                            It's been shown            01/01/70 00:00      
                                                               Of course it is            01/01/70 00:00      
                                                                  It's hard to argue ...            01/01/70 00:00      
                                                                     Then buy it, or even better, have one on            01/01/70 00:00      
                                                                        I'll buy 'em when there IS such a thing            01/01/70 00:00      
                                                                           misapplied economy            01/01/70 00:00      
                                                                              The $2 board was fully assembled            01/01/70 00:00      
                                                                                 again you talk about oranges            01/01/70 00:00      
                                                               Because reliability !            01/01/70 00:00      
                                                                  Seems interesting ...            01/01/70 00:00      
                                                                     only 24Mhz can be get            01/01/70 00:00      
                                                                        True, for sure,            01/01/70 00:00      
                                                                     apples and oranges            01/01/70 00:00      
                                                                        If that's true, then something's broken            01/01/70 00:00      
                                                                           a slight correction            01/01/70 00:00      
                                                                              You're right, of course,            01/01/70 00:00      
                                                                                 actually you did            01/01/70 00:00      
                                                                              further correction            01/01/70 00:00      
                                                                                 That's up to you ...            01/01/70 00:00      
                                                                                    I do not know where you get that impress            01/01/70 00:00      
                                                                                       One thing at a time ...            01/01/70 00:00      
                                                                                          no            01/01/70 00:00      
                                                                                             so you talk to that stuff directly            01/01/70 00:00      
                                                                                                as to "what I do"            01/01/70 00:00      
                        That's not quite true ...            01/01/70 00:00      
         8048?            01/01/70 00:00      
            You're right, it's not            01/01/70 00:00      
               have a look            01/01/70 00:00      
                  It's not obvious what you mean, Erik            01/01/70 00:00      
                     no, not that            01/01/70 00:00      
                        Close, perhaps, but no cigar ...            01/01/70 00:00      
                           SPI rather than I2C            01/01/70 00:00      
                              the full story            01/01/70 00:00      
                                 I2C, SPI, parallel, whatever            01/01/70 00:00      
                           poll a bit            01/01/70 00:00      
               '51 descendant of 8042            01/01/70 00:00      
                  The one on the KEIL page is too big ...            01/01/70 00:00      
                     CPLD            01/01/70 00:00      
                        I did sumfin like that            01/01/70 00:00      
   Specialist transmission only            01/01/70 00:00      
   EVA-DTS over DDCMP            01/01/70 00:00      
      simulator Fun            01/01/70 00:00      
   A "Why" for low speed modems            01/01/70 00:00      
   Low baud rate            01/01/70 00:00      
   Bill Acceptors            01/01/70 00:00      
      well ... clearly there are some places            01/01/70 00:00      
   doesn't ring true ...            01/01/70 00:00      
      which one?            01/01/70 00:00      
         here:            01/01/70 00:00      
            oh no            01/01/70 00:00      
               OK ... no big deal            01/01/70 00:00      
                  YES!, I would not even dream of driving            01/01/70 00:00      
                     Well, I did that            01/01/70 00:00      
                        not every application can "take a pause"            01/01/70 00:00      
                           Believe it or not, I agree ...            01/01/70 00:00      
                              wow            01/01/70 00:00      

Back to Subject List