Vinh Le
MCU: Freescale Kinetis K60512 ARM Cortex M4 Bus Frequency: 50MHz Available Memory: ◦ 512KB Flash ◦ 64KB SRAM Memory Required: ◦ 10KB Flash ◦ 4KB SRAM
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, Key Task, UI Task, Message 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
Description: Reads the keypad and updates the buffer Priority #7 Period 10 ms Execution time ~ 2.2us
Description: Handles User Inputs ◦ Allows to set the address for the device ◦ Displays Message ◦ Navigate through messages Priority #5 Period 0.5 sec Execution time ~ 2 ms
Description: Retrieve message data ◦ Download data and update message list Priority #6 Period: 0.5 sec Execution time ~ 50 ms
L max = 10.4% L average = 3.5%
TasksPublic Functions and Data Main.cStartTask UITask Key.cKeyTaskKeyInit() Keypend() LCD.cLcdInit() LcdClrDisp() LcdDispStrg() LcdMoveCursor() LcdCursor() Message.cMessageTask Data Message List