Class Presentation - ECpE Senior Design

Download Report

Transcript Class Presentation - ECpE Senior Design

Dec 01-04
I/O Laboratory
Development
Cpr E 211 Microcontroller
Evolution
Dec 01-04
CprE 211 Microcontroller
Team Members




Jon Froehlich
Brad Hottinger
Derek Miller
Dan Murr
Advisors & Clients



Dr. Somani
Dr. Govindarasu
Dr. Rover
Technical Advisors


Aaron Striegel
Jason Boyd
Presentation Outline
Problem Statement
Design Objectives
End-Product
Description
Assumptions and
Limitations
Project Risks and
Concerns
Technical Approach
Evaluation of Project
Success
Recommendations for
Further Work
Human and Financial
Budgets
Conclusions
Summary
Problem Statement
The Cpr E 211 F1 boards are becoming obsolete and a
more advanced replacement needs to be developed.
The goal of this project is to port the functionality of the
8-bit F1 board to a 32-bit microcontroller. In order for this
task to be accomplished, new hardware and C libraries
for the 32-bit microcontroller will have to be developed.
Design Objectives
Functionality


Reproduce I/O capabilities of the F1 board
Must have current limiting protection built-in
Design Constraints




32-bit computer architecture
No speed, size, weight, temperature constraints
Must be able to interface with IDE (Integrated Development
Environment) on personal computer
Implementation must be complete for fall semester
Intended Users

Cpr E and EE students enrolled in Cpr E 211
Intended Use

Educational tool for Cpr E 211 laboratory experiments
Assumptions and Limitations
Assumptions:
Product will be part of ISU EE/CprE curriculum
for at least five years
The primary users are CprE 211 students
Product will require long-term support from
vendor and from ISU technicians
Hardware must be fully compatible with software
compiler
Assumptions and Limitations
Limitations:
Keypad must have a minimum of 16 keys
LCD (Liquid Crystal Display) screen size must
be at least 2 lines by 20 characters
Project group has limited PCB (Printed Circuit
Board) design experience
Project Risks and Concerns
Robustness of product
Reliability of hardware vendor
Inadequate software development
environment for microprocessor
Support from EE/Cpr E electronic
technicians
Availability of hardware parts
Continual support from hardware
supplier(s)
End Product Description
32-bit microcontroller system capable of
supporting multiple I/O devices






LCD
Keypad/Keyboard
Digital Input and Output ports
Analog Inputs (Potentiometers)
16 megabytes of RAM (Random Access Memory)
C libraries to interface with board, memory and I/O
Modern microcontroller (RISC architecture) that
is used in industry
Supporting documentation for students and
instructors of Cpr E 211
End Product Description (cont.)
PowerPC 555 microcontroller based
solution using Axiom Manufacturing’s PB0555 microcontroller evaluation board
CodeWarrior Software IDE by Metrowerks
On-chip debugger, called a Wiggler, used
to download program, line-by-line
execution, and set break points in code
End Product Description (cont.)
Rugged case with PCB
and LCD permanently
mounted
PCB and other hardware
protected by plexi-glass
Serial, Debugging
connections, and power
supplies located inside
case
Easy to use and easy to
access for repairs/fixes
Technical Approach
Two approaches investigated


COTS (Commercial Off the Shelf) microcontroller
system
Custom designed expansion board for an existing
microcontroller board
COTS solutions did not fulfill functional
requirements
Custom package developed using
microcontroller and software from Axiom
Manufacturing and Motorola/Metrowerks
Technical Approach (cont.)
Integrate visual development
environment with microcontroller
Provide I/O as memory mapped
components
Provide necessary C libraries for I/O,
memory access, and microcontroller
setup and operation
CodeWarrior IDE
-Compiles, links, assembles, debugs
within single development environment
- Visual in-line and real time debugger
- Viewable register and memory
contents including program stack
- Background debugging mode
Motorola MPC555
- RISC CPU architecture
- PowerPC core
- 2 time processor units
- 40 MHz clock
- 32-bit addressing
- 32-bit registers
- Modern instruction set
Technical Approach (cont.)
Integrate Axiom PB-0555 board with break-out
board via PowerPC’s I/O pin headers
Axiom PB-0555
Break-out Board
Technical Approach (cont.)
CprE 211 Break-out Board Layout
Address Bus (A23-A0)
#1
#2
#3
#4
A5-A2
1 MB SRAM (#1)
CS0*
Address Demux
D7-D0
To Enable Lines
for each Buffer
or Latch
Input Devices
D31-D24
Digital Input 1
1 MB SRAM (#2)
1 MB SRAM (#3)
1 MB SRAM (#4)
D23-D16
D15-D8
D7-D0
Digital Input 2
Optoisolator
Optoisolator
Octal Latch
Octal Latch
DIP Switch 1
CS1*
DIP Switch 2
Pull-Down
Resistors
Pull-Down
Resistors
Octal Latch
Octal Latch
Potentiometers
Analog 1
Analog 2
Analog 3
Analog 4
Keyboard Input
Octal Latch
AN3
AN2
AN1
AN0
Output Devices
Data Bus (D31-D0)
7-Segment Disp.
Data Strobe
LCD Display
LED Bargraph 1
LED Bargraph 2
8-bit Output Pins
7-Segment Disp.
8-bit Output Pins
Resistor Bank
Resistor Bank
Resistor Bank
Optoisolator
Optoisolator
Octal Buffer
Octal Buffer
Octal Buffer
Octal Buffer
7-Seg Decoder
Resistor Bank
7-Seg Decoder
8-bit Input Port
Resistor Bank
7-Segment Disp.
D7-D0
External 7-Seg
Display (also on board)
Octal Buffer
Octal Buffer
Evaluation of Project Success
Goal:

Creation of an
integrated PCB with a
32-bit microcontroller
Solution:

Motorola MPC555
PowerPC
microcontroller kit
Evaluation of Project Success
Goal:

Acquire visual
integrated
development
environment (IDE) for
hardware
Solution:

MetroWerk’s
CodeWarrior for
PowerPC embedded
systems
Evaluation of Project Success
Goal:

Thoroughly test
hardware through
software developed
applications
Solution:

An exhaustive testing
program has been
developed in C.
Future Work
TINI (Tiny InterNet Interface) board
Use in other Cpr E courses
Possibilities of reproducing for other
universities
Constant need to stay up to date with
software and hardware
Personal Effort Budget
Coding*
0%
Hardware
28%
Test and Evaluation
20%
Research and Design
14%
* Effort for Coding completed by Department Resources
Meetings
38%
Financial Budget
Item
Poster
32-Bit Microcontroller
Printed Circuit Board
Integrated Circuit Parts
Hardware Devices:
(LCD,Keypad, LED, etc…)
Software:
CodeWarrior
Total Estimated Cost
Original Estimated
Cost
Revised Estimated
Cost
$50.00
$400.00
$400.00
$200.00
$51.87
$250.00
$225.00
$71.91
$400.00
$184.39
$5,000.00
$6,050.00
$200.00*
$983.17
* Adjusted cost due to Educational Discounts
Lessons Learned
Research techniques



Hardware
Software
Complete Systems
How to evaluate different solutions
PCB design
Need for weekly meetings with both advisors
and team members
Industry representatives are not on the same
schedule as project schedule
Closing Summary
The new microcontroller
system provides more
functionality and
expandability than the old
Motorola 68HC11F1
board
Custom designed,
created, and built at Iowa
State University
Successfully
tested/abused by
students already
Questions?