27.10.2014 Views

8051 Serial Port - gmitWEB

8051 Serial Port - gmitWEB

8051 Serial Port - gmitWEB

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Baud Rate for Modes 1 and 3<br />

• Configure timer 1 for 8-bit auto-reload mode (timer mode 2)<br />

– Upper 4 bits of TMOD register = 0010<br />

Baud Rate<br />

=<br />

2<br />

32<br />

SMOD<br />

x<br />

( Timer 1Overflow Rate)<br />

Baud Rate<br />

=<br />

2<br />

32<br />

SMOD<br />

x<br />

Oscillator Frequency<br />

12x<br />

[ 256 − TH1]<br />

Embedded Systems 1 5-8 <strong>8051</strong> Peripherals

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!