



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this exam paper are: Peripheral Device, Approximate No of Input, Estimate of Speed/, Range of Algorithms, Programmes to Execute, Handheld Remote Control, Digital Timer and Programmer
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




(NFQ Level 7)
Answer THREE questions. Examiners: Mr. F. O’Reilly Mr. P. Watson Mr. J. Berry Dr. R. O Dubhghaill
Q1 (a) Compare and contrast microprocessors and micro-controllers. What advantages, disadvantages does each have? [8 marks]
(b) For the following applications identify, (i) Approximate no of Input & Outputs (ii) Estimate of speed/performance required. (iii) Complexity/Range of algorithms/programmes to execute.
Applications
From the following micro-controller/microprocessors, suggest suitable models and why for each of the above applications. Embedded 8051 Low Cost IC, Motorola 68000 processor, Intel Pentium 3 family, Microchip PIC. [15 marks]
(c) As a member of an 8-bit micro-processor usage team, you are tasked to devise a scheme to vary the number of special registers from 200(basic model) to 800(advanced model), while being restricted to using only 8 bits(max of 256) to describe which register is in use. Can you suggest a scheme to do this? Which micro-processors/micro-controller currently use such a technique? [10 marks] [Total: 34 marks]
Q2 (a) 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]
(b) 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
(c) Calculate the pre-load value for the 16c74 micro-controller to generate a 4.0 kHz square wave using Timer2, showing in code how the value would be loaded in. Assume a clock of 4MHz. [12 marks] [Total: 34 marks]