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.

<strong>Serial</strong> <strong>Port</strong> Modes<br />

• Mode 2<br />

– Asynchronous mode<br />

– 11-bit data frame (start bit, 8 data bits, programmable 9 th bit and a stop bit)<br />

– On transmission 9 th bit is TB8 bit of SCON<br />

– On reception 9 th bit is placed in RB8 bit of SCON<br />

– 9 th bit may be used for data or as a parity bit<br />

– Baud rate may be 1/32 or 1/64 of oscillator frequency<br />

• Mode 3<br />

– Same as Mode 2 but with a programmable baud rate<br />

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

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

Saved successfully!

Ooh no, something went wrong!