EmbeddedRelated.com
Forums

Generating 38400 or 115200 Baud Rate using AT89C52 Microcontroller

Started by Unknown November 25, 2005
Dear All,
               I am Ravikmar.N, working on  Atmel (AT89C52)
microcontroller.

I know that TIMER1 of AT89C52 can be used to generate  baudrate upto
57600.

I need to set the microcontroller  to 38400 or 115200. I dont know what
values to be filled to the TIMERn register and which TIMERn to be used.


If anybody know the solution please share your knowledge with me.


Thanks in advance.
  Ravikumar.N

<ravikumar.n@sunlux-india.com> wrote in message
news:1132930140.124948.261630@g14g2000cwa.googlegroups.com...
> > Dear All, > I am Ravikmar.N, working on Atmel (AT89C52) > microcontroller. > > I know that TIMER1 of AT89C52 can be used to generate baudrate upto > 57600. > > I need to set the microcontroller to 38400 or 115200. I dont know what > values to be filled to the TIMERn register and which TIMERn to be used.
The datasheet will tell you exactly this. Meindert
ravikumar.n@sunlux-india.com wrote:

>Dear All, > I am Ravikmar.N, working on Atmel (AT89C52) >microcontroller. > >I know that TIMER1 of AT89C52 can be used to generate baudrate upto >57600. > >I need to set the microcontroller to 38400 or 115200. I dont know what >values to be filled to the TIMERn register and which TIMERn to be used. > >If anybody know the solution please share your knowledge with me. > >Thanks in advance. > Ravikumar.N
http://www.8052.com/faq.phtml?FAQ=16 -- ======================================================================== Michael Kesti | "And like, one and one don't make | two, one and one make one." mrkesti at comcast dot net | - The Who, Bargain
On 25 Nov 2005 06:49:00 -0800, ravikumar.n@sunlux-india.com wrote:

> >Dear All, > I am Ravikmar.N, working on Atmel (AT89C52) >microcontroller. > >I know that TIMER1 of AT89C52 can be used to generate baudrate upto >57600. > >I need to set the microcontroller to 38400 or 115200. I dont know what >values to be filled to the TIMERn register and which TIMERn to be used. > > >If anybody know the solution please share your knowledge with me. > > >Thanks in advance. > Ravikumar.N
http://www.keil.com/c51/baudrate.asp