Está en la página 1de 2

Birla Institute of Technology & Science, Pilani Distance Learning Programmes Division Second Semester 2007-2008 Comprehensive Examination

(EC-2 Regular) Course No. Course Title Nature of Exam Weightage Duration Date of Exam Note:
1. 2. 3.

: EEE ZG512 : EMBEDDED SYSTEM DESIGN : Open Book : 60% : 3 Hours : 29/03/2008 (FN)

No. of Pages =1 No. of Questions = 5

Please follow all the Instructions to Candidates given on the cover page of the answer book. All parts of a question should be answered consecutively. Each answer should start from a fresh page. Write your codes wherever required using assembly language of C32 microcontroller only (C program will not be evaluated)

Q.1

Give a brief description of various methods by which the following counters of C32 can be reset (i) Timer Counter (ii) Pulse-Accumulator Counter. [5] Draw the interfacing diagram for a C32 based 32K memory subsystem using two SRAMs of size 8Kx8 and one SRAM of 16Kx8 size. The C32 microcontroller is operating in Expanded Wide mode. Give all necessary logics. [8] Devise the control words and pseudo codes for transmitting an ASCII data at 1200 baud with odd parity using SCI of the C32 microcontroller. Assume the clock frequency to be 4 MHz. [8] Write a program, which performs bit-reversal on an 8-bit data, stored at memory location DATA. The reversed data should be stored at location REV. Write a subroutine that continuously checks an alarm input on PB6. As long as PB6 is low (normal), it will wait for 8 msec. But if PB6 goes high (alarm), then the subroutine returns to the main program. [8 + 6 = 14]

Q.2

Q.3

Q.4 (a).

Q.4 (b).

Q.5

Design an embedded system for an automatic cooking oven for the following specifications? User can choose / cancel temperature and time to cook. Appropriate number of keys should be provided with labels such as Temp, Time, Minutes, Hours, Enter, Cancel, 0-9 etc. The heating must be stopped once the required time is reached. Suitable number of 7-segment displays to indicate temperature and time. The oven could also be controlled wirelessly assuming that the controlling unit (a handheld device) need not be designed. (Hint: the wireless channel uses serial communication port of the microcontroller). Make suitable assumptions accordingly for sensors and any other required components. (a) Show the interfacing diagram of the complete system by indicating various input and outputs signals. (b) List all registers and the control words to initialize and fulfill the requirements as above. (c) Show the flow chart of the software needed for the system. [25] *******

También podría gustarte