90 likes | 208 Views
System Software Design. EX500R Digital Instrumentation Display (Ninja DIDy ). Dane Kim May 4 th , 2009 EET 475, WWU. General System Design. MCU: Cypress PSoC CY8C29446 8-bit Bus Frequency: 24 MHz Memory Requirements: 5K ROM <1K RAM Kernel: Timeslice. Tasks, ISRs and CPU Load.
E N D
System Software Design EX500R Digital Instrumentation Display (Ninja DIDy) Dane Kim May 4th, 2009 EET 475, WWU
General System Design • MCU: Cypress PSoC CY8C29446 • 8-bit • Bus Frequency: 24 MHz • Memory Requirements: • 5K ROM • <1K RAM • Kernel: Timeslice
Tasks, ISRs and CPU Load Lmax = (10s) + (150 s) + (50 s) + (10 s) + (8.3 s) + (8.3 s) + (.1 s) = 12.4% (10ms) (50ms) (50ms) (10ms) (30ms) (10ms) (30ms) Lave = 9.07%
DataReady DataRead Data Flow Diagram – Speed/RPM Speedometer Timer Input Instrumentation.c Speed/Tach Timer ISR Timer Data Instrumentation Task
Data Flow Diagram - Temp A-to-D I/O Instrumentation.c DelSig A/D DelSig_Result TempRead() Start Read
Data Flow Diagram – Button Button Task 1. Button Press Button Pressed LCD Task
Data Flow Diagram - LCD Application LCD.c LCD I/O LCD Task StructInstrData
Data Flow Diagram – Indicator Lights Turn Signal/ Neutral Gear/ High Beam I/O Instrumentation.c Main.c Instrumentation Task Indicator Data