8-SEMESTER EMBEDDED SYSTEM JUNE-2005 TIME-3 HOUR TOTAL MARKS-80
N.B.: Answer Any All Questions All Questions Carry Equal Marks
1. (a) What is an embedded system, explain the following terms related to embedded system. (10) (a) ASSP. (b) RTC. (c) GPP. (d) FPGA.
(b) Explain different challenges and issues in embedded software development. (10)
2. A controller that keeps track of the value of coins accepted by a vending machine is to be designed. The actual coin sensors are sampled once each clock period to generate two inputs I, and l2 to the controller. A third input line 'R' will be on for one clock period each time coin return button is pushed. This line 'R' will also activate the coin return mechanism, so the circuit we are designing need to produce no output for that situation. Once output line 'C of the controller is to be T for one clock period following the deposit of a quarter to active a change return mechanism. Change will be made only if a quarter is deposited. The price of all items is $ 0.20. A second output 'A' which enables the merechandise selection mechanism, is to be T for one clock period whenever the value of coin received has reached this amount. During any clock period the values of
lj and l2 may be interpreted as follows:
I1 I2 Received coin 0 0 None 0 1 Quarter 1 0 Nickel 1 i Dime
Each coin will cause non zero inputs for only one clock period. Develop an FSMD. The controller is an FSM which issues commands to the datapath based on the current state and the external inputs. The design must be structural, the datapath contains a netlist of different functional units of the system. (20) 3. Design a system in which Rs.232 communicate with the 8051. This application will read and send Rs.232 commands from 8051 controller. Requirement for this application include setting up Timer 1 for use as a PWM interrupt source as well as the time for the Rs.232 serial data transmission. Show interfacing and write code for the requirements of the system. Timer 1 interrupt rate is 75.76 KHz (for a 18.94 KHz PWM frequency) and serial interface speed is 2400 bps. (20) 4. (a) What is an emulator ? What are the various components of an emulator? What are the advantages of using an ICE? (10)
(b) Explain in detail the use of software tools for development of an embedded system. (10)
5. (a) Give different strategies used by schedulor and explain scheduling model used by RTOS schedulor. (10)
(b) What do you mean IPC ? Explain in detail what types of IPC used in embedded systems. (10)
6. Write short notes on any four- (20) DSP support in Embedded application. Digital camera an application of Embedded systems. Issues in Embedded system design. Classification of Embedded systems. Trends in ASIC design. RT Linux.
7. (a) Implement the task of computing a GCD. Show black box diagram and state diagram for the desired system x_j and y_i data inputs and d_0 data output. The output should represent the GCD of the inputs. (10)
(b) What do you understand by 'device drivers' ? Illustrate the typical architecture of device drivers. How does the interrupts mechanism interact with the device driver? (10)