Welcome to the training module on Freescale’s ColdFire ® MCF5225x Family – one-Stop-Shop Connectivity 32-bit MCUs. This training module will discuss the new MCF5225x microcontrollers family - an ultra-integrated ColdFire microcontroller with on-chip USB, Ethernet, CAN, encryption and a complimentary Freescale MQX™ software solution.
There is a growing trend of designs that require more integrated connectivity, such as CAN, Ethernet and USB instead of serial UART. The software for your applications have also become more complex and demand more of your software design resources than ever before. There are multiple sources for hardware, software and the tools needed. Incomplete production-ready software takes you more time to develop and integrate. As a result, a design team on average will spend 60% of it’s resources on software related tasks. In summary, embedded developers face increasing pressure to do more with less – to enhance application performance, connectivity, reduce cost and speed up time to market.
To help developers successfully meet their design challenges, Freescale Semiconductor has offered one industrial connectivity solution. The MCF5225x family of microcontrollers offers best-in-class design flexibility with DSP and security coprocessors, rich system integration, up to 512KB flash and 64 KB SRAM. The MCF5225x family of microcontrollers also ships with complementary, production-ready Freescale MQX Real-Time-Operating-System (RTOS) source code, including multiple communications software stacks, like CAN, Ethernet and USB . A single CodeWarrior development studio supports the entire ColdFire Family. This simplifies both development and migration. A full suite of 3rd party software and tool vendors are also available to support peripheral drivers, compilers, debuggers and the Real-Time-Operating-System (RTOS). The combined silicon and software solution gives developers exceptional design flexibility, multiple connectivity options and quicker time to market.
In more detail, the MCF5225x features CAN, E thernet, and USB which allows you to choose the best protocol for your application. The cryptographic accelerator unit (CAU) and random number generator (RNG) protect your IP during data transmission. The ColdFire V2 core combines benefits of both CISC and RISC architectures and can run up to 76 Dhrystone 2.1 MIPS @ 80 MHz. An enhanced multiply-accumulate controller or EMAC with hardware divide, and a DMA controller help improve system performance by freeing the CPU to do other ta s ks. Up to 512KB embedded flash and 64KB embedded SRAM improve system performance and simplify coding. The MCF5225x offers best-in- class design flexibility with extensive serial communication capabilities like SPI, two I 2 Cs and three UARTs. A Mini-FlexBus connects FPGA, CPLD, LCD panel, SRAM and Flash memory which gives developers the flexibility to add more memory and peripherals. The MCF5225x family offers a broad range of frequency, memory, embedded function modules and packaging options for various consumer and industrial applications.
The MCF5225x family includes 15 part numbers with options of 66 and 80 MHz core frequency, 256K & 512KB flash memory, embedded function modules, three packaging style including 100LQFP, 144LQFP and 144MAPBGA. This full family of products can help you address a wide range of system performance and application needs at lowest cost.
Freescale’s ColdFire Mmicrocontrollers have one of the broadest 32-bit portfolios in the industry used in various applications. The MCF5225x family is Freescale’s first MCU to integrate Ethernet and USB on one chip to meet increasing connectivity demands.
The MCF5225x is an ideal choice for Factory Automation, Building Control and Medical Applications, including industrial control and networking, Human Machine Interface (HMI), HVAC System/ Applications and finally ortable medical devices for the home. By leveraging USB OTG support for factory automation applications, software and data can be updated easily through a USB memory stick, PC or barcode scanner. The 10/100 Ethernet MAC supports industrial Ethernet connectivity which is widely used in remote control and monitoring. The Mini-FlexBus connects FPGA, CPLD, LCD panel, external SRAM and Flash memory for expansion flexibility. The 3 UARTs can also meet factory Fieldbus connections needs. The embedded cryptographic acceleration unit or CAU and the random-number-generator accelerator or RNGA blocks, encrypt the data to help secure communications through Ethernet, which helps increase security in building controls. Up to 56 GPIO provides ample space to a friendly user interface in access control. For medical applications, the 80MHz and EMAC allows the processing of complex data analysis. The USB connectivity allows patient data to be downloaded and stored conveniently. The serial connectivity options allow easy connection to a wireless module or LCD screen.
In the next few slides, I will show how the MCF5225x family of microcontrollers provides benefits to customer applications. Here is an automation control panel application. As you can see, this application takes advantage of integrated USB and Ethernet. USB OTG makes it possible to update firmware and transfer data through a USB memory stick. A COG controller can be connected through the SPI or Mini-FlexBus. Commonly used USB ports with OTG support give you full flexibility to upgrade software through a USB stick. The GPIO can be used to interface keyboard and to drive LEDs. And finally, the Freescale MQX RTOS provides seamless support to MCF5225x with Ethernet, USB, and graphic libraries to help develop the application quickly and easily.
Here is a security access control application. The finger chip module highlighted in red is connected through QSPI and a speaker is driven through PWM. The embedded CAU and RNGA blocks, encrypt the data to secure communication through Ethernet. The enhanced EMAC with hardware divide capability and a direct-memory access (DMA) controller enhance system performance.
Freescale also offers hardware solutions with an enhanced out of box experience for the MCF5225x that helps to ease the design process. The full-featured M52259 evaluation kit supports all the main features of the MCF5225x including USB, Ethernet, CAN and 3 RS232s. The Mini-FlexBus connects to MRAM and Altera Max IIz CPLD compact flash interface for memory expansion and peripherals. The M52259 DEMO KIT is a cost effective and easy-to-use demonstration board which supports USB, Ethernet, CAN and 1 RS232. The integrated open source BDM (OSBDM) provides hardware/software at no additional cost. The Freescale MQX RTOS, stand alone/bare metal TCP/IP, USB stacks and sample projects are fully supported by both the Eval and DEMO boards. Both development kits ship with a DVD featuring a Complimentary CodeWarrior for ColdFire Architectures v7.1 evaluation Edition with Processor Expert. Also available are quick start guides, labs, the MQX software, stacks, CodeWarrior, IAR yellow suite, examples of codes , walkthroughs and application notes to help developers become productive quickly and easily.
The MCF5225x is a complete hardware and software solution from Freescale that will accelerate your development. On the device side, the BDM and JTAG functions are integrated on the MCF5225x chip. The BSP/PSP are provided between the RTOS and hardware in the Hardware Abstract Layer (HAL). In the enablement layer, Freescale’s MQX offers RTOS, USB Host/Device, Real-Time TCP/IP communication suite (RTCS), file systems and more. A full suite of 3rd party software and tool vendors are ready and available to assist with Peripheral drivers, compilers, debuggers and RTOS’s. Freescale offers application task and industry specific libraries, demonstration code and application examples to help you develop customized applications, quickly and easily. On PC hosted side, the MCF5225x device can be programmed and debugged through the OSBDM module through CodeWarrior Development Studio. The IAR Embedded Workbench for MCF5225x is also available to build and debug your application.
To help accelerate time to market, and to improve application development, Freescale Semiconductor is offering the MQX real-time operating system (RTOS) with TCP/IP and USB software stacks to ColdFire® microcontroller (MCU) customers at no additional charge. The combination of Freescale MQX operating system and the silicon portfolio creates a comprehensive source for hardware, software, tools and services. The MQX task-aware debugging features plug into either the CodeWarrior or IAR debugger, creating a powerful embedded debugging environment and thus helping to speed development, reduce cost and improve finished product quality.
The Real-Time TCP/IP Communication Suite (RTCS) provides IP networking for the Freescale MQX Software Solutions. Freescale’s MQX RTCS provides a rich assortment of TCP/IP networking application protocols and uses the Freescale MQX RTOS drivers for Ethernet and serial connectivity. RTCS not only provides application layer protocols but is a complete OSI model solution, that spans data link to application layer standard protocols. Each row in the figure is a separate layer according to the OSI model for a TCP/IP stack so that was in part used for the coloring. RTCS can be extended to support additional industry-standard protocols with other products, including Security, Advanced Routing/Network Access, Embedded Web Server/E-mail Support, and Network Management protocols.
Freescale offers production ready stand alone/ bare metal software stacks. Freescale has also collaborated with CMX Systems to provide a free subset of CMX’s USB firmware called CMXUSB-LITE which includes USB Device Drivers and HID, CDC Class Drivers, USB Host Driver, MSTand FAT file system. In collaboration with InterNiche Technologies, a free version of InterNiche’s NicheLite™ TCP/IP software stack called ColdFire Lite TCP/IP is also provided. The ColdFire Lite TCP/IP supports ARP, IP, ICMP and more functions. All the software stacks have direct interface to CodeWarrior IDE for easy debugging. There are labs available to guide and run the software on DEMO and Eval kits on a step by step basis.
Freescale has collaborated with IAR Systems to ensure full support for the MCF5225x family of microcontrollers. The IAR Embedded Workbench is a set of highly sophisticated and easy-to-use development tools for programming embedded applications. It integrates the IAR C/C++ Compiler™, assembler, linker, librarian, text editor, project manager, and C-SPY® debugger in one integrated development environment (IDE). A complementary version of Kick Start Edition Embedded Workbench and the Evaluation Edition of IAR PowerPac for ColdFire are available. Customers can buy the IAR RTOS and development tools from Freescale through the buy direct system. The IAR development tool works directly on the M52259 Eval board. However, it does not support the demo kit at this time. However, there are plans to support open source BDM in the near future.
A full suite of 3rd party software and tool vendors provide a variety of solutions for customers, such as RTOS, Stacks, Debuggers/Emulators, Integrated Development Environments and more. For example, free RTOS provides open source and mini real-time kernel whiles Micrium offers a full portfolio of embedded modules including: RTOS, TCP/IP stack, File System and USB stack.
Thank you for taking the time to view this presentation on “ ColdFire ® MCF5225x Family – one-Stop-Shop Connectivity 32-bit MCUs ” . If you would like to learn more or go on to purchase some of these devices, you may either click on the part list link, or simply call our sales hotline. For more technical information you may either visit the Freescale site or if you would prefer to speak to someone live, please call our hotline number, or even use our ‘live chat’ online facility.
This training module discusses the new MCF5225x microcontrollers family from Freescale - an ultra-integrated ColdFire microcontroller with on-chip USB, Ethernet, CAN and encryption, and complimentary Freescale MQX™ software solution.
Featuring on-chip USB, Ethernet, CAN and encryption, MCF5225x is an industry-leading connectivity and security solution for connected applications. An array of peripherals offers big design flexibility.
ColdFire MCF5225x + Freescale MQX Software Solutions A one-stop-shop connectivity MCU featuring a complementary* full-featured, scalable RTOS with connectivity software. Industry-leading Connectivity & Flexibility Gets You to Market Faster
Freescale offers complimentary Freescale MQX RTOS, software stacks, CodeWarrior® Development Studio and 3 rd party software and tools. All designed to ease and speed the design process.
Offers One Design Platform
One collaborative source for hardware, software, tools and services to provide a streamlined and scalable platform.
USB 2.0 full-speed Host/Device/On-the-go Controller
CAN – (FlexCAN)
FEC (10/100 Ethernet)
Serial Peripheral Interface (Queued SPI)
I 2 C bus interface modules
4 ch. 32-bit timers with DMA support
4 ch. 16-Bit Capture/Compare/PWM timers
2 ch. Periodic Interrupt Timer
8 ch. PWM timer with enhanced DAC capabilities
2 nd Watchdog timer with independent clock
Real Time Clock with 32kHz crystal oscillator
8 ch. 12-bit A-to-D converter with simultaneous sampling
Up to 56 3.3V Tolerant General-Purpose I/O
System Integration (PLL, SW Watchdog)
Single 3.3V supply
Temperature Range: -40 C to +85 C
Available Speeds: 66 and 80MHz
Available packages: 100 LQFP, 144 LQFP, 144 BGA
ColdFire MCF5225x MCUs At a glance 144 MAPBGA -40 to 85C Yes 64 512 Yes 80 MCF52259CVN80 144 MAPBGA -40 to 85C No 64 256 Yes 66 MCF52256CVN66 144 MAPBGA -40 to 85C No 64 512 Yes 66 MCF52258CVN66 144 MAPBGA 0 to 70°C No 32 256 No 80 MCF52256VN80 144 MAPBGA 0 to 70°C No 64 512 No 80 MCF52258VN80 144 LQFP -40 to 85C No 64 512 Yes 66 MCF52258CAG66 144 LQFP -40 to 85C Yes 64 512 Yes 80 MCF52259CAG80 144 LQFP -40 to 85C No 64 256 Yes 66 MCF52256CAG66 144 LQFP 0 to 70°C No 64 512 No 80 MCF52258AG80 144 LQFP 0 to 70°C No 32 256 No 80 MCF52256AG80 100 LQFP -40 to 85C Yes 64 512 Yes 80 MCF52255CAF80 100 LQFP -40 to 85C No 64 512 Yes 66 MCF52254CAF66 100 LQFP -40 to 85C No 32 256 Yes 66 MCF52252CAF66 100 LQFP 0 to 70°C No 64 512 No 80 MCF52254AF80 100 LQFP 0 to 70°C No 32 256 No 80 MCF52252AF80 Packages* Temp. Encrypt. SRAM KB Flash KB CAN Freq (MHz) Part Number
ColdFire MCU Portfolio Flash MC51FQE Ultra Low Power MCF52110 RTC MCF51AC Motor Control MCF521/2/3/4 CAN MCF51AC Motor Control MCF5282 10/100, CAN 32KB 64KB 128KB 256KB 512KB MCF5281 10/100, CAN MCF5225x 10/100, USB otg, CAN, CAU 1MB MC51QE Ultra Low Power MCF52230/1 10/100 + PHY CAN, 60MHz MCF52233/4/5 10/100 + PHY CAN, Crypto 60MHz MCF52236 10/100 + PHY 50MHz MCF52232 10/100 + PHY, 50MHz MCF5216 CAN General Purpose / Low Power Ethernet USB MCF52210 USB otg (FS), 80MHz MCF52211 USB otg (FS), 80MHz MCF52213 USB otg (FS), 50MHz MCF52212 USB otg (FS), 50MHz MCF51JM USB otg (FS), CAN, Crypto MCF51JM USB otg (FS), CAN, Crypto MCF5225x 10/100, USB otg, CAN, CAU MCF52223 USB otg (FS) MCF52100 RTC MC51QE Ultra Low Power
Target Applications Factory Automation & Drives Building Controls Medical MCF5225x is a one-stop-shop connectivity MCU with on-chip USB, Ethernet, CAN and encryption . With ready-to-go Freescale MQX RTOS, software stacks, training resources and a suite of third-party solutions, you can easily design for any connectivity application.
80MHz and EMAC allows the processing of complex data analysis algorithms
Mini-FlexBus bus allows the connection of external memory to store large amounts of patient data
USB connectivity allows patient data to be downloaded quickly and easily
Serial connectivity options allow easy connection to a wireless module or LCD screen
Embedded CAU and RNGA blocks encrypt data to help secure communications through Ethernet
Sufficient GPIO resources provide ample space to a build friendly “User Interface”
ColdFire V2 core with EMAC enhances accumulate multiply
USB OTG supports software or data update through a USB memory stick, maintenance PC or barcode scanner
10/100 Fast Ethernet MAC supports industrial Ethernet connectivity for remote control and monitoring
Mini-FlexBus connects FPGA, CPLD, LCD panel, SRAM and Flash memory
Embedded 10/100M Fast Ethernet Control makes it easy to control various terminals all around the building through networking.
Commonly used USB ports with OTG support give you full flexibility to upgrade software through USB stick.
Freescale MQX RTOS provides seamless support to MCF5225x with Ethernet, USB, graphic library to save your time during design.
Factory Automation & Drives Keyboard Matrix QSPI USB OTG EMAC V2 Cold Fire ® Core 10/100 FEC DMA Ext Bus GPIO SPI COG Controller MCF5225x Para Bus Or LED Data Through Ethernet Firmware Update and Data transfer
Use Case – Security Access Control QSPI USB OTG EMAC V2 Cold Fire ® Core 10/100 FEC DMA Finger Chip Module GPIO MCF5225x Keyboard Matrix LED Encrypted Data Through Ethernet Firmware Update Crypto (CAU) RNGA PWM Speaker
ColdFire V2 core with EMAC enhances accumulate multiply.
Embedded CAU and RNGA blocks encrypt the data to secure the communication through Ethernet
Sufficient GPIO resources provide ample space to build friend User Interface.
Building Controls Biometrics Security is one of the safest methods used in the area of security access control. MCF5225x can provide all the features necessary in this field.
Solded with MCF52259 144 LQFP, 80MHz 512K FLASH, 64K SRAM
Integrated Open-Source BDM (OSBDM)
Hardware Cost-effective and easy-to-use demonstration boards with basic features of the MCF5225x family to satisfy basic development needs Complimentary Software Freescale MQX RTOS 3.0.0: Real-time TCP/IP Communication Suite (RTCS), USB Host/Device, MS-DOS File System (MFS), BSP I/O Driver. Stand Alone/Bare Metal: InterNiche ColdFire Lite TCP/IP Stack, CMX USB Lite USB Stack, USB Mass Storage Device Bootloader, Sample Code Projects. Full Evaluation M52259 Board Kit Low-Cost M52259 Demo Board Kit Full function evaluation boards with all the features of the MCF5225x family that will fully meet design needs
Supports USB, Ethernet, CAN, 3 x RS232, RTC
Mini-FlexBus: MRAM + Altera Max IIz CPLD Compact Flash Interface
Solded with MCF52259 144 LQFP, 80MHz 512K FLASH, 64K SRAM
Integrated P&E USB BDM
Software and Tools On the DVD On the DVD: CodeWarrior™ with Freescale MQX Task Aware Debugging, FreeRTOS Demo for CodeWarrior, IAR Yellow Suite, Micrium TCP/IP example projects, Sourcery G++ Professional Edition Provided by Embedded Access and other 3 rd parties: RTCS including: Web Server Support, Network Management, XML Parsing and Framing, E-Mail Communications and MQX IPNETv6 networking framework; Security Protocols for MQX, GUI Development Tools PEG+ Graphics Library for MQX, CANopen Master/Slave for MQX, IAR embedded workbench for Freescale MQX Task Aware Debugging Additional Software & Tools
Freescale Complete Solution for Embedded Systems
MCF5225x is a highly integrated MCU with on-chip USB, Ethernet, CAN and encryption
Freescale MQX offers RTOS, USB Host/Device, Real-Time TCP/IP communication suite (RTCS), file systems and more functions
A single CodeWarrior development studio supports the entire ColdFire Family.
Processor Expert allows GUI-enabled interface
Cost effective development tools with built in BDM module for in-circuit debug
Freescale MQX Software Solutions Past Customer Problem The Solution
What is Freescale MQX?
RTOS (Full priority-based, pre-emptive scheduler)
Real-time TCP/IP Communication Suite (RTCS)
TCP/IP, FTP, Telnet, DHCP, SNMP etc..
USB Host - HID, MASS, HUB
USB Device - HID, MASS, CDC
MS-DOS File System (MFS )
BSP I/O Driver: CAN, UART etc…
HTTP Web server
Source code, rights to distribute and modify across the Freescale Portfolio
Full production source code* with silicon
Commercial-friendly licensing model that lets developers keep their source modifications
Small, configurable footprint
Integrated stacks (TCP/IP, USB, etc.)
Eliminates initial software investment hurdle
One Collaborative Source
Hardware: MCF5225x (ColdFire)
Tool: CodeWarrior ™(CW7.1 plus v7.1.1) & IAR System (RTOS Task aware debugging)
A complimentary subset of CMX’s USB firmware by Freescale and CMX
ColdFire Lite TCP/IP
A complimentary version of InterNiche’s NicheLite™ TCP/IP software stack by Freescale and InterNiche
Direct interface to CodeWarrior IDE
Complimentary Ethernet Stack TCP/IP Support RTOS HTTP TFTP Serial 10/100 ICMP BOOTP DHCP TCP UDP ARP IP Complimentary USB Stack USB OTG Support HID Generic HID Mouse HID Keyboard Host Mass Storage CDC to UART
Evaluation edition of IAR PowerPac for ColdFire v1.22
Software: RTOS and Development Tools
IAR Embedded Workbench for ColdFire (EWCF) (Stand Alone License)
visualSTATE (Stand Alone License)
IAR PowerPac for ColdFire (Seat License)
IAR J-Link for ColdFire BDM 26
Freescale MQX RTOS
Design Verify, Validate, Implement Compile Debug Deploy Target application Idea visualSTATE IAR Embedded Workbench IAR J-Link IAR Development Kits RTOS & Middleware IAR PowerPac IAR YellowSuite TM for ColdFire
Available Software and Tools for MCF5225x USB Cold Fire Multilink : Cyclone MAX Run-Time Software: RTOS, Stacks, File System HQ Debugger/Emulators Flash Programming Industrial Protocol Stacks Evaluation Board and System Design GUI Graphical Audio/Video Codecs MQX Support/ Design Service IDE: Tools Compliers, Debuggers Security Medical GNU Tools