LED CUBE Preliminary System Software Design Fernando J. Garcia May 16 2013.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

System Software Design Frank Mirabelli. Motorola MC9S12DP512 Bus Frequency 24 MHz Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes.
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Programmable Interval Timer
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Architecture of the 8051 INTERNAL DATA BUS Oscillator & Timing Programmable I/O (32 Pins) 80C51 CPU 64K byte Expansion Control Serial I/O 4K Program Memory.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Real-Time Operating Systems Suzanne Rivoire November 20, 2002
BlueECG System Software Design Western Washington University By: Corey Williamson.
Real Time Operating Systems Introduction to Real-Time Operating Systems (Part I) Course originally developed by Maj Ron Smith.
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
Interrupts Microprocessor and Interfacing
Microprocessor and Interfacing Example: Writing a Game Need to Check Keyboard Input.
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
Treasure Chess ECE 477 Team 2 Parul Schroff Software Design Narrative.
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
System Software Design Colin Gatlin May 12, 2009 Western Washington University.
Turbine Flow Meter Kevin Hooks Senior Design Project.
System Software Design and Documentation Zach Hill Western Washington University.
Digital Handheld Communication and Navigation Device
Vinh Le.  MCU: Freescale Kinetis K60512 ARM Cortex M4  Bus Frequency: 50MHz  Available Memory: ◦ 512KB Flash ◦ 64KB SRAM  Memory Required: ◦ 10KB.
SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor.
Lost Item Pager System Design Russ Kinley 5/6/6008.
Ryan Hansgen. General System Design  MC9S08QE64CFT 24MHz Bus Frequency 64 K byte Flash EEPROM, 4.0 K byte RAM  Memory required 8 K bytes ROM 2 K bytes.
RFID Access Control System Lucius Knight. General System Design  Microcontroller  PSoC CY8C29466  24MHz Bus Frequency  Memory Available  32kB FLASH.
System Software Design Dane Kim May 4 th, 2009 EET 475, WWU.
BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12.
By Jesse W. Spalding.  Microcontroller Choice  Motorola 9S12DP256B ◦ Set to 24 MHz for the Bus Frequency ◦ Memory  256K Bytes of ROM  12K Bytes of.
ATV INSTRUMENTATION DISPLAY System Design Ed Raezer Senior Project Western Washington University.
Multi-Access Lock Andrew Hall. General System Requirements MCU: MC9S12C128 Bus Frequency: 24MHz Memory Requirements: 11k bytes Flash EEPROM 3k bytes RAM.
System Software Design Engineer: Mac Gainor Western Washington University.
Machine Access System Software Design and Documentation Western Washington University By: Kevin Pogue.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
Digitally Configurable Audio Routing Patchbay DCARP System Software Presentation Aaron Cramer Western Washington University 2009.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
Humidity Sensing Fan Controller Jason Huft 05/11/10.
Yared Woldekiros Western Washington university WEB ENABLE HOME AUTOMATION.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.
GPS Enhanced PFD System Software Presentation Eric Grossmann.
Computer Operating Properly Module MTT COMPUTER OPERATING PROPERLY MODULE (COP)
Software Design Review Andres Rodriguez. General System Design  MCU: STM32F405  MCU Bus Frequency: 84MHz  Memory Requirements  Flash: ~ 10Kb  RAM:
System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University.
WESTERN WASHINGTON UNIVERSITY KENT SYKES 2009 Audio Field Recorder System Software Design.
ATV INSTRUMENTATION DISPLAY System Software Design Ed Raezer.
Wireless Heart Rate Monitor. On-Person Unit MC13213 (HCS08)  16 MHz Bus Frequency  On Chip Resources 60K of Flash 4K of RAM  Require Resources 15K.
HOME CONTROL SYSTEM By: Justin E. Klumpp & Leo L.S. Wan Leo L.S. Wan.
System Software Design Doorbell Jukebox Henry Arbicor and Arthur Bingcang.
Electronic Automotive Motor Control System Software Description Viking 32.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Conserve-A-Watt System Software Design Justin Rapozo.
Software Overview Walking Robot by Sharon Davis Kernel MicroC/OSII.
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name]
Automated Aquarium Controller System Software Design ETEC 474 Western Washington University By: Gregory Rose.
28 April 2005 Brushless DC Motor Controller Software Design Presentation Western Washington University Patrick Prendergast.
System Software Design Presentation Western Washington University Taylor Reijm.
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
Wireless Optical USB Mouse
Wireless Heart Rate Monitor
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
Introduction to Microprocessors and Microcontrollers
8051 Micro Controller.
System Software Design
Arduino म्हणजे काय?.
Presentation transcript:

LED CUBE Preliminary System Software Design Fernando J. Garcia May

Microcontroller MC9S12DP512 Bus frequency of 24MHz Memory Requirements  ROM ~13K bytes  RAM 4K bytes

Kernel MicroC/OS-II Real-time preemptive multitasking kernel Priority Based 1 ms tick period 1 ISRs Intertask communication  Mutexes  Semaphores

Tasks and Priorities TaskPriority Start Task4 PWM Task5 Transmit Task6 Key Task7 Computations Task8 User Interface Task9

Start Task Description:  Initializes the system  Creates other tasks  Pulses cube lights  Priority #4  Period: Once (startup)  Execution time ~2s

PWM Task Description:  Resets timer required by LED drivers for PWM  Interrupt based  Priority #5  Period: 166μs  Execution time(max): 1.6μs  CPU Load: 0.9%

Transmit Task Description:  Transmit data over SPI (Serial Peripheral Interface)  Priority #6  Period Sporadic 16ms  Execution time(max): 98μs  CPU Load: %

Key Task Description:  Periodically Scans keypad  Priority #7  Period: 10ms  Execution time(max): 10μs  CPU Load: 0.1%

Computations Task Description:  Calculates data to be transmitted to the LED drivers  Priority #8  Period: ~100ms (Sporadic)  Execution time(max): ~10ms  CPU load: ~10%

User Interface Task Description:  Updates LCD, controls program states, and functionality of button presses  Priority: 9  Period: 100ms(Sporadic)  Execution Time(max): ~10ms  CPU load: ~10%

Total CPU Load L_max = 21.62% Average= 15%

Module/Library Description 1/2 ModuleTasksPublic ResourcesSource KeypadKeyTaskvoid KeyInit(void) void KeyPend(void) Todd Morton Minimally modified LCDvoid LcdInit(void); void LcdClrDisp(void); void LcdClrLine(INT8U line); void LcdDispChar(INT8U c); void LcdDispByte(INT8U *b); void LcdDispStrg(INT8U *s); void LcdMoveCursor(INT8U row, INT8U col); void LcdDispDecByte(INT8U *b, INT8U lz); void LcdDispTime(INT8U hrs, INT8U mins, INT8U secs); void LcdCursor(INT8U on, INT8U blink); void LcdBSpace(void); void LcdFSpace(void); Andrew Pace, Todd Morton SPITransmit Taskvoid DS3234SpiInit(void) INT8U RTCXfr(INT8U wdata) Todd Morton Modified Based on SPI examples

Module/Library Description 2/2 ModuleTasksPublic ResourcesSource TLC5940_Lib Start Task Transmit Task void TLC5940Init(void) void TLC5940clockDC(void) void TLC5940Clear(void) void TLC5940PWMClr(void) Original MainUI TaskOriginal

Data Flow Diagram 1/3

Data Flow Diagram 2/3

Data Flow Diagram 3/3