view here

Birla Institute of Technology & Science, Pilani- KK Birla Goa Campus
II Semester 2014-2015
EEE/CS/INSTR F241- MICROPROCESSOR PROGRAMMING AND INTERFACING
Quiz 4 (Open Book)
Date: 17-04-2015
Max Marks: 10
Duration: 30 Mins
ID No.
Q1.
Name:
The base address of a 16550 chip in null modem connection is 20H. The crystal connected to 16550 is 18.432MHz
The code snippet used for initializing 16650 is as follows
MOV AL, 10001000B
OUT
26H, AL
MOV AL, 00
OUT
20H, AL
MOV AL, 0FH
OUT
22H, AL
MOV AL, 00001000B
OUT
26H, AL
MOV AL, 1100 1111B
OUT
24H, AL
Answer the following questions:
a) What is the baud rate of the system
[1]
300
b) What is the size of data?
[1]
5
c)
What is the type of parity if any?
[1]
Odd
d) How many stop bits are sent?
1
[1]
e)
Is DMA operation enabled?
Yes
[1]
f)
If data is being received after how many bytes will DMA/interrupt be triggered?
[2]
14
g) If the data on the SIN of 16550 is as shown below – what is the data being received?
T
10111
[3]