130 likes | 235 Views
[Type the company name]. 2011-2012. The Guardian: Refrigerator Contents Tracker Bryant Lampano. Western Washington University Electronics Engineering Technology. System Software Design Overview. General System Software Design Specifics on Software Design Kernal Tasks CPU Load
E N D
[Type the company name] 2011-2012 The Guardian:Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology
System Software Design Overview • General System Software Design • Specifics on Software Design • Kernal • Tasks • CPU Load • Dataflow Diagram • Module, Tasks, Function and Data list WWU Electronics Engineering Technology 2012
General System Software Design • MCU: Freescale MC9S12DP512 16-bit. • 512KB Flash EEPROM, 14KB RAM, 4KB EEPROM. • Bus frequency: 24MHz. • Maximum of 25MHz with 16MHz crystal. • Approximate memory requirements: • ROM: ~12KB. • Includes µC/OS-II, final program and data storage. • RAM: ~1KB. • Includes parameters and variables. • Resources used: • 1 SPI port, 1 SCI port, I2C port, and 8 GPIO . WWU Electronics Engineering Technology 2012
System Software Design: Kernal • Kernal: µC/OS-II maintained by Micrium Inc. • Pre-emptive real-time kernal. • Resources used: • Semaphores, mutexes, time delays. • Tick period: 1ms • Task total: 4 • StartTask, KeyTask, UITask, RTCTask. WWU Electronics Engineering Technology 2012
System Software Design: Tasks • StartTask • Enables all resources for Kernals, MCU and peripheral initializations. • 4th priority. • Period: Once. • Execution Time: 10ms • KeyTask • Monitors keypad checking for new key press from the user • 5th priority. • Period: 10ms. • Execution Time: 0.1ms WWU Electronics Engineering Technology 2012
System Software Design: Tasks • RTCTask • Provides accurate real time clock data used for date tagging with items • 6thpriority. • Period: 20ms • Execution Time: 10ms • UITask • Gathers and stores all information from the users input • 7thpriority. • Period: 200ms. • Execution Time: 50ms WWU Electronics Engineering Technology 2012
System Software Design: Kernal • Maximum CPU Load: 31% • Lmax • Average CPU Load: 15.5% WWU Electronics Engineering Technology 2012
Dataflow Diagrams: KeyTask WWU Electronics Engineering Technology 2012
Dataflow Diagrams: Scan() WWU Electronics Engineering Technology 2012
Dataflow Diagrams: LCD Module WWU Electronics Engineering Technology 2012
Dataflow Diagrams: System WWU Electronics Engineering Technology 2012
Modules, Tasks, Functions and Data List WWU Electronics Engineering Technology 2012
Questions ? WWU Electronics Engineering Technology 2012