Microprocessor Design: 3-digit Decimal Timer with 0.1 sec Resolution using 68HC11 Assembly, Assignments of Microprocessors

Instructions for designing a 3-digit freerunning decimal timer with 0.1 sec resolution using the 68hc11 microcontroller in assembly language. The timer should be implemented without interrupts and the 7-segment displays must be driven in multiplexed mode. A circuit diagram, a requirement for a printed code listing, comments for every line, and a software flowchart.

Typology: Assignments

2011/2012

Uploaded on 05/18/2012

koofers-user-znp-2
koofers-user-znp-2 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
2003 University of Illinois at Chicago ECE 367 V. Goncharoff
Web code:
Last name:
First name:
Signature:
ECE 367 - Microprocessor-Based Design
Homework #4: Due in lab during the fourth lab meeting (Week 6)
Design a 68HC11 assembly language program that implements a 3-digit free-
running decimal timer, with 0.1 sec resolution, using the circuit below (seven-
segment LED displays are of the common cathode type). Do not use interrupts.
The 7-segment displays must be driven in multiplexed mode. Count "00.0" should
follow "99.9" sec. The counter should keep exact time (assuming E = 2 MHz
clock). Provide printed code listing; comment every line; include software
flowchart.
MC68HC11
microcontroller
a
b
c
d
f
e
g
sec x 1sec x 10 sec x 0.1
Cathode 1 Cathode 2 Cathode 3
Gnd
7 7 7
PB0 - PB6 PC0 - PC6 PD0 - PD5, PA4
21
For example: a = PB0, b = PB1, c = PB2, d = PB3, e = PB4, f = PB5, g = PB6.
Output
Ports

Partial preview of the text

Download Microprocessor Design: 3-digit Decimal Timer with 0.1 sec Resolution using 68HC11 Assembly and more Assignments Microprocessors in PDF only on Docsity!

 2003 University of Illinois at Chicago ECE 367 V. Goncharoff

Web code:

Last name:

First name:

Signature:

ECE 367 - Microprocessor-Based Design

Homework #4: Due in lab during the fourth lab meeting (Week 6)

Design a 68HC11 assembly language program that implements a 3-digit free-

running decimal timer, with 0.1 sec resolution, using the circuit below (seven-

segment LED displays are of the common cathode type). Do not use interrupts.

The 7-segment displays must be driven in multiplexed mode. Count "00.0" should

follow "99.9" sec. The counter should keep exact time (assuming E = 2 MHz

clock). Provide printed code listing; comment every line; include software

flowchart.

MC68HC

microcontroller

a b c d

f e

g

sec x 10 sec x 1 sec x 0.

Cathode 1 Cathode 2 Cathode 3

Gnd

PB0 - PB6 PC0 - PC6 PD0 - PD5, PA

For example: a = PB0, b = PB1, c = PB2, d = PB3, e = PB4, f = PB5, g = PB6.

Output Ports