Download presentation
Presentation is loading. Please wait.
Published bySharlene Powell Modified over 8 years ago
1
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name] 2011-2012
2
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
3
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, I 2 C port, and 8 GPIO. WWU Electronics Engineering Technology 2012
4
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
5
System Software Design: Tasks StartTask Enables all resources for Kernals, MCU and peripheral initializations. 4 th priority. Period: Once. Execution Time: 10ms KeyTask Monitors keypad checking for new key press from the user 5 th priority. Period: 10ms. Execution Time: 0.1ms WWU Electronics Engineering Technology 2012
6
System Software Design: Tasks RTCTask Provides accurate real time clock data used for date tagging with items 6 th priority. Period: 20ms Execution Time: 10ms UITask Gathers and stores all information from the users input 7 th priority. Period: 200ms. Execution Time: 50ms WWU Electronics Engineering Technology 2012
7
System Software Design: Kernal WWU Electronics Engineering Technology 2012 Maximum CPU Load: 31% L max Average CPU Load: 15.5%
8
Dataflow Diagrams: KeyTask WWU Electronics Engineering Technology 2012
9
Dataflow Diagrams: Scan() WWU Electronics Engineering Technology 2012
10
Dataflow Diagrams: LCD Module WWU Electronics Engineering Technology 2012
11
Dataflow Diagrams: System WWU Electronics Engineering Technology 2012
12
Modules, Tasks, Functions and Data List WWU Electronics Engineering Technology 2012 ModuleTasks/ISRPublic Functions and DataAuthor(s) Main.cStartTask() UITask() DisplayTask() CurrentMessageBryant Lampano SPI.c-SPI_Open()Bryant Lampano Modified by Todd Morton RTC.c-RTCGetDate() IIC_Open() Bryant Lampano Modified by Todd Morton SoftTime.c-GetDate() SetDate() Bryant Lampano Modified by Todd Morton UcosKey.cKeyTask()KeyInit() KeyPend() Todd Morton ProgEeprom.c-ConfigECLKDIV() EESectModify() EESectErase() EEWordWrite() Todd Morton LCD.c-LCDPrompts()Bryant Lampano Modified by Todd Morton BasicIO.a12SCI1_Open() Getstrg() Bryant Lampano Modified by Todd Morton
13
Questions ? WWU Electronics Engineering Technology 2012
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.