Apr 6, 2008 #1 D DrWhoF Advanced Member level 1 Joined May 6, 2005 Messages 402 Helped 24 Reputation 48 Reaction score 11 Trophy points 1,298 Activity points 4,388 Is it possible to operate at 38.4kbps with 11,0952MHz clock? or what crystal should be used for that?
Is it possible to operate at 38.4kbps with 11,0952MHz clock? or what crystal should be used for that?
Apr 6, 2008 #2 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 52,428 Helped 14,752 Reputation 29,786 Reaction score 14,105 Trophy points 1,393 Location Bochum, Germany Activity points 298,133 Re: 8051 and 38.4kbps The crystal frequency is very good, cause 8051 baud rate generator can achieve rates of fosc/(32•n), with n = 9 how get 38.4k.
Re: 8051 and 38.4kbps The crystal frequency is very good, cause 8051 baud rate generator can achieve rates of fosc/(32•n), with n = 9 how get 38.4k.
Apr 6, 2008 #3 W wek Full Member level 4 Joined Dec 21, 2004 Messages 239 Helped 28 Reputation 56 Reaction score 2 Trophy points 1,298 Activity points 1,991 8051 and 38.4kbps Strictly speaking, this is possible only with 8052, using timer2 as the baudrate generator. The vast majority of today's '51 derivatives do have timer2 (or even an independent baudrate generator), the notable exception is AT89C2051. See also https://www.keil.com/products/c51/baudrate.asp
8051 and 38.4kbps Strictly speaking, this is possible only with 8052, using timer2 as the baudrate generator. The vast majority of today's '51 derivatives do have timer2 (or even an independent baudrate generator), the notable exception is AT89C2051. See also https://www.keil.com/products/c51/baudrate.asp
Apr 8, 2008 #4 D DrWhoF Advanced Member level 1 Joined May 6, 2005 Messages 402 Helped 24 Reputation 48 Reaction score 11 Trophy points 1,298 Activity points 4,388 Re: 8051 and 38.4kbps So, how should I initialize UART to use Timer2 at 34.8kbps? Could you give an example that includes all necessary bits and bytes???
Re: 8051 and 38.4kbps So, how should I initialize UART to use Timer2 at 34.8kbps? Could you give an example that includes all necessary bits and bytes???