1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

how to get 115200 baud rate using p89v51rd2???

Discussion in '8051/8951' started by HIREN DAVE, Apr 22, 2013.

  1. HIREN DAVE

    HIREN DAVE New Member

    Joined:
    Apr 18, 2013
    Messages:
    25
    Likes:
    2
    Location:
    INDIA
    HI i am using nxp's P89V51RD2 microcontroller... I want to generate 115200 baud rate.. how can i generate it???
     
    • Like Like x 1
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,159
    Likes:
    907
    Location:
    Rochdale UK
    ONLINE
    The best way is to use the 11.0592MHz crystal... Then you can easily get ALL the baud rates..
     
    • Like Like x 1
  3. HIREN DAVE

    HIREN DAVE New Member

    Joined:
    Apr 18, 2013
    Messages:
    25
    Likes:
    2
    Location:
    INDIA
    Thanks....
     
    • Like Like x 1
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. vasu viroja

    vasu viroja New Member

    Joined:
    Jun 22, 2013
    Messages:
    5
    Likes:
    1
    Location:
    India

    You have to use below settings

    TMOD=0x20;
    PCON = 0x80;
    TH1=0xFF;
    SCON=0x50;
    TR1=1;

    It will give you 57600 baud rate with 11.0592 MHz, then you have to use 22.1184 MHz crystal
    or you have to set clock bit in P89V51RD2 with 11.0592 MHz crystal.
     
    • Like Like x 1

Share This Page