About SBUF Register in 8051 Microcontroller | New Topic

In this note, we are going to learn about SBUF Register in 8051 Microcontroller. Welcome to Diploma to Degree, an ultimate solution for diploma and degree engineering notes.

Author Name: Arun Paul.  

SBUF Register in 8051 Microcontroller - diploma to degree

What is SBUF Register in 8051 Microcontroller?

The 8051 microcontroller's SBUF (Serial Buffer) register is a special function register (SFR) at address 99H that enables asynchronous serial communication over the UART. It serves as a dual-purpose register, sending and receiving data over the serial port.

Function of SBUF Register in 8051 in Asynchronous Data Transfer - 

A. Data Transmission

  • When the CPU wants to transfer a byte of data over the serial port, it writes it to the SBUF register.
  • The value is then automatically moved to the transmit shift register, which initiates the transmission bit by bit (asynchronous).
B. Data Reception

  • When data is received by the serial port, it is stored in the receive shift register.
  • When a whole byte is received, it is automatically stored in the SBUF register.

Structure of SBUF Register for Asynchronous Data Transfer (8051)

SBUF is a single register (address: 99H) in the memory map, however it behaves as two different registers internally:

SBUF (Write): Writing to SBUF sends the byte to the Transmit Shift Register, which outputs the data via the TXD pin (asynchronous serial transmission).

For complete notes, please visit our main website or click here to read more.

Popular posts from this blog

Types of Isolators in Electrical Power Transmission | New Topic

Block Diagram of Disc Recording System - Diploma to Degree

All Types of Motors Used in Electric Vehicles | New Topic