how to get 115200 baud rate using p89v51rd2???

Status
Not open for further replies.
HI i am using nxp's P89V51RD2 microcontroller... I want to generate 115200 baud rate.. how can i generate it???

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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…