MICROPROCESSOR AND MICROCONTROLLER

8051 SERIAL PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the function of the SCON register?
A
to control SBUF and SMOD registers
B
to program the start bit, stop bit, and data bits of framing
C
to control SMOD registers
D
none of the mentioned
Explanation: 

Detailed explanation-1: -The SCON register is used to program the start bit, stop bit, and data bits of framing in the serial communication. The start bit is used to indicate the beginning of a data transmission, while the stop bit indicates the end of the transmission. The data bits are the actual bits of data that are being transmitted.

Detailed explanation-2: -The SCON register is loaded with the value 50H, indicating serial mode 1, where an 8-bit data is framed with start and stop bits.

Detailed explanation-3: -In mode-2 and mode-3 the SM2 bit is used to enable multiprocessor communication. In multiprocessor communication the serial port of a number of microcontrollers can be connected to a common serial bus. One controller will act as a master and all other controller will act as slave.

Detailed explanation-4: -SCON(Serial Control Register), BIT Addressable The serial port control and status register is the Special Function Register SCON. This register contains not only the mode selection bits, but also the 9th data bit for transmit and receive (TB8 and RB8), and the serial ports interrupt bits (TI and RI).

There is 1 question to complete.