SlideServe
Menu
Préférences
© SlideServe · v2026

System Software Design and Documentation

dalit avatar
10 diapositives · 304 Views · Jul 10, 2014

System Software Design and Documentation. Western Washington University By: Anthony Zarate. General System Design. Atmel ATMEGA 2560 16MHz Available Memory: 256Kbytes Flash 8Kbytes SRAM 4096 bytes EEPROM Memory Usage: 10Kbytes Flash (currently at 5.22Kbytes ) 400 Bytes SRAM

System Software Design and Documentation - slide 1
01 / 10System Software Design and Documentation
1 / 17

Télécharger la présentation

System Software Design and Documentation
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. System Software Design and Documentation Western Washington University By: Anthony Zarate

  2. General System Design • Atmel ATMEGA 2560 • 16MHz • Available Memory: • 256Kbytes Flash • 8Kbytes SRAM • 4096 bytes EEPROM • Memory Usage: • 10Kbytes Flash (currently at 5.22Kbytes) • 400 Bytes SRAM • Timeslice Kernel

  3. Calibrate() • Function that takes baseline light to voltage values from all 28 sensors to create an array, then sends array to the Tolerance() function. When a sensor value is taken, the value is compared to an acceptable sensor input range. If value is ok, ring blinks twice; if value is off, ring stays on during calibration. • Only called once during initialization. • Period: ---- • Execution Time: Blink Time * # Rings = 75ms * 28 = 728ms • CPU Load: Not factored, not part of timeslice.

  4. Tolerance() • Function that multiplies values in baseline array by appropriate reflection coefficients to create a light tolerance level. Reflection coefficients are different depending on sensor placement. • Only called once during initialization. • Period: ---- • Execution Time: 5us • CPU Load: Not factored, not part of timeslice.

  5. Main() • Runs Timeslice loop. • Period: 10ms • Total Execution time: 20us • Total CPU Load: .2%

  6. SensorInput() • Function that gets sensor input from onboard ADC’s and multiplexing ADC and stores in an array to be passed to RingOutput(). • Period: 10ms • Execution Time: 10us • CPU Load: L = 10us/10ms = .001 or .1%

  7. RingOutput() • Functions that compares the sensor input array and the tolerance array to determine whether a ring should be turned on. • Period: 10ms • Execution Time: 10us • CPU Load: L = 10us/10ms = .001 or .1%

  8. CPU Load • Lmax = 10us + 10us = .2% 10ms 10ms

  9. Module/Library Description

  10. DataFlow Diagrams • Z:\Senior Project\system software design