Test 1

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Test 1 as PDF for free.

More details

  • Words: 206
  • Pages: 4
University of Bahrain Information Technology College Computer Engineering Department ITCE 344 : µP-Based Design Test 1 Time: 1 hour

Date: May 4, 2009 Dr. Riyadh Al-Hakim

Name:

Sec:

ID #:

Show all your work.

Question

Max Mark

Q1

35

Q2

35

Q3

30

Mark Scored

Total out of 100

Q1. Show with clear schematic diagram how to add to 86-traner kit:

16 kB RAM starting at 2000:0000 ; and 8 kB ROM ending at E000:FFFF

Q2.

Connect switch K1 to PC7 and switch K2 to PC6 of the PPI. Write an optimum program that uses these switches to select the square wave output frequency of counter 2 of the PIT, such that: K1 K2 frequency 0 0 1

0 1 X

150 kHz 15 kHz 1.5 kHz

The PPI is located @ FFE0 and the PIT @ FFF9 with 1.5 MHz clock.

Q3.

A PIC, located @ FFF4, is programmed with ICW2 = 20h. The main program is located @ 3000h and the ISR of IRQ6 is located @ 5000h. Explain with numbers the steps taken by the µP when an interrupting signal is applied to IRQ6. Also explain with numbers the steps taken by the µP when the instruction IRET is executed in the ISR.

Related Documents

Test 1
October 2019 14
Test 1
November 2019 11
Test 1
May 2020 5
Test 1
November 2019 12
Test 1
December 2019 30
Test 1
May 2020 7