20 Problems on Microprocessor-Based Design - Final Exam | ECE 367, Exams of Microprocessors

Material Type: Exam; Class: Microprocessor-Based Design; Subject: Electrical and Computer Engr; University: University of Illinois - Chicago; Term: Fall 2002;

Typology: Exams

Pre 2010

Uploaded on 07/23/2009

koofers-user-wfc
koofers-user-wfc 🇺🇸

10 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 361
Final Exam
Fall 2002
(Print) LAST Name FIRST Name
Signature SS#
All problemsare 5 points. Note: You must write clearly and neatly. If I can't read your answer (because
it is illegible)it will be marked wrong. BE NEAT!
1) Construct a one bit binary memory cell using a D Flip-Flop and any other necessary logicdevices.
Your circuit should contain all of the necessary input, output, and control lines.
2) Sketch a 4X4 ROM using one 2x4 AND DECODER and four multi-input OR gates. The data to
be stored in your ROM is given in the table below. '"' ton M
Ht 0 ,,,3 tn, W\, 0
00 0 0 l 1
°' 0 \10
tD\ \ 0 0
t, \0 0 ,
3) What is the purpose of the diode in the relay circuit below?
VCt
-
,
4) Assume a 68HCll MCU is operating in expanded mode. An 8K RAM IC is to be connected so that
it will be accessedat addresses $4000to $5FFF. Use one octa11atch, one 3X8 NAND decoder, and
any other required logicgates to integrate this memory with the MCU. Sketch your circuit. Clearly
label all connectionB. (USe. i:"k~ \oo..c.\( 0 + -I:-'" i s ~Q,.~e )
pf3
pf4
pf5

Partial preview of the text

Download 20 Problems on Microprocessor-Based Design - Final Exam | ECE 367 and more Exams Microprocessors in PDF only on Docsity!

ECE 361

Final Exam

Fall 2002

(Print) LAST Name^ FIRST Name

Signature SS#

All problems are 5 points. Note: You must write clearly and neatly. If I can't read your answer (because it is illegible)it will be marked wrong. BE NEAT!

  1. Construct a one bit binary memory cell using a D Flip-Flop and any other necessary logic devices. Your circuit should contain all of the necessary input, output, and control lines.

  2. Sketch a 4X4 ROM using one 2x4 AND DECODER and four multi-input OR gates. The data to be stored in your ROM is given in the table below. (^) Ht'"' 0 ton,,,3 tn, (^) W, M 0 00 0 0 l 1

°' 0 \ 1 0

t D \ \ 0 0 t, \ 0 0 ,

  1. What is the purpose of the diode in the relay circuit below? VCt
  • ,
  1. Assume a 68HCll MCU is operating in expanded mode. An 8K RAM IC is to be connected so that it will be accessed at addresses $4000 to $5FFF. Use one octa11atch, one 3X8 NAND decoder, and any other required logic gates to integrate this memory with the MCU. Sketch your circuit. Clearly label all connectionB. ( USe. i:"k~ \oo..c.( 0 + -I:-'" i s ~Q,.~ e )

ECE 367 Final Exam (^) Fall 2002

  1. Consider the analog to digital converter below. What is the binary value of the four bit output if Vs = 3.49 volts? Vet. : Sv

b 'oz.

.-b,

100

  1. Consider the truth table for a tri-state buffer. Sketch the electrical input and output circuits of the buffer for each case in the table. Note that the only electrical circuit elements that you need are: a low resistor value (RL), a high.resistor value (RB) and a battery (VB)' These values may remain

as variables. \Ie,=

(c..~sdc. X CD 00 ~ 0 ~

~ I 0

@l

y

o

I

Hii; HI~

c.. t.v.: -5-C4.Te

B"FFe~

  1. What is the minimum value (worst case) of RB allowedif the CMOS gate below is able to source a maximum of 2.5 mA? Voo='ISV

J

14 Vol-i:~ ~B (^) I Rt..::' loK

'Y.> F :: 2.

  1. The pre-scale for TCNT has been set to 16. If the initial value of TCNT is 45000 (decimal) what will be the exact value (in decimal) of TCNT after 0.25 seconds pass?

ECE 367 Final Exam^ Fall 2002

  1. Give the cycle by cycle operation for the STAA $1234 operation. Assume the instruction is at location $EOOO.Just fill in the table below.

Cycles Cycle No.^ Address^ BUS^ R/W^ Data^ BUS

  1. Peripheral A is connected to PORTC of a 68HCll MCU for parallel input into the MOU. The MCU is setup for pulsed handshake operation. Give the step by step operations that take place for a complete one byte transaction.

  2. Sketch a "typical" serial signal frame. Label all significant components.

  3. If a square wave is used as a ~bit clock" for the clocking of serial data at 9600 baud then what would be the length of time for the mGH part of one cycle of the bit clock.

ECE 367 Final Exam^ Fall 2002

  1. PORTC of the 68HCll can be used 88 a temporary storage location for one byte of data. Explain how you would go about doing this. Just explain, no code necessary.

  2. Label the timing diagrams below to indicate which is for PORTB Address lines, E CLOCK, AS

signal,and the RjW signalfor a 68HCll operating in expandedmode..

<D

(

o

  1. What is the exact execution time of the followingcode slice'!

20 Design a circuit that will allow the output of a ten volt CMOS device (which can source I.5mA wax.) to interface to the input of a fifteen volt CMOS device (that can sink 0mA current.)

__ (^) j

J - .7 1.

X /\

\ I ^ J

LDAA #$lE

LOOP1 LDAB^ #$2A
LOOP2 DECD
BNE LOOP

DECA

BNE LOOPl

BRA *