Automotive and industrial control engineers are using Simulink code generation targets that are now built into Freescale’s new Motor Control Toolbox through Embedded Coder. Simulink motor control blocks and target-ready code generation support enables automatic implementation, verification, and optimization of designs on any Freescale MPC5643L or PXS20 hardware platform.
A Motor Control Library developed by Freescale’s Motor Control Center of Excellence is contained in the toolbox, enables engineers to model their designs using blocks optimized for fast execution on Freescale MCUs and run bit-accurate simulations of those designs. The toolbox offers optimized code generation and support for model-in-the-loop (MIL), software-in-the-loop (SIL) and processor-in-the-loop (PIL) testing through Embedded Coder from MathWorks.The Motor Control Development Toolbox supports the MPC564xL, MPC567xK and PXS30 and PXS20 MCU families.
Block libraries in Motor Control Development Toolbox provide base math functions including trigonometry, PI controllers, FIR and IIR filters, and motor control operations including Park and Clarke transforms. Peripheral block support includes ADC and PWM, as well as SPI and CAN buses.
Generated C source code can be automatically built with Freescale CodeWarrior IDE, Wind River Diab, Green Hills Software MULTI, and other compilers. The toolbox provides FreeMASTER, which enables parameter tuning, real-time monitoring, and data logging to examine software on target hardware.