110 likes | 244 Views
System Software Design. Vinh Le. General System Design. MCU: Freescale Kinetis K60512 ARM Cortex M4 Bus Frequency: 50MHz Available Memory: 512KB Flash 64KB SRAM Memory Required: 10KB Flash 4KB SRAM. Kernel. MQX RTOS provided by Freescale Real-time preemptive multitasking Kernel
E N D
System Software Design Vinh Le
General System Design • MCU: FreescaleKinetis K60512 ARM Cortex M4 • Bus Frequency: 50MHz • Available Memory: • 512KB Flash • 64KB SRAM • Memory Required: • 10KB Flash • 4KB SRAM
Kernel • MQX RTOS provided by Freescale • Real-time preemptive multitasking Kernel • Events Services for Task Synchronization • Semaphores, Mutexes, and Messages • Time Delays • Tick period: 1ms • Real-Time TCP/IP Communication Suite (RTCS) • TCP/IP networking application protocols for Web Communication • Tasks • Start Up, KeyTask, UI Task, MessageTask,
Start Task Description: • Enables all of MCU and Kernel resources and initializes system. • Creates other tasks • Priority #4 • Period: Once (at start-up) • Execution time ~ 1s
Key Task Description: • Reads the keypad and updates the buffer • Priority #7 • Period 10 ms • Execution time ~ 2.2us
User Interface Task Description: • Handles User Inputs • Allows to set the E-Mail address for the device • Displays Message • Navigate through messages • Priority #5 • Period 0.5 sec • Execution time ~ 2 ms
Message Task Description: • Retrieve E-mail message data • Download data and update message list • Priority #6 • Period: 0.5 sec • Execution time ~ 50 ms
CPU Load Lmax= 10.4% Laverage = 3.5%