Calsoft Labs Case Studies
Product Development

Calsoft Labs is a leading technology partner for companies, helping them develop new products and modernize existing ones using emerging technologies. more

Custom Motor Controller for Consumer Devices


This case study captures the development of next generation firmware to control and upgrade the firmware of customer’s motor controller module based on TI/Luminary Micro Stellaris series Microcontroller - LM3S5632-IQR50-A0 devices using the USB CDC class drivers on various Windows and Macintosh platforms.

Challenge

The device firmware has to implement all the motor functionality present in 1.0 while still using the USB CDC class driver and support DFU. In addition, Macintosh as a platform had to be supported.

Solution

The device was modeled as a CDC class device and motor control commands were re-implemented to handle multiple commands without dropping any commands. Additional features such as battery measurement, LED control, Power save modes and new motor pre-defined patterns were implemented. Firmware upgrade feature was implemented ground-up using DFU protocol and Stellaris libraries.

Technology and Resources

  • OS: Windows 7 64 bit, Vista and XP
  • Hardware Setup: Customer’s motors using a test setup
  • Tools: CodeRed
  • Language/Skills used for automation: C programming on Linux
  • Team size: 3 Engineers