0
18kviews
Write 89C51 C program to transfer YES serially at baud rate 9600 continuously Use 8 bit data and 1 stop bit. Assume crystal frequency 11.0592 MHz.
1 Answer
3
2.5kviews

enter image description here

enter image description here

Create a free account to keep reading this post.

and 4 others joined a min ago.

1
659views

$ Clock = \frac{11.0592\times10^6}{12} = 921.6KHz$ $ UART= \frac{921.6\times10^3}{32} = 28800Hz$ For Baud rate of 9600: $ n= \frac{28800}{9600}=3=(-3)=FDH$ **Program:** #include $<reg51.h>$ void SerTx(unsigned char); void main (void) { TMOD=0x20; $ \ \ \ \ \ \ \ \ \ \ $// use Times1, mode 2 TH1= 0xFD; $ \ …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.