embedded systems - Microcomputer Applications - Exam, Exams of Microcomputers

Main points of this exam paper are: Embedded Systems, Playstation Portable, Central Heating Timeswitch, Digital Timer and Programmer, Handheld Remote Control, Approximate Number, Input

Typology: Exams

2012/2013

Uploaded on 03/31/2013

paopolaaa
paopolaaa 🇮🇳

4.5

(22)

93 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Cork Institute of Technology
Bachelor of Engineering in Applied Electronics Design - Award
Bachelor of Engineering in Communications Systems - Award
Bachelor of Engineering in Automation and Control - Award
(EAELD_7_Y3) (ECOSY_7_Y3) (EELAR_7_Y3)
Autumn 2008
Microcomputer Applications
(Time: 2 Hours)
Answer THREE questions. Examiners: Mr. F. O’Reilly
Dr. Paula O’Sullivan
Dr. David Denieffe
Q1 (a) Describe two applications for a microprocessor and two applications for a micro-controller,
saying why you would choose each one? [8 marks]
(b) For the following are the applications of Micro-computer systems:
PlayStation Portable (PSP) handheld games console.
Central heating timeswitch with a digital timer and programmer.
Handheld Remote Control for TV/Video.
For each Identify:
(i) Approximate number of Input & Outputs
(iii) Estimate of speed/performance required.
(iv) Complexity/Range of algorithms/programmes to execute.
From the following micro-controller/microprocessors, suggest suitable models and why for
each of the above applications. Embedded 8051 IC, Motorola 68000 processor, Intel
Pentium 3 low power family, Microchip PIC. [16 marks]
(c) Why does the PIC divide its data/special function memory into 2 or 4 banks? Explain the
reasons for doing this and the advantages that it brings. [10 marks]
[Total: 34 marks]
pf3
pf4
pf5

Partial preview of the text

Download embedded systems - Microcomputer Applications - Exam and more Exams Microcomputers in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Engineering in Applied Electronics Design - Award

Bachelor of Engineering in Communications Systems - Award

Bachelor of Engineering in Automation and Control - Award

(EAELD_7_Y3) (ECOSY_7_Y3) (EELAR_7_Y3)

Autumn 2008

Microcomputer Applications

(Time: 2 Hours)

Answer THREE questions. Examiners: Mr. F. O’Reilly Dr. Paula O’Sullivan Dr. David Denieffe Q1 (a) Describe two applications for a microprocessor and two applications for a micro-controller, saying why you would choose each one? [8 marks]

(b) For the following are the applications of Micro-computer systems:

  • PlayStation Portable (PSP) handheld games console.
  • Central heating timeswitch with a digital timer and programmer.
  • Handheld Remote Control for TV/Video.

For each Identify: (i) Approximate number of Input & Outputs (iii) Estimate of speed/performance required. (iv) Complexity/Range of algorithms/programmes to execute.

From the following micro-controller/microprocessors, suggest suitable models and why for each of the above applications. Embedded 8051 IC, Motorola 68000 processor, Intel Pentium 3 low power family, Microchip PIC. [16 marks] (c) Why does the PIC divide its data/special function memory into 2 or 4 banks? Explain the reasons for doing this and the advantages that it brings. [10 marks] [Total: 34 marks]

Q2 (a) Explain the operation and configuration of Timer 2 on the PIC micro-controller. Derive the following formula for the preload value. [10 marks]

Pre-load Value = Time * FOSC (Using Internal Clock) Prescalar * 4

(b) Calculate the pre-load value for the 16c74 micro-controller to generate a 10kHz square wave using Timer2, showing in code how the value would be loaded in. Assume a clock of 4MHz. [12 marks]

(c) Interrupt handling is important for embedded systems. Explain what happens when an interrupt occurs in the PIC and how the interrupt should be handled. Explain what memory addresses are used, the different types of interrupts available and how they can be differentiated. [12 marks ] [Total: 34 marks]

Q3 (a) You have an analog signal with a maximum frequency of 2KHz which varies in voltage from 0 -> 4V. You wish to digitise this into a numerical value at a regular sampling interval. Describe how this can be done with a Microchip PIC. Your answer should include: The manipulation of the input levels, Possible range of output values Key registers used both in the configuration and operation. How does one know one of these conversions will have completed? [14 marks]

(b) Write the configuration, interrupt handling and data reading sections of a PIC assembly language program for the 16c74 micro-controller, which continually reads in an analogue voltage from 0 -> 5V on RA0 and outputs it in binary format on PORTB. [20 marks] [Total: 34 marks]