Question Bank CAM - Module 4
Question Bank CAM - Module 4
Question Bank CAM - Module 4
8051 microcontroller.
8051 microcontroller.
3. Explain the steps to transfer data serially in 8051. Write an 8051 assembly
language program to transfer ‘Y’ serially at baud rate 9600 continuously through
Port 0.
Debugger
TRACE KTU
8. Differentiate between Compiler and Assembler.
language in a processor.
10. Explain the procedure of doubling the baud rate of data transfer in 8051 serial
communication.
11. Which are the SFRs used for serial communication in 8051 microcontroller. Give
13. Assume a switch is connected to pin P1.7. Write an Embedded C program for
8051 microcontroller to monitor its status and send two messages to serial port
continuously as follows:
a. SW = 0 , send “NO”
b. SW = 1 , send “YES”
Assume crystal frequency = 11.0592 MHz, 8 bit data, 1 stop bit and 1 start bit.
(Hint: For every serial program just follow the steps discussed in class. 8 bit data,
1 stop bit and 1 start bit -- It indicates serial mode 1, this information give only to
make confusion.)
14. Write an embedded C program for 8051 microcontroller to send the message
”Hello World !” to serial port. Assume a SW is connected to port pin P1.2. Monitor
Assume crystal frequency = 11.05920 MHz, 8 bit data, 1 stop bit and 1 start bit.
TRACE KTU
17. Explain the steps to receive data serially in 8051 microcontroller.
18. Assume XTAL=11.0592 MHz. Compute the value to be loaded into TH0 and TL0
19. With a frequency of 22 MHz, generate a frequency of 100 KHz on pin P2.3. Use