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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/10 04:27
Modified:
  05/23/10 04:31

Read: times


 
#176136 - Thank you all.
Responding to: ???'s previous message
Thanks everyone for offering me the very considerable benefit of your knowledge and experience. I'm very grateful to have access to such a resource.

I'm just having some fun with a 'Supported Baud-Rate Calculator' to go along with a polled serial io module that I've been fiddling with recently. For my own hacky purposes it seems that 2-2.5% error might be a good figure for personal experimentation. As the coded io module will be for general distribution however, then a tighter tolerance might be advised. I won't ever know the circumstance in which the code will be used, so I thought I might stick with <1% baud-rate error as a point to flag crystal/ baud-rate combinations as being 'possibly' useful. That's a figure I've seen on a few websites, including Keil's. Following from the informative responses in this thread though, I've decided to adopt an even tighter tolerance of <0.5% baud-rate error as the threshold for flagging a crystal/ baud-rate combination as being 'supported'. It appears that even this figure may be optimistic for some user's purposes, so I thought I might also quote the respective % errors, so that the individual user may decide for themselves.

Thanks also to whoever mentioned using higher numbered timers or the internal baud-rate generator as a UART clock source. For my code to work for the widest possible range of 8051 derivatives, I've been restricted to the use of T1 as the UART's clock source. Thankfully though, I now have a better understanding of why I might wish to employ alternative UART clock sources in personal versions of the code.

I could not have been more pleased with the very helpful responses to my initial query. Thank you all again.

Regards,
Murray R. Van Luyn.

List of 18 messages in thread
TopicAuthorDate
Baud RateTolerance?            01/01/70 00:00      
   acceptable baud-rate error            01/01/70 00:00      
   100% ??            01/01/70 00:00      
   2.5%            01/01/70 00:00      
      whoa!!            01/01/70 00:00      
         I prefer < 0.5%            01/01/70 00:00      
   the method            01/01/70 00:00      
      skew/asymmetry            01/01/70 00:00      
         Asymmetry            01/01/70 00:00      
   ZERO            01/01/70 00:00      
      So do I...            01/01/70 00:00      
         Not always possible to select crystal just for UART            01/01/70 00:00      
            In reference to the above:            01/01/70 00:00      
   Thank you all.            01/01/70 00:00      
      Try a test with a PC and Sqr Sig Gen            01/01/70 00:00      
         likely a wromg approach            01/01/70 00:00      
   Maxim AN-2141            01/01/70 00:00      
      link and comment            01/01/70 00:00      

Back to Subject List