To introduce ColdFire MCF51AG microcontrollers and their key features
Overview of MCF51AG MCUs
Key features & benefits
MCF51AG128/AG96 Key Messages ColdFire MCF51AG128 microcontrollers offer optimal performance with enhanced system safety and integrity designed for the most demanding appliance and industrial applications. Optimal Performance Easy to Use Software and Tools Unique IP that optimizes system performance and provides flexibility for appliance applications.
TWR-MCF51AG Tower System allows customers to rapidly develop for their application right out of the box with QSG and LAB demonstrations
MQX ported to the AG128 with priority drivers for the BSP – DMA controller, iEVENT, and DMA peripherals (IIC, SCI,SPI,ADC etc).
CW - AG128 service packs available for both CW6.2 and CW6.3.
3-Phase Sensorless BLDC Motor Control demonstration using comparators on the MCF51AG128
Innovative solutions for advanced HMI functionality with Touch Sensing Software, and & eGUI for driving low end Graphical User Interface.
Operate at processor core speeds up to 50 MHz across 2.7V – 5.5 V power supply, the preferred operating voltage for Appliance/Industrial applications.
Increase overall performance by using DMA and iEvent to handle data transaction and interrupt management, thereby reducing CPU overhead.
Excellent Flash: RAM ratio compared with competitor offerings in Appliance, with 128KB Flash and 16KB of RAM
Maximum flexibility enabled in layout and manufacturing through support of multiple package options, combined with new eGPIO functionality.
Efficient control of 3-phase BLDC Motors using combination of ADC / HSCMP / Flex Timer modules can combine to control 3-phase sensorless AC motor or 3-Phase BLDC
Meet needs of IEC60730 standard with Advanced Independent Clocked Watchdog, Cyclic Redundancy Check, External Watchdog Monitor, and Enhanced GPIO.
Designed for robust performance, with optimized pin-out, EFT / Powered ESD enhancements, and extensive EMC testing.
Integrated features important for appliance & industrial applications and the needs set by the IEC60730 standard. Comprehensive set of software and hardware tools ease development and speed time to market. Intelligent Peripheral Set
Home Appliances System Control, HMI, Motor Control Industrial Applications / Motor Control
Motor Control Portfolio Kinetis MC33991 Dual Gauge Driver MM908E626 Stepper Motor Driver w/ LIN MPC17C724 0.4 Amp Dual H-Bridge Motor MC33879 Octal Serial Switch with Open Load Detect Current Disable MC33999 16-Output Switch with SPI and PWM Control MC33937 Three Phase Field Effect Transistor Pre-driver Analog Portfolio Ultra Low End – Low End 8Bit Hi-end 8-bit to Low-end 32-bit 3-phase sensored (V/Hz, Slip) Mid Range – 3-phase sensorless (vector control) 16-bit DSP Hi-end –DSP, 32-bit MCU/MPU S08MP16 56F801x S08QD4 56F800x 56F802x / 3x S08AC 51AC S08SH MPC5604P 56F82xx S08SF 32bit 16bit 8bit 51AG
CPU – 32-bit Coldfire V1 50MHz CPU, 25MHz Bus Frequency, operating across 2.7 to 5.5V range
DMA and iEvent modules help system software design by handling data transaction and interrupt management, thereby off-loading CPU overhead and increasing overall performance
ADC, HSCMP, & Flex Timer can combine to control 3 phase sensorless BLDC or 3 phase AC motors.
SCI, SPI, I2C communication peripherals for simple and efficient data exchange
WDOG,CRC, EWM, EGPIO functionality for enhanced System Safety and Integrity, addressing IEC 60730 needs.
EGPIO providing flexibility in PCB Design & layout with increased functionality on every digital pin.
MCF51AG128 – Feature/Benefit Table Features Benefits
DMA - 4 Independent DMA Channel each with selectable peripheral source requests and each channel can be used to initiate another channel transfer
iEvent Module - provides a mechanism to manage CPU interrupts or DMA transfers or triggers to other peripherals
DMA and ievent module combine to handle data transaction and interrupt management, thereby off-loading CPU overhead and increasing overall performance.
On Chip Memory:
Up to 128KB Flash, read/program/erase over full operating voltage and temperature.
Up to 16KB random-access memory (RAM)
Allows the user to take full advantage of in-application re-programmability benefits in any environment
Excellent Flash : RAM ratio
Security circuitry to prevent unauthorized access to RAM and Flash contents
Analog to Digital Converter - 24 analog inputs with 12 bits resolution
Programmable Delay Block - 16-bit of resolution with prescaler
HSCMP — Two analog comparators with selectable interrupt, programmable voltage reference from two internal DACs
Fast, easy conversion from analog inputs such as temperature, pressure and fluid levels, to digital values. Hardware trigger from PWM or PDB allowing high-resolution conversions at any point in the PWM cycle with no additional CPU overhead.
Work with timers to capture back EMF zero crossing events to provide accurate rotor position timing. Enables motor to run smoothly across a wide speed range with no speed jittering in turn increasing efficiency, and reducing noise and mechanical wear.
Two 6-channel 16-bit flexible timer/PWM modules with DMA request option; deadtime insertion is available for each complementary channel pair; channels operate as pairs with equal outputs, pairs with complimentary outputs or independent channels (with independent outputs);
TPM — 16-bit Timer with two channels (input capture, output compare, or edge-aligned PWM)
Increased precision and reduced system cost. 16-bit PWM with emergency over-current shutdown protection. High PWM frequency reduces size/cost of external components in SMPS and PF correction applications (e.g. passive filters)
Serial Communications – Two Serial Communications Interface modules, Two Serial Peripheral Interfaces, and one IIC module.
Multiple communication interfaces for simple and efficient data exchange
System Safety & Integrity Functionality - Advanced independently clocked COP, External Watchdog Monitor, and Cyclic Redundancy Check generator
Clock failure protection and memory content validation
System integrity for safety-critical applications implementing IEC60730 safety standards
Expected “DMA use cases” in Industrial / Appliance Systems
DMA used for communications protocol to complete full message transfer before requiring CPU time to interpret the message.
Within Motor Control application using the FTMs when PWMs change state an ADC acquisition is triggered. In some cases 3 DMA channels maybe required to read 3 phase currents.
Generic ADC driver can initiate reads of all ADC channels and store them in RAM table before requiring CPU time to interpret and react accordingly ( eg water temp, pressure sensor, touch pad interface)
For COG LCD display DMA channel can be used with SPI(or SCI) to transfer a table of data to the COG display (pixel information).
System Integrity, DMA channel can be used to read Flash data and store to CRC engine to generate complete CRC signature while CPU handles other applications.
System Integrity, DMA channel used to frequently update critical I/O and RAM registers with fixed data from a table. (in case of mistaken overwrite or bit flip in key registers)
Unique double 16bit write more robust than AA/55 or BSET
reset occurs without sync to CPU clock.
Detect code is looping too fast
Faster time to start application code
Once written cannot be disabled.
Option for modifying wdog config in application time.
Provides a debug tool to help trace bugs in code.
External Watchdog Monitor EWM is a redundant wdog which monitors both programme code execution AND external supervisor circuit eg. a Emergency Shutdown Circuit Key Features: Clocked by independent LPO 1kHz RC osc 8 stage ripple counter Timeout period has min and max refresh time Refresh of counter requires CPU register update && EWM_in de-asserted. Else EWM_out will be asserted. (EWM_out can only be de-asserted with an MCU reset EWM does not assert an MCU reset. Counter CPU Service EWM_in EWM_out MCU RESET External Supervisor Circuits indicates a fault EWM_out asserted MCU RESET Required to de-assert EWM_out CPU refresh occurs too early EWM_out asserted. CMP_Low CMP_Low