MCF51AG ColdFire MCUs for Large Appliance And Industrial Applications

576 views

Published on

To introduce ColdFire MCF51AG microcontrollers and their key features

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

MCF51AG ColdFire MCUs for Large Appliance And Industrial Applications

  1. 1. MCF51AG ColdFire MCUs for Large Appliance And Industrial Applications <ul><li>Source: Freescale </li></ul>
  2. 2. Introduction <ul><li>Purpose </li></ul><ul><ul><li>To introduce ColdFire MCF51AG microcontrollers and their key features </li></ul></ul><ul><li>Outline </li></ul><ul><ul><li>Overview of MCF51AG MCUs </li></ul></ul><ul><ul><li>Key features & benefits </li></ul></ul><ul><ul><li>Key peripherals </li></ul></ul><ul><ul><li>iEvent module </li></ul></ul><ul><ul><li>Development Tools </li></ul></ul><ul><li>Content </li></ul><ul><ul><li>19 pages </li></ul></ul>
  3. 3. 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. <ul><li>TWR-MCF51AG Tower System allows customers to rapidly develop for their application right out of the box with QSG and LAB demonstrations </li></ul><ul><li>MQX ported to the AG128 with priority drivers for the BSP – DMA controller, iEVENT, and DMA peripherals (IIC, SCI,SPI,ADC etc). </li></ul><ul><li>CW - AG128 service packs available for both CW6.2 and CW6.3. </li></ul><ul><li>3-Phase Sensorless BLDC Motor Control demonstration using comparators on the MCF51AG128 </li></ul><ul><li>Innovative solutions for advanced HMI functionality with Touch Sensing Software, and & eGUI for driving low end Graphical User Interface. </li></ul><ul><li>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. </li></ul><ul><li>Increase overall performance by using DMA and iEvent to handle data transaction and interrupt management, thereby reducing CPU overhead. </li></ul><ul><li>Excellent Flash: RAM ratio compared with competitor offerings in Appliance, with 128KB Flash and 16KB of RAM </li></ul><ul><li>Maximum flexibility enabled in layout and manufacturing through support of multiple package options, combined with new eGPIO functionality. </li></ul><ul><li>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 </li></ul><ul><li>Meet needs of IEC60730 standard with Advanced Independent Clocked Watchdog, Cyclic Redundancy Check, External Watchdog Monitor, and Enhanced GPIO. </li></ul><ul><li>Designed for robust performance, with optimized pin-out, EFT / Powered ESD enhancements, and extensive EMC testing. </li></ul>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
  4. 4. Target Applications <ul><li>Room Air Conditioner </li></ul><ul><li>Washing Machine </li></ul><ul><li>Dishwasher </li></ul><ul><li>Refrigeration / Freezer </li></ul><ul><li>Cooking Products – Microwave, Ovens, Cooktop </li></ul><ul><li>Dryer </li></ul><ul><li>Small Appliance </li></ul><ul><li>ACIM, BLDC, PMSM, SR and Stepper </li></ul><ul><li>Fans / Compressors </li></ul><ul><li>Drives / Pumps </li></ul>Home Appliances System Control, HMI, Motor Control Industrial Applications / Motor Control
  5. 5. 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
  6. 6. Key Peripherals on MCF51AG128 / AG96 <ul><li>CPU – 32-bit Coldfire V1 50MHz CPU, 25MHz Bus Frequency, operating across 2.7 to 5.5V range </li></ul><ul><li>DMA and iEvent modules help system software design by handling data transaction and interrupt management, thereby off-loading CPU overhead and increasing overall performance </li></ul><ul><li>ADC, HSCMP, & Flex Timer can combine to control 3 phase sensorless BLDC or 3 phase AC motors. </li></ul><ul><li>SCI, SPI, I2C communication peripherals for simple and efficient data exchange </li></ul><ul><li>WDOG,CRC, EWM, EGPIO functionality for enhanced System Safety and Integrity, addressing IEC 60730 needs. </li></ul><ul><li>EGPIO providing flexibility in PCB Design & layout with increased functionality on every digital pin. </li></ul>
  7. 7. MCF51AG128 – Feature/Benefit Table Features Benefits <ul><li>DMA - 4 Independent DMA Channel each with selectable peripheral source requests and each channel can be used to initiate another channel transfer </li></ul><ul><li>iEvent Module - provides a mechanism to manage CPU interrupts or DMA transfers or triggers to other peripherals </li></ul><ul><li>DMA and ievent module combine to handle data transaction and interrupt management, thereby off-loading CPU overhead and increasing overall performance. </li></ul><ul><li>On Chip Memory: </li></ul><ul><li>Up to 128KB Flash, read/program/erase over full operating voltage and temperature. </li></ul><ul><li>Up to 16KB random-access memory (RAM) </li></ul><ul><li>Allows the user to take full advantage of in-application re-programmability benefits in any environment </li></ul><ul><li>Excellent Flash : RAM ratio </li></ul><ul><li>Security circuitry to prevent unauthorized access to RAM and Flash contents </li></ul><ul><li>Analog to Digital Converter - 24 analog inputs with 12 bits resolution </li></ul><ul><li>Programmable Delay Block - 16-bit of resolution with prescaler </li></ul><ul><li>HSCMP — Two analog comparators with selectable interrupt, programmable voltage reference from two internal DACs </li></ul><ul><li>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. </li></ul><ul><li>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. </li></ul><ul><li>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); </li></ul><ul><li>TPM — 16-bit Timer with two channels (input capture, output compare, or edge-aligned PWM) </li></ul><ul><li>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) </li></ul><ul><li>Serial Communications – Two Serial Communications Interface modules, Two Serial Peripheral Interfaces, and one IIC module. </li></ul><ul><li>Multiple communication interfaces for simple and efficient data exchange </li></ul><ul><li>System Safety & Integrity Functionality - Advanced independently clocked COP, External Watchdog Monitor, and Cyclic Redundancy Check generator </li></ul><ul><li>Clock failure protection and memory content validation </li></ul><ul><li>System integrity for safety-critical applications implementing IEC60730 safety standards </li></ul>
  8. 8. AG128 Platform with iEVENT and DMAC
  9. 9. Expected “DMA use cases” in Industrial / Appliance Systems <ul><li>DMA used for communications protocol to complete full message transfer before requiring CPU time to interpret the message. </li></ul><ul><li>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. </li></ul><ul><li>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) </li></ul><ul><li>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). </li></ul><ul><li>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. </li></ul><ul><li>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) </li></ul>
  10. 10. iEvent <ul><li>iEvent module provides a mechanism to delay </li></ul><ul><ul><li>CPU interrupts or </li></ul></ul><ul><ul><li>DMA transfers or </li></ul></ul><ul><ul><li>triggers to other peripherals </li></ul></ul><ul><li>Until several (4 selectable) peripheral events have occurred. </li></ul><ul><li>Benefit: Reduce the amount of CPU interrupts or DMA transfers for lower priority interrupts. </li></ul>iEvent Channel Block Diagram
  11. 11. iEvent cont’d <ul><li>Selection of 4 event inputs from 16 possible sources for each event output </li></ul><ul><li>User-programmable combinational Boolean function evaluation using the selected 4 event inputs </li></ul><ul><li>Programmable configuration for use as an interrupt request (IRQ), a DMA request or a hardware trigger </li></ul><ul><li>Programmable support of event output as either one-shot or reoccurring modes of operation </li></ul><ul><li>Programmable support for automatic broadcast of “done” indicator to the event input modules involved in the generation of the request </li></ul><ul><li>Memory-mapped device connected to an 8-bit slave peripheral (IPS) bus </li></ul><ul><ul><li>Support for all access sizes: byte, word, and longword </li></ul></ul><ul><ul><li>All accesses complete with a one wait-state response to allow extensive explicit clock gating to minimize power dissipation </li></ul></ul><ul><li>Configurable design description supports 1-8 event output channels </li></ul>
  12. 12. iEvent Provides Auto Peripheral To Peripheral Triggering
  13. 13. Advanced Independent Clocked WDOG <ul><li>Features: </li></ul><ul><li>High resolution Timeout (+/- 1 clock period) </li></ul><ul><li>Forced WDOG config time </li></ul><ul><li>Robust Refresh mechanism </li></ul><ul><li>Enabled on Reset </li></ul><ul><li>Forces asynchronous reset to all MCU </li></ul><ul><li>Window mode </li></ul><ul><li>Fast test mode of timeout & reset </li></ul><ul><li>Write once(after reset) config register. </li></ul><ul><li>Robust Lock/Unlock config mechanism </li></ul><ul><li>Interrupt prior to forced reset option </li></ul><ul><li>Benefit: </li></ul><ul><li>Allows application to have 1 refresh routine </li></ul><ul><li>Ensures application utilises the wdog. </li></ul><ul><li>Unique double 16bit write more robust than AA/55 or BSET </li></ul><ul><li>Never disabled </li></ul><ul><li>reset occurs without sync to CPU clock. </li></ul><ul><li>Detect code is looping too fast </li></ul><ul><li>Faster time to start application code </li></ul><ul><li>Once written cannot be disabled. </li></ul><ul><li>Option for modifying wdog config in application time. </li></ul><ul><li>Provides a debug tool to help trace bugs in code. </li></ul>
  14. 14. 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
  15. 15. eGPIO Overview <ul><li>Ultimate PCB flexibility </li></ul><ul><li>With all EGPIO having independent </li></ul><ul><li>Configuration capbaility </li></ul><ul><li>Input Flexibility </li></ul><ul><li>Passive and Digital Filtering </li></ul><ul><li>Pullup/Pulldown enable </li></ul><ul><li>CPU interrupt & DMA triggering </li></ul><ul><ul><li>Rising or falling edge </li></ul></ul><ul><ul><li>Edge or Edge & Level </li></ul></ul><ul><li>iEvent triggering. </li></ul><ul><li>Async wake-up from Stop mode </li></ul><ul><li>Output Flexibility </li></ul><ul><li>Slew rate control </li></ul><ul><li>Output Drive (High/Low) </li></ul>“ If only the High drive port was on the other side!” “ If only the Keyboard interrupt was on this pin!” No More
  16. 16. Optimised Pin-Out for EMC - 64 pin 51AG128 All Analog Side
  17. 17. Development Tools & Enablement Support <ul><li>Freescale Tower System Support </li></ul><ul><ul><li>TWR-MCF51AG - $79 - the board can be used as a standalone development board or as part of a Tower System kit </li></ul></ul><ul><ul><li>TWR-MCF51AG-KIT - $xx – contains TWR-ELEV & TWR-PROTO boards. </li></ul></ul><ul><ul><li>Out-of-box DVD with labs </li></ul></ul><ul><li>CodeWarrior for MCU V6.2/6.3 </li></ul><ul><ul><li>Processor Expert support </li></ul></ul><ul><ul><li>CW10 does support MC51AG128 </li></ul></ul><ul><ul><li>MQX Port - Drivers for the BSP include DMA controller, iEVENT, and DMA peripherals </li></ul></ul><ul><li>Reference Design </li></ul><ul><ul><li>3-Phase Sensor-less BLDC Motor Control </li></ul></ul><ul><ul><li>Hardware / Softwrae solution downloadable from Web </li></ul></ul><ul><li>Application related Software Support </li></ul><ul><ul><li>eGUI - Complimentary, lightweight software component allowing graphics LCD panels to be driven from small microcontrollers. </li></ul></ul><ul><ul><li>Xtrinsic Touch Sensing Software 2.0 </li></ul></ul>
  18. 18. MCF51AGxxx Part Numbers Notes : -40 to +105 Degs C ‘V’ temp part numbers also available * Suggested 10K Resale Pricing (subject to change). Part Number Temp Range Key Features Package 10ku Price MCF51AG128CLK -40 to +85 C CF V1, DMA, iEvent, 128kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 69 GPIO 80LQFP (14x14) $3.40* MCF51AG128CLH -40 to +85 C CF V1, DMA, iEvent, 128kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 53 GPIO 64LQFP (10x10) $3.23 MCF51AG128CQH -40 to +85 C CF V1, DMA, iEvent, 128kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 53 GPIO 64QFP (14x14) $3.27 MCF51AG128CLF -40 to +85 C CF V1, DMA, iEvent, 128kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 39 GPIO 48LQFP (7 x 7) $3.01 MCF51AG96CLK -40 to +85 C CF V1, DMA, iEvent, 96kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 69 GPIO 80LQFP (14x14) $3.22 MCF51AG96CLH -40 to +85 C CF V1, DMA, iEvent, 96kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 53 GPIO 64LQFP (10x10) $3.06 MCF51AG96CQH -40 to +85 C CF V1, DMA, iEvent, 96kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 53 GPIO 64QFP (14x14) $3.10 MCF51AG96CLF -40 to +85 C CF V1, DMA, iEvent, 96kB Flash, 16k SRAM, ADC, Flex-Timer, HSCMP/DAC, PDB, Serial Comms, ICS, CRC, COP, 39 GPIO 48LQFP (7 x 7) $2.91
  19. 19. Additional Resource <ul><li>For ordering MCF51AG ColdFire MCUs , please click the part list or </li></ul><ul><li>Call our sales hotline </li></ul><ul><li>For more product information go to </li></ul><ul><ul><li>http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF51AG </li></ul></ul><ul><li>Visit element14 to post your question </li></ul><ul><ul><li> www.element-14.com </li></ul></ul><ul><li>For additional inquires contact our technical service hotline or even use our “Live Technical Chat” online facility </li></ul>

×