system software design
Download
Skip this Video
Download Presentation
System Software Design

Loading in 2 Seconds...

play fullscreen
1 / 10

System Software Design - PowerPoint PPT Presentation


  • 95 Views
  • Uploaded on

System Software Design. String-less Harp Sam Tjoelker. General System Design. MCU: CY8C29466 MCU Bus Frequency: 24 MHz Memory Requirements: 1 KB ROM, 100 B RAM 4 digital blocks for interrupts, 1-2 digital blocks for PWM Kernel Choice – Time slice. Kernel Task Design. 11 tasks:

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'System Software Design' - indiya


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
system software design
System Software Design

String-less Harp

Sam Tjoelker

general system design
General System Design
  • MCU: CY8C29466
  • MCU Bus Frequency: 24 MHz
  • Memory Requirements: 1 KB ROM, 100 B RAM
  • 4 digital blocks for interrupts, 1-2 digital blocks for PWM
  • Kernel Choice – Time slice
kernel task design
Kernel Task Design
  • 11 tasks:
    • Start Task
    • Checkstring Task
    • 8 “String” ISR’s
    • 1 Counter ISR
start task
Start Task

Description:

  • Initializes system
  • Period: once (at start-up)
  • Execution time ~ 1s
checkstring task
Checkstring Task

Description:

  • Checks for “string” flag
  • Stops PWM and counter
  • Starts PWM and counter with appropriate frequency seed
  • Clears “string” flag
  • Period: periodic (8ms)
  • Execution time ~ 50us
string isr
“String” ISR

Description:

  • Sets appropriate “string” flag
  • Period: sporadic (worst case: 2ms)
  • Execution time ~ 2us
counter isr
Counter ISR

Description:

  • Stops PWM and counter
  • Period: sporadic (worst case:8ms)
  • Execution time ~ 2us
cpu load
CPU load

L max= (50us) + (2us) + 8*(2us) + (2us)

(8ms) (2ms) (2ms) (8ms)

L max= 14.5%

data flow diagram
Data Flow Diagram

boot.asm

main.c

ad