Вы находитесь на странице: 1из 2

Department of Electrical and Electronics Engineering

Reg. No

MANIPAL INSTITUTE OF TECHNOLOGY, MANIPAL


(A Constituent Institute of Manipal University, Manipal)
SIXTH SEMESTER B.E DEGREE - END SEMESTER EXAMINATION

ELE 330: EMBEDDED SYSTEMS (ELECTIVE - I)


Time: 3 hours
Note

1A.
1B.

1C.

2A.

2B.

3A.

13 MAY 2013

Max. Marks: 50

Answer any FIVE full questions.


Missing data, if any, may be suitably assumed.
Support all your programs with relevant comments

Describe the three categories of branching operation instructions. Give relevant examples
(instructions) for each category and sub categories, if any.
Analyse the program given below. Explain the operation performed (do not explain individual
instructions). Also calculate the total time taken for executing this program, if the processor runs on
a 12MHz processor and execution of each instruction takes three clock cycles. All the registers used
in the program are 16 bit registers. Modify the program using instructions with register indirect with
autoincrement and autodecrement addressing mode instructions and calculate the total time taken
for execution.
MOV r1,5000H
MOV r2,6050H
MOV r3, 0C8H
back: MOV r4,[r1]
MOV [r2],r4
INC r1
INC r1
DEC r2
DEC r2
DEC r3
JNZ back
Describe the following with respect to 8086 processor
I.
Physical address calculation circuit; necessity and method used
II.
Instruction byte queue and pipelined architecture
Compare Intel 8051 microcontroller with PIC16f877 microcontroller with respect to on chip
features, processor architecture and processing speed. Explain the following PIC instructions with
the help of relevant examples.
i.
ADDWF f, d
ii.
DECFSZ f, d
iii.
RETFIE
iv.
SUBLW k
Describe the following with respect to ARM processor
i.
Salient features and processor architecture details
ii.
Modes of operation
iii.
Supported (3) instruction sets
iv.
ARM Bus architecture

(03)

(04)

(03)

(05)

(05)

Show the complete interfacing circuit to interface the following memory devices to a 16 bit
processor with 20 bit address bus, 8 bit data bus, supports I/O mapped interfacing, LS 8 bits of
address and data lines are multiplexed and wake up address is 00000H. Avoid fold back space.
a. 32 K X 8 EPROM as program memory
b. 64 K X 8 RAM as data memory
c. 16 K X 8 ROM as data memory.
(05)
Page 1 of 2

Department of Electrical and Electronics Engineering

3B.
3C.
4A.

4B.

4C.
5A.

5B.
5C.

6A.

6B.
6C.

Reg. No

Differentiate clearly between I/O mapped and memory mapped methods of I/O interfacing
Describe the main features and specifications of PCI parallel bus. With the help of a relevant
example, explain the bus arbitration scheme used in PCI bus.
Pick the correct statement with respect to SPI bus and explain the meaning of each of the term with
respect to the correct statement.
i.
It supports half duplex, synchronous, multi master multi slave serial communication.
ii.
It supports half duplex, asynchronous, single master multi slave serial communication.
iii.
It supports full duplex, synchronous, single master multi slave serial communication.
iv.
It supports full duplex, synchronous, multi master multi slave serial communication.
Write a C program for PIC16f877 to configure I2C module in master mode, to read data from the
slave device at the address 1EH. Send acknowledge signal after receiving the data, store the data
and then send the stop bit. Use a clock rate of 400 KHz (assume fosc = 20MHz.).
Describe the main features of Firewire (IEEE 1394) serial communication bus.
List the main features of on chip ADC of PIC16f877 microcontroller. Write a C program to convert
the analog input applied to AN7 pin of PIC microcontroller and display the result at ports B and
D. Use right justified result, FADC of Fosc/16, positive and negative reference voltages from AN3 and
AN2 pins. All the remaining pins of ports A and E are to be used as analog input pins.
Define the terms range and resolution with respect to timers. Describe the different methods used
to increase the timer range. Make use of relevant diagrams, wherever necessary.
8259, programmable interrupt controller is used with 8086 processor to expand the number of
interrupting devices. Describe the functions of different registers of 8259 and the sequence of
operation, when one or more interrupt request lines are activated.
Define the following terms with respect to real time task and task scheduling
i.
Absolute dead line.
ii.
Data sharing.
iii.
Sporadic task.
iv.
Task precedence
v.
Optimal scheduler
vi.
Task instance.
What do you mean by a kernel in an operating system? List the main functions of a real time kernel
used in RTOS. Also name some of the popular RTOSs.
Describe the important characteristics of real time embedded systems which distinguishes it from
non-real time systems

(02)
(03)

(03)

(04)
(03)

(04)
(03)

(03)

(03)
(03)
(04)

Page 2 of 2

Вам также может понравиться