i am doing a project in which i am interfacing 89s52 with a fingerprint scanner through uart . i want to generate 115200 baud rate through timer 1 the code is attached
TMOD=0x20;
TH1=0xFF;
SCON=0X50;
PCON=0X80;
TR1=1;
the crystal used is 22.1184 mhz is this code right ? and can we generate baud rate through timer 1 in 89s52?
Last edited by hasnain ejaz; 11-04-2013 at 12:24 PM.
Welcome to EE!
Best I can do is attach the data sheet for the 89s52..
AT89S52.pdf