Microchip Technology AC164340 Data Sheet

Page of 152
© 2005 Microchip Technology Inc.
DS30177T-page 25
Software
CMX-Scheduler™ for dsPIC
®
 DSC Devices
CMX-Scheduler is the result of a special collaboration 
between CMX and Microchip. Available in object code 
only, CMX-Scheduler is available for FREE to 
embedded systems designers using the dsPIC
®
 digital 
signal controllers. CMX-Scheduler is specially 
designed for developers whose designs do not require 
a full blown RTOS and/or who are wondering if a kernel 
might help their application. The perfect entry-level 
kernel, CMX-Scheduler is intuitive to use and easy to 
implement.
CMX-Scheduler offers many growth paths for future 
designs. User applications developed with the 
CMX-Scheduler kernel are upwardly compatible with 
the popular CMX-Tiny+™ or CMX-RTX™ RTOSes. 
CMX-Scheduler also is tightly integrated with the 
unique CMX-MicroNet™ TCP/IP stack for those 
applications that require networking connectivity.
CMX-Scheduler software and documentation is 
delivered in electronic format and is freely licensed for 
unlimited product usage on the dsPIC DSC devices.
Features
• FREE for use on any dsPIC DSC device
• Easy to learn and use
• Truly preemptive kernel
• Supports up to five tasks
• Fast performance
• Free bug fixes and updates
• No royalties on shipped products
• Compatible with CMX-Tiny+ and CMX-RTX
• Complete electronic documentation
• Integrated with CMX-MicroNet for optional 
networking connectivity
CMX-Scheduler Specifications for
dsPIC
®
 DSC Products
• All CMX Functions: 972 bytes
• CMX Initialize Module: 153 bytes
• CMX Assembly Module: 567 bytes
• RAM, Each Task Control Block: 11 bytes
• Flash, Each Task Control Block: 5 bytes:
- Min. Context Switch: 81 cycles 
(starting a task)
- 102 cycles (resuming a task)
• CMX functions are contained in a library, thus 
reducing code size, if not referenced
Functionality
• K_Task_Create – creates a task
• K_Task_Start – starts a task
• K_Task_Wake – wakes a task
• K_Task_Wait – has a task wait with/without a 
time-out
• K_Task_Kill – Deletes a task
• K_Task_Coop_Sched – performs a cooperative 
task switch
• K_Event_Wait – waits on an event
• K_Event_Signal – signals an event from a task
• K_Event_Signal – signals an event from an 
interrupt
Ordering Information:
SW300030
CMX-Scheduler™ for dsPIC
®
 DSC Devices (Free download: www.cmx.com/microchip)
DS51439
“CMX-Scheduler™ for dsPIC
®
 DSC Devices Product Overview” 
(Available at: www.microchip.com)
FREE