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 . 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 ...