NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
MPC560XBCPB MPC5604B/C MPC5500 MPC560 MPC5602BEMLL MPC5602BEMLLR MPC5602BEMLQ - Datasheet Archive
Rev. 3, 10/2009 MPC5604B/C Microcontroller Product Brief The 32-bit MPC5604B/C automotive microcontrollers are a family of
Document Number: MPC560XBCPB MPC560XBCPB Rev. 3, 10/2009 MPC5604B/C MPC5604B/C Microcontroller Product Brief The 32-bit MPC5604B/C MPC5604B/C automotive microcontrollers are a family of system-on-chip (SoC) devices designed to be central to the development of the next wave of central vehicle body controller, smart junction box, front module, peripheral body, door control and seat control applications. The MPC5604B/C MPC5604B/C family is one of a series of next-generation automotive microcontrollers based on the Power ArchitectureTM Book E architecture and designed specifically for embedded applications. This document describes the features of the MPC5604B/C MPC5604B/C family and highlights important electrical and physical characteristics of the devices. 1 Introduction The MPC5604B/C MPC5604B/C microcontrollers operate at speeds up to 64 MHz and offer high performance processing with low power consumption. They are compatible with the existing development infrastructure of current Power © Freescale Semiconductor, Inc., 2009. All rights reserved. Contents 1 2 3 4 5 6 7 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 MPC5604B/C MPC5604B/C family overview . . . . . . . . . . . . . . . . . . . . . . 5 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2 Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.3 Feature list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.4 Feature Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Application examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1 Body controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2 Door controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Developer support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Orderable parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Freescale Semiconductor Product Brief ArchitectureTM devices and are supported with software drivers, operating systems and configuration code to assist with application development. Refer to Chapter 5, "Developer support" for more information. The MPC5604B/C MPC5604B/C family is compatible with Freescale's MPC5500 MPC5500 family. It includes many features of the MPC5500 MPC5500 family plus many new features coupled with high performance 90 nm CMOS technology to provide substantial reduction of cost per feature and significant performance improvement. On-chip modules include: · Single issue, 32-bit Power ArchitectureTM e200z0h CPU core complex - Includes Freescale Variable Length Encoding (VLE) enhancements for code size reduction · ECC flash memory with flash controller - Up to 512 KB code flash-single module with prefetch buffer and 128-bit data access port - 64 KB data flash-single module with prefetch buffer and 128-bit data access port · Up to 48 KB ECC RAM with RAM controller · Memory Protection Unit (MPU) - provides basic memory access permission - ensures separation between different codes and data · Boot assist module (BAM) with 8 KB dedicated ROM for embedded boot code · Frequency modulated phase locked loop (FMPLL) · Interrupt controller (INTC) with 148 interrupt vectors, including up to 16 external interrupt sources and up to 18 external interrupt/wakeup sources · 10-bit analog-to-digital converter (ADC) with a minimum conversion time of 1 µs - 16 internal channels - Up to 20 extended channels, 4 being expandable to up to 32 external channels · Up to two 28-channel enhanced modular Input Output System (eMIOS) provide ability to generate or measure time events - 16-bit counter width - Configurable-can implement: Up to 56 IC/OC channels Up to 48 pulse width modulation (PWM) channels Up to 8 modulus counters · Up to four Local Interconnect Network (LIN) controller modules - Capable of autonomous message handling (master), autonomous header handling (slave mode), and UART support - Compliant with LIN protocol revision 2.1 · Three DSPI (Deserial Serial Peripheral Interface) modules for full-duplex, synchronous, communications with external devices · Inter-integrated circuit (I2C) module with master/slave bus interface · Up to six Controller Area Network (FlexCAN) modules - Compliant with the CAN protocol version 2.0B MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 2 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Introduction · · · · · · · · · · · · 2 - Up to 1 Mbit/s programmable bit rate System Timers: - Four Software Timer Module (STM) timers - Six Peripheral Interrupt Timer (PIT) timers (including ADC trigger) - One Real Time Counter (RTC) timer Cross Trigger Unit (CTU)-a collection of 9-bit down counters with an exponential prescaler able to generate a trigger event for an ADC conversion Crossbar switch architecture for concurrent access to peripherals, flash, or RAM from multiple bus masters System Integration Unit Lite (SIUL) manages resets, external interrupts, GPIO and pad control System Status and Configuration Module (SSCM) - Provides information for identification of device, last boot mode, or debug status - Provides an entry point for censorship password mechanism Clock Generation Module (MC_CGM) - Generates system clock sources - Provides unified register interface, enabling access to all clock sources Clock Monitor Unit (CMU) - Monitors integrity of main crystal oscillator and PLL - Acts as frequency meter, measuring frequency of one clock source vs. a reference clock Mode Entry Module (MC_ME) - controls the System-on-Chip (SoC) mode, i.e., RUN, HALT, STOP, or STANDBY, and mode transition sequences - manages power control, voltage regulator, clock generation and clock management modules Power Control Unit (MC_PCU)-implements standby mode entry/exit and controls connections to power domains Reset Generation Module (MC_RGM)-manages reset assertion and release to the device at initial power-up Voltage regulator controller for regulating 5 V or 3.3 V down to 1.2 V for core logic JTAG (IEEE 1149.1) Nexus port: for application development. Optional Nexus 2+ trace port. Block diagram Figure 1 shows a top-level block diagram of the MPC5604B/C MPC5604B/C. MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 3 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Block diagram Figure 1. MPC5604B/C MPC5604B/C series block diagram RAM 48 KB JTAG Code flash 512 KB Data flash 64 KB e200z0h Nexus (Master) Data NMI Nexus 2+ (Master) SIUL Voltage regulator Interrupt requests from peripheral blocks NMI INTC Clocks SRAM controller MPU Instructions Nexus port 64-bit 2 x 3 Crossbar Switch JTAG port Flash controller (Slave) (Slave) (Slave) MPU registers CMU FMPLL RTC STM SWT ECSM MC_RGM MC_CGM MC_ME MC_PCU PIT BAM SSCM Peripheral bridge Interrupt request SIUL Reset control 36 Ch. ADC CTU 2x eMIOS 4x LINFlex 3x DSPI 6x FlexCAN I2C External interrupt request IMUX WKPU GPIO and pad control I/O . . . . . Interrupt request with wakeup functionality Legend: ADC BAM CAN CMU CTU DSPI eMIOS FMPLL I2C IMUX INTC JTAG LINFlex MC_CGM Analog-to-Digital Converter Boot Assist Module Controller Area Network (FlexCAN) Clock Monitor Unit Cross Triggering Unit Deserial Serial Peripheral Interface Enhanced Modular Input Output System Frequency-Modulated Phase-Locked Loop Inter-integrated Circuit Bus Internal Multiplexer Interrupt Controller JTAG controller Serial Communication Interface (LIN support) Clock Generation Module MC_ME MC_PCU MC_RGM MPU Nexus NMI PIT RTC SIUL SRAM SSCM STM SWT WKPU Mode Entry Module Power Control Unit Reset Generation Module Memory Protection Unit Nexus Development Interface (NDI) Level Non-Maskable Interrupt Periodic Interrupt Timer Real-Time Clock System Integration Unit Lite Static Random-Access Memory System Status Configuration Module System Timer Module Software Watchdog Timer Wakeup Unit MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 4 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Block diagram 3 MPC5604B/C MPC5604B/C family overview 3.1 Introduction The following sections provide high-level descriptions of the features found on the MPC5604B/C MPC5604B/C family of devices. 3.2 Device summary Table 1. MPC5604B/C MPC5604B/C device comparison1 Device Feature MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 MPC560 2BxLL 2BxLQ 2CxLL 3BxLL 3BxLQ 3CxLL 4BxLL 4BxLQ 4CxLL 4BxMG CPU e200z0h Execution speed2 Static 64 MHz Code Flash 256 KB 384 KB Data Flash 64 KB (4 × 16 KB) RAM 24 KB 32 KB 28 KB MPU ADC 512 KB 40 KB 32 KB 48 KB 8-entry 28 ch, 10-bit 36 ch, 10-bit 28 ch, 10-bit 36 ch, 10-bit CTU 28 ch, 10-bit 28 ch, 10-bit 36 ch, 10-bit 28 ch, 10-bit 36 ch, 10-bit 56 ch, 16-bit 28 ch, 16-bit 56 ch, 16-bit Yes 28 ch, 16-bit 56 ch, 16-bit · PWM + MC + IC/OC4 5 ch 10 ch 5 ch 5 ch 10 ch 5 ch 5 ch 10 ch 5 ch 10 ch · PWM + IC/OC4 20 ch 40 ch 20 ch 20 ch 40 ch 20 ch 20 ch 40 ch 20 ch 40 ch · IC/OC4 3 ch 6 ch 3 ch 3 ch 6 ch 3 ch 3 ch 6 ch 3 ch 6 ch 6 3 3 79 79 123 Total timer I/O3 eMIOS SCI (LINFlex) 28 ch, 16-bit 56ch, 16-bit 3 4 SPI (DSPI) 3 CAN (FlexCAN) 2 6 3 I2C Yes 79 123 79 Debug Package 6 1 32 kHz oscillator GPIO5 28 ch, 16-bit 79 123 100 LQFP 144 LQFP 100 LQFP 100 LQFP 144 LQFP 100 LQFP 100 LQFP 144 LQFP 123 JTAG JTAG 79 Nexus2+ 100 LQFP 208 MA PBGA6 MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 5 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview NOTES: 1 Feature set dependent on selected peripheral multiplexing-table shows example implementation 2 Based on 105 °C ambient operating temperature 3 Refer to eMIOS section of device reference manual for information on the channel configuration and functions 4 IC - Input Capture; OC - Output Compare; PWM - Pulse Width Modulation; MC - Modulus counter 5 I/O count based on multiplexing with peripherals 6 208 MAPBGA available only as development package for Nexus2+ 3.3 · · · · · · Feature list Operating parameters - Fully static operation, up to 64 MHz - Up to -40 °C 125 °C ambient temperature operating range Power management features - 4 user-configurable RUN modes in which the entire device is powered but different clocks and power configurations can be supported with respect to each other; quick and easy switching of modes - HALT mode in which the core clocks are stopped but user selected peripheral tasks can continue to run - STOP mode in which all clocks are stopped - STANDBY mode in which clocks to the entire device are halted and power to the majority of modules is off - Software-controlled clock gating of peripherals - Fast wakeup using the on-chip 16 MHz internal RC oscillator allows rapid execution from RAM on exit from low power modes. High performance, low cost e200z0h core processor - Single issue, 32-bit CPU core complex (e200z0h) - Compliant with the Power ArchitectureTM embedded category - Includes an instruction set enhancement allowing variable length encoding (VLE) for code size footprint reduction. Optional encoding of mixed 16-bit and 32-bit instructions makes it possible to achieve significant code size footprint reduction. 1.2 V internal logic for low power consumption Single power supply with 5.0 V ± 10% or 3.3 V ± 10% with internal regulator to provide 1.2 V for the core Designed with EMI reduction techniques - Internal phase-locked loop - Frequency modulation of system clock frequency - On-chip regulator - Controlled I/O slew rate MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 6 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · · · · · · · · Advanced microcontroller bus architecture (AMBA) crossbar switch (XBAR) providing concurrent access to peripherals, flash memory and SRAM - 2 master ports: CPU instruction bus; CPU data bus - 3 slave ports: flash memory and SRAM via MPU; peripheral bridges (2) 32-bit internal address bus, 64-bit internal data bus ECC (Error Correction Code) flash memory with flash controller - Up to 512 KB code flash-single module with prefetch buffer and 128-bit data access port - 64 KB data flash-single module with prefetch buffer and 128-bit data access port Up to 48 KB ECC RAM with RAM controller Boot assist module (BAM) with 8 KB dedicated ROM for embedded boot code - Supports internal flash programming via a serial link (CAN or SCI) System timers: - 4 Software Timer Module (STM) timers 32-bit up counter with 8-bit prescaler Clocked from system clock 4-channel timer compare hardware Each channel capable of generating a unique interrupt request Designed to address AUTOSAR task monitor function - 6 Peripheral Interrupt Timer (PIT) timers (including ADC trigger) 32-bit counter resolution - System watchdog timer 32-bit timer Clocked by 128 kHz internal RC oscillator Can generate either system reset or non-maskable interrupt followed by system reset Enabled out of reset - Real Time Counter (RTC) with clock source from internal 128 kHz or 16 MHz oscillator supporting autonomous wakeup with 1 ms resolution with max timeout of 2 seconds Optional support for Real Time Counter (RTC) with clock source from external 32 kHz crystal oscillator, supporting wakeup with 1-second resolution and max timeout of 1 hour Safety and integrity features: - Clock Monitor Unit (CMU) for safe oscillator/PLL control using internal RC oscillator reference - Watchdog with time window for reload - Memory Protection Unit (MPU): eight regions with 32-bit granularity - Register protected accesses to critical peripherals Interrupt controller (INTC) with 148 interrupt vectors, including 16 external interrupt sources and 18 external interrupt/wakeup sources 10-bit analog-to-digital converter (ADC) with a minimum conversion time of 1 s MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 7 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · · · · · · · · · 3.4 3.4.1 - 16 high-precision channels - Up to 20 extended channels, 4 being expandable to up to 32 external channels Enhanced Modular Input/Output System (eMIOS) modules with up to 56 channels, providing the ability to generate or measure time events - 16-bit counter width - Configurable-can implement: Up to 56 IC/OC channels Up to 48 pulse width modulation (PWM) channels Up to 8 modulus counters Up to 4 Local Interconnect Network (LIN) controller modules capable of autonomous message handling (master), autonomous header handling (slave mode), and UART support. Compliant with LIN protocol rev. 2.1 3 DSPI (Deserial Serial Peripheral Interface) modules for full-duplex, synchronous, communications with external devices Inter-integrated circuit (I2C) module with master/slave bus interface Up to 6 Controller Area Network (FlexCAN) modules compliant with the CAN protocol version 2.0 C. The bit rate can be programmed up to 1 Mb/s Frequency modulated phase-locked loop (FMPLL) Configurable general purpose pins supporting input and output operations: 79 in 100 LQFP and 123 in 144 LQFP Nexus development interface (NDI) per IEEE-ISTO 5001-2003 Class Two Plus Device/board boundary scan testing supported with per Joint Test Action Group (JTAG) of IEEE (IEEE 1149.1) MPC5604B/C MPC5604B/C family members are offered in the following package types: - 100-pin LQFP, 0.5mm pitch, 14 mm x 14 mm outline - 144-pin LQFP, 0.5mm pitch, 20 mm x 20 mm outline Feature Details Low-power operation MPC5604B/C MPC5604B/C devices have two dynamic power modes-RUN and HALT-and two static low-power modes-STANDBY and STOP. Both low power modes use clock gating to halt the clock for all or part of the device. The STANDBY mode also uses power gating to automatically turn off the power supply to parts of the device to minimize leakage. RUN modes are the main operating mode where the entire device can be powered and clocked. Four dynamic RUN modes are supported-RUN0 - RUN3. The ability to configure and select different RUN modes enables different clocks and power configurations to be supported with respect to each other and to allow switching between different operating conditions. The necessary peripherals, clock sources, clock MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 8 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview speed and systems clock prescalers can be independently configured for each of the four RUN modes of the device. HALT mode is a reduced activity, low power mode intended for moderate periods of lower processing activity. In this mode the core system clocks are stopped but user-selected peripheral tasks can continue to run. It can be configured to provide more efficient power management features (switch-off PLL, flash memory, main regulator, etc.) at the cost of longer wake up latency. The system returns to RUN mode as soon as an event or interrupt is pending. STOP mode maintains power to the entire device allowing the retention of all on-chip registers and memory, and providing a faster recovery low power mode than the lowest STANDBY mode. There is no need to reconfigure the device before executing code. The clocks to the core and peripherals are halted and can be optionally stopped to the oscillator or PLL at the expense of a slower start-up time. STOP is entered from RUN mode only. Wakeup from STOP mode is triggered by an external event or by the internal periodic wakeup, if enabled. STANDBY mode halts the clock to the entire device and turns off the power to the majority of the chip to offer the lowest power consumption mode. The device can be awakened from STANDBY mode via from any of up to 18 I/O pins, a reset or from a periodic wakeup using a low power oscillator. If required, it is possible to enable the internal 16 MHz or 128 kHz RC oscillator or external 32 kHz oscillator. In STANDBY mode the contents of the cores, on-chip peripheral registers and potentially some of the volatile memory are not held. · STANDBY2 mode retains 32 KB of the RAM · STANDBY1 mode retains 8 KB of the RAM Table 2. Operating mode summary1,2 Operating mode Mode-dependent feature RUN HALT STOP Core On CG CG Off Off - Peripherals OP OP OP Off Off - Flash memory OP OP APD Off Off - RAM On On On 32 KB3 8 KB4 - PLL OP OP CG Off Off - 16 MHz IRC On On OP OP OP - X OSC OP OP OP Off Off - 128 kHz IRC On On On OP OP - Periodic wake-up - OP OP OP OP - Wake-up input - OP OP OP OP - VREG mode FP FP LP LP LP - SoC features Clock sources STANDBY1 STANDBY2 POR MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 9 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview Table 2. Operating mode summary1,2 (continued) Operating mode Mode-dependent feature RUN HALT STOP - - 25 µs 25 µs 25 µs 250 µs - - 8 µs 8 µs 8 µs 8 µs Flash recovery - - >125 µs >125 µs >125 µs >125 µs OSC stabilization - - 8 ms 8 ms 8 ms 8 ms PLL lock - - 200 µs 200 µs 200 µs 200 µs S/W reconfig - - - Var Var Mode switchover - TBD 33 µs 33 µs 33 µs Wake-up VREG startup time5 IRC wake-up STANDBY1 STANDBY2 POR BAM NOTES: 1 The values in this table are preliminary and subject to change without notice. 2 Table key: APD- Analog power down On- Powered and clocked OP- Optionally configurable to be enabled or disabled (clock gated) CG- Clock Gated, Powered but clock stopped Off- Powered off and clock gated FP- VREG Full Performance mode LP- VREG Low Power mode, reduced output capability of VREG but lower power consumption Var- Variable duration, based on the required reconfiguration and execution clock speed BAM- Boot Assist Module Software and Hardware used for device start-up and configuration 3 32 KB of the RAM content is retained, but not accessible in STANDBY mode 4 8 KB of the RAM content is retained, but not accessible in STANDBY mode 5 A high level summary of some key durations that need to be considered when recovering from low power modes. This does not account for all durations at wake up. Other delays will be necessary to consider including, but not limited to the external supply start-up time. IRC Wake-up time must not be added to the overall wake-up time as it starts in parallel with the VREG. All other wake-up times must be added to determine the total start-up time, e.g. out of STANDBY if flash is needed the total wake-up time will be >125 µs. 3.4.2 e200z0 core processor The e200z0 processor is similar to other processors in the e200zx series but supports only the VLE instruction set and does not include the signal processing extension for DSP applications or a floating point unit. The e200z0 processor utilizes a four stage in-order pipeline for instruction execution. The Instruction Fetch (stage 1), Instruction Decode/Register file Read/Effective Address Calculation (stage 2), Execute/Memory Access (stage 3), and Register Writeback (stage 4) stages operate in an overlapped fashion, allowing single clock instruction execution for most instructions. The integer execution unit consists of a 32-bit Arithmetic Unit (AU), a Logic Unit (LU), a 32-bit Barrel shifter (Shifter), a Mask-Insertion Unit (MIU), a Condition Register manipulation Unit (CRU), a Count-Leading-Zeros unit (CLZ), an 8x32 Hardware Multiplier array, result feed-forward hardware, and a hardware divider. MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 10 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview Most arithmetic and logical operations are executed in a single cycle with the exception of the divide and multiply instructions. A Count-Leading-Zeros unit operates in a single clock cycle. The Instruction Unit contains a PC incrementer and a dedicated Branch Address adder to minimize delays during change of flow operations. Sequential prefetching is performed to ensure a supply of instructions into the execution pipeline. Branch target prefetching is performed to accelerate taken branches. Prefetched instructions are placed into an instruction buffer capable of holding two instructions. Conditional branches not taken execute in a single clock. All other taken branches have an execution time of two clocks. Memory load and store operations are provided for byte, halfword, and word (32-bit) data with automatic zero or sign extension of byte and halfword load data as well as optional byte reversal of data. These instructions can be pipelined to allow effective single cycle throughput. Load and store multiple word instructions allow low overhead context save and restore operations. The load/store unit contains a dedicated effective address adder to allow effective address generation to be optimized. Also, a load-to-use dependency does not incur any pipeline bubbles for most cases. The Condition Register unit supports the condition register (CR) and condition register operations defined by the Power Architecture. The condition register consists of eight 4-bit fields that reflect the results of certain operations, such as move, integer and floating-point compare, arithmetic, and logical instructions, and provide a mechanism for testing and branching. Vectored and autovectored interrupts are supported. Vectored interrupt support is provided to allow multiple interrupt sources to have unique interrupt handlers invoked with no software overhead. The CPU includes support for Variable Length Encoding (VLE) instruction enhancements. This allows the classic Power Architecture instruction set to be represented by a modified instruction set made up from a mixture of 16-bit and 32-bit instructions. This results in a significantly smaller code size footprint without affecting performance noticeably. The CPU core has an additional `Wait for Interrupt' instruction that is used in conjunction with low power STOP mode. When Low Power Stop mode is selected, this instruction is executed to allow the system clock to be stopped. An external interrupt source or the system wakeup timer is used to restart the system clock and allow the CPU to service the interrupt. 3.4.3 Crossbar Switch (XBAR) The XBAR multi-port crossbar switch supports simultaneous connections between two master ports and three slave ports. The crossbar supports a 32-bit address bus width and a 64-bit data bus width. The crossbar allows for three concurrent transactions to occur from the master ports to any slave port; but each master must access a different slave. If a slave port is simultaneously requested by more than one master port, arbitration logic will select the higher priority master and grant it ownership of the slave port. All other masters requesting that slave port are stalled until the higher priority master completes its transactions. Requesting masters are treated with equal priority and are granted access to a slave port in round-robin fashion, based upon the ID of the last master to be granted access. The crossbar provides the following features: · 2 master ports: MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 11 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · 3.4.4 - e200z0 core instruction port - e200z0 core complex data port 3 slave ports - Flash memory (via the Memory Protection Unit) - SRAM (via the Memory Protection Unit) - Peripheral bridge 0 (MCM, STM, SWT INTC) and Peripheral bridge 1 (BAM, SIUL, I2C, FlexCAN, LINFlex, DSPI, eMIOS, FMPLL, PIT, CTU Lite, ADC, SSCM, RTC) 32-bit internal address, 64-bit internal data paths Interrupt Controller (INTC) The INTC (interrupt controller) provides priority-based preemptive scheduling of interrupt requests, suitable for statically scheduled hard real-time systems. The INTC allows interrupt request servicing from up to 148 interrupt vectors: 140 coming from peripherals and 8 from software. Of the 140 peripheral interrupt vectors, 2 are used for up to 16 external interrupt sources (organized into 2 groups) and 3 are used for up to 18 external interrupt/wakeup sources. For high priority interrupt requests, the time from the assertion of the interrupt request from the peripheral to when the processor is executing the interrupt service routine (ISR) has been minimized. The INTC provides a unique vector for each interrupt request source for quick determination of which ISR needs to be executed. It also provides an ample number of priorities so that lower priority ISRs do not delay the execution of higher priority ISRs. To allow the appropriate priorities for each source of interrupt request, the priority of each interrupt request is software configurable. When multiple tasks share a resource, coherent accesses to that resource need to be supported. The INTC supports the priority ceiling protocol for coherent accesses. By providing a modifiable priority mask, the priority can be raised temporarily so that all tasks which share the resource can not preempt each other. Multiple processors can assert interrupt requests to each other through software setable interrupt requests. These same software setable interrupt requests also can be used to break the work involved in servicing an interrupt request into a high priority portion and a low priority portion. The high priority portion is initiated by a peripheral interrupt request, but then the ISR asserts a software setable interrupt request to finish the servicing in a lower priority ISR. Therefore these software setable interrupt requests can be used instead of the peripheral ISR scheduling a task through the RTOS. The INTC provides the following features: · 140 peripheral interrupt vectors (includes 16 external interrupt sources and 18 external interrupt/wakeup sources) · 8 software setable interrupt vectors · 9-bit vector addresses · Unique vector for each interrupt request source · Hardware connection to processor or read from register MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 12 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · · · · · 3.4.5 Each interrupt source can be programmed to one of 16 priorities Preemptive prioritized interrupt requests to processor ISR at a higher priority preempts executing ISRs or tasks at lower priorities Automatic pushing or popping of preempted priority to or from a LIFO Ability to modify the ISR or task priority to implement the priority ceiling protocol for accessing shared resources Low latency - three clocks from receipt of interrupt request from peripheral to interrupt request to processor Frequency-Modulated Phase-Locked Loop (FMPLL) The FMPLL enables the user to generate high speed system clocks from a 4 MHz to 16 MHz crystal oscillator or external clock generator. Further, the FMPLL supports programmable frequency modulation of the system clock. The PLL multiplication factor, output clock divider ratio are all software configurable. The PLL has the following major features: · Input clock frequency from 4 MHz to 16 MHz · Voltage controlled oscillator (VCO) range · Reduced frequency divider (RFD) for reduced frequency operation without forcing the PLL to relock · 3 modes of operation-the default mode is PLL off in DRUN system mode - Bypass mode with PLL off - Bypass mode with PLL running (default mode out of reset) - PLL normal mode · Each of the three modes may be run with a crystal oscillator or an external clock reference · Programmable frequency modulation - Modulation enabled/disabled through software - Triangle wave modulation up to 100 kHz modulation frequency - Programmable modulation depth (0% to 2% modulation depth) - Programmable modulation frequency dependent on reference frequency · Lock detect circuitry reports when the PLL has achieved frequency lock and continuously monitors lock status to report loss of lock conditions · Clock Monitor Unit - detects the quality of the crystal clock and cause interrupt request or system reset if error is detected - detects the quality of the PLL output clock. If an error is detected, causes a system reset or switches the system clock to the crystal clock and causes an interrupt request. · Programmable interrupt request or system reset on loss of lock · Self-clocked mode (SCM) operation MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 13 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview 3.4.6 System Integration Unit Lite (SIUL) The SIUL features the following: · Up to 4 levels of internal pin multiplexing, allowing exceptional flexibility in the allocation of device functions for each package · Centralized general purpose input output (GPIO) control of up to 123 input/output pins (package-dependent) · All GPIO pins independently configurable to support pull-up, pull down, or no pull · Reading and writing to GPIO supported both as individual pins and 16-bit wide ports · All peripheral pins can be alternatively configured as both general purpose input or output pins except ADC channels which support alternative configuration as general purpose inputs, with selected pins able to also support outputs · Direct readback of the pin value supported on all digital output pins through the SIUL · Configurable digital input filter that can be applied to up to 16 general purpose input pins for noise elimination on external interrupts · Register configuration protected against change with soft lock for temporary guard or hard lock to prevent modification until next reset (register-dependent) 3.4.7 Flash memory The MPC5604B/C MPC5604B/C provides up to 512 KB of programmable, non-volatile flash memory for code and 64 KB for data. Each flash module includes a Fetch Accelerator that optimizes the performance of the flash array to match the CPU architecture and provides single cycle access to the flash at 64 MHz. The flash modules interface to the system bus via a dedicated flash memory array controller and memory protection unit. For CPU loads and CPU instruction fetch, it supports a 64-bit data bus width at the system bus port, and a 128-bit read data interface to flash memory. The module contains a four-entry, 128-bit prefetch buffer for the code flash, a 128-bit one-entry prefetch buffer for the data flash, and a prefetch controller which prefetches sequential lines of data from the flash array into the buffer. Prefetch buffer hits allow no-wait responses. Normal flash array accesses are registered and are forwarded to the system bus on the following cycle, incurring three wait-states. Prefetch operations may be automatically controlled, and are restricted to instruction fetch. The flash memory provides the following features: · 64-bit data bus for instruction fetch and CPU loads. Byte, halfword, word and doubleword reads are supported. Only aligned doubleword writes are supported. · Fetch Accelerator - Architected to optimize the performance of the flash with the CPU to provide single cycle access to the flash up to 64 MHz system clock speed - Configurable read buffering and line prefetch support - 4 line read buffers (each 128 bits wide) and a prefetch controller · Hardware and software configurable read and write access protections on a per-master basis · Configurable access timing allowing use in a wide range of system frequencies MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 14 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · · · · · · · · · Multiple-mapping support and mapping-based block access timing (0-31 additional cycles) allowing use for emulation of other memory types Software programmable block program/erase restriction control Erase of selected block(s) Read page size of 128 bits (4 words) ECC with single-bit correction, double-bit detection ECC single-bit error corrections can be made visible to software Minimum program size is two consecutive 32-bit words, aligned on a 0-modulo-8 byte address, due to ECC Embedded hardware program and erase algorithm Shadow information stored in non-volatile shadow block Independent program/erase of the shadow block 3.4.8 SRAM The MPC5604B/C MPC5604B/C SRAM module provides a memory block of up to 48 KB. The SRAM controller includes these features: · Supports read/write accesses mapped to the SRAM memory from any master · Byte, halfword and word addressable for optimal use of memory · ECC performs single-bit correction, double-bit detection on 32-bit data element · User transparent ECC encoding and decoding for byte, half word, and word accesses · Typical SRAM access time: 0 wait-state for reads and 32-bit writes; 1 wait-state for 8- and 16-bit writes if back to back with a read to same memory block · Separate internal power domain applied to 8 KB or 32 KB of the total RAM block in STANDBY modes to retain contents during low power mode 3.4.9 Memory Protection Unit (MPU) The MPU provides eight region descriptors and 32-byte granularity. Features include: · Support for overlapping regions · Protection attributes can optionally include process ID · Protection offered for three concurrent read ports · Read and write attributes for all masters · Execute and supervisor/user mode attributes for processor masters 3.4.10 Boot Assist Module (BAM) The BAM is a block of read-only memory that is programmed once by Freescale and is identical for all MPC5604B/C MPC5604B/C MCUs. The BAM program is executed every time the MCU is powered on or reset. During execution, BAM code searches for user-supplied boot code and, if none is found, executes the BAM boot code resident in device ROM. The BAM supports two different modes of booting: MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 15 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · Booting from internal flash memory Serial boot loading (A program is downloaded into RAM via LINFlex or FlexCAN and then executed) The BAM also reads the reset configuration half word (RCHW) from internal flash memory and configures the MPC5604B/C MPC5604B/C hardware accordingly. The BAM provides the following features: · Detection of user boot code · Automatic switch to serial boot mode if internal flash is blank or invalid · Supports user programmable 64-bit password protection for serial boot mode · Supports serial bootloading via FlexCAN bus with or without auto baud rate sensing · Supports censorship protection for internal flash memory · Provides an option to enable the core watchdog timer 3.4.11 Enhanced Modular Input/Output System (eMIOS) The two eMIOS modules provides the functionality to generate or measure events. Each module has 28 channels and a 16-bit counter width. The modules are software-configurable and can implement up to 56 IC/OC channels, up to 48 pulse width modulation (PWM) channels, and up to 8 modulus counters. 3.4.12 Deserial Serial Peripheral Interface (DSPI) Three DSPI blocks provide a synchronous serial bus for communication between the MCU and external peripheral devices. Each DSPI module operates as a basic SPI or as a queued SPI through the use of internal FIFOs. For queued operations the SPI queues reside in system RAM, external to the DSPI. Data transfers between the queues and the DSPI FIFOs are accomplished through host software. 3.4.13 FlexCAN The MPC5604B/C MPC5604B/C MCU contains up to six controller area network (FlexCAN) modules. The FlexCAN module is a communication controller implementing the CAN protocol according to Bosch Specification version 2.0B. The CAN protocol was designed to be used primarily as a vehicle serial data bus, meeting the specific requirements of this field: real-time processing, reliable operation in the EMI environment of a vehicle, cost-effectiveness and required bandwidth. Each FlexCAN module in the MPC5604B/C MPC5604B/C includes two embedded memories, one for storing Message Buffers (MB) and another for storing Rx Individual Mask Registers. Support for 64 Message Buffers is provided. It is possible to operate the bxcan bit timing logic with either system clock or external main oscillator clock (XOSCHS). The FlexCAN modules provide the following features: · Full implementation of the CAN protocol specification, version 2.0B - Standard data and remote frames MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 16 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · · · · Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview - Extended data and remote frames - 0 to 8 bytes data length - Programmable bit rate up to 1 Mbit/s 64 mailboxes, each configurable as transmit or receive - Mailboxes configurable while module remains syncronised to CAN bus Transmit features - Supports configuration of multiple mailboxes to form message queues of scalable depth - Arbitration scheme according to message ID or message buffer number - Internal arbitration to guarantee no inner or outer priority inversion - Transmit abort procedure and notification Receive features - Individual programmable filters for each mailbox - 8 mailboxes configurable as a 6-entry receive FIFO - 8 programmable acceptance filters for receive FIFO Programmable clock source - System clock - Direct oscillator clock to avoid PLL jitter Listen only mode capabilities 3.4.14 System clocks and clock generation The following list summarizes the system clock and clock generation on the MPC5604B/C MPC5604B/C microcontroller: · System clock can be derived from the following sources - External crystal oscillator - FMPLL - 16 MHz internal RC oscillator · Programmable output clock divider of system clock (÷1, ÷2, ÷4) · Separate programmable peripheral bus clock divider ratio (÷1, ÷2, ÷4) applied to system clock · Frequency Modulated Phase-locked loop (FMPLL) - Input clock frequency from 4 MHz to 16 MHz - Selectable Clock source from external oscillator or internal 16-MHz RC oscillator - Lock detect circuitry continuously monitors lock status - Loss-of-clock detection for reference and feedback clocks - On-chip loop filter (for improved electromagnetic interference performance and reduces number of external components required) · On-chip crystal oscillator supports 4 MHz to 16 MHz crystals · Dedicated 16 MHz internal RC oscillator MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 17 · - Used as default clock source out of reset - Provides a clock for rapid start-up from low power modes - Provides a back-up clock in the event of PLL or External oscillator clock failure - Offers an independent clock source for the Watchdog timer - 5% accuracy over the operating temperature range - Trimming registers to support frequency adjustment with in-application calibration Dedicated internal 128 kHz internal RC oscillator for low power mode operation and self wakeup - 5% accuracy - Trimming registers to support improve accuracy with in-application calibration - 32 KHz low power external oscillator for low power real-time clock 3.4.15 System timers The system timers include: · System Timer Module (STM) timers · Peripheral Interrupt Timer (PIT) timers (including ADC trigger) · 1 Real-Time Counter (RTC) timer The System Timer Module (STM) is a 32-bit timer designed to support commonly required system and application software timing functions. The STM includes a 32-bit up counter and four 32-bit compare channels with a separate interrupt source for each channel. The counter is driven by the system clock divided by an 8-bit prescaler value (1 to 256). The PIT is an array of timers that can be used to raise interrupts and trigger CTU channels. It features the following: · Up to six general purpose interrupt timers · Up to two interrupt timers for triggering ADC conversions · 32-bit counter resolution · Clocked by system clock frequency · 32-bit counter for real-time interrupt, clocked from main external oscillator The RTC supports wakeup from low power modes or real-time clock generation. · Configurable resolution for different timeout periods - 1 sec resolution for >1 hour period - 1 ms resolution for a two second period · Selectable clock sources from external 32 kHz crystal, internal 128 kHz RC oscillator or divided internal 16 MHz RC oscillator · Supports continued operation through Reset, count only Reset manually or by POR MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 18 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview 3.4.16 System Software Watchdog The system software watchdog is a second watchdog module to complement the standard Power Architecture watchdog integrated in the CPU core. The system software watchdog is a 32-bit modulus counter clocked by the system clock or the crystal clock that can provide a system reset or interrupt request, when the correct software key is not written within the required time window. The following features are implemented: · 32-bit modulus counter · Clock source: internal 128 kHz RC oscillator · Supports normal or windowed mode · Configurable response on timeout: reset, interrupt, or interrupt followed by reset · Reset by writing a software key to memory mapped register · Enabled out of reset · Support for protected access to Watchdog control registers with optional soft and hard locks - Soft lock allows temporary locking of configuration - Hard lock prevents any changes until after a Reset, once enabled · Supports halting during low power modes 3.4.17 Inter-Integrated Circuit (I2C) Module The I2C module features the following: · 2-wire bidirectional serial bus for on-board communications · Compatibility with I2C bus standard · Multimaster operation · Software-programmable for one of 256 different serial clock frequencies · Software-selectable acknowledge bit · Interrupt-driven, byte-by-byte data transfer · Arbitration-lost interrupt with automatic mode switching from master to slave · Calling address identification interrupt · Start and stop signal generation/detection · Repeated START signal generation · Acknowledge bit generation/detection · Bus-busy detection 3.4.18 On-Chip Voltage Regulator (VREG) The on-chip regulator in the MPC5604B/C MPC5604B/C regulates 3.3 V ±10% or 5 V ±10% input to generate all internal supplies. It comprises three regulators: · High power · Low power MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 19 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · Ultra-low power The nominal target output is 1.2 V with a full current load range 0 to 200 mA provided through internal PMOS ballasts. The high power and low power regulators are switched off during standby mode to reduce consumption. During STOP mode only the high power regulator is switched off. The ultra-low power regulator is always kept on. The regulator has two digital domain LVDs: one for the high power and lower power domain and one for the ultra-low power domain. 3.4.19 Analog-to-Digital Converter Module (ADC) The ADC module contains advanced features for Normal, Injected and triggered injected conversion, along with offset cancellation and offset refresh control. It supports an interface to the cross triggering unit (CTU). There are three types of input channels available: internal precision channels, extended channels and external channels. Control registers within the ADC can be programmed to configure which channel is to be converted. External channel selection is provided through three external decode signals. A conversion timing register that allows to configure different sampling and conversion times is associated to each type of channel. The ADC provides 10-bit conversion with a minimum conversion time of 2 s. It features one shot/scan mode conversion, hardware chain injection mode. It also provides four watchdog channels to monitor whether signals remain within a defined range. A dedicated power-down mode is implemented to save power consumption. The ADC features the following: · 10-bit A/D resolution · 0 to VDD common mode conversion range · Conversion speeds as low as 1 µs · Up to 36 single-ended input channels, expandable to 64 channels with external multiplexers · Internally multiplexed channels - 10-bit ± 2 counts accuracy (TUE) available for 16 channels - 10-bit ± 3 counts accuracy (TUE) available for up to 20 channels - Dedicated result register available for every internally muxed channel · Externally multiplexed channels - Internal control to support generation of external analog multiplexor selection - 3 internal channels optionally used to support externally multiplex inputs, providing transparent control for additional ADC channels - Each of the three channels supports up to eight externally muxed inputs - 1 result register per internal channel · Right-aligned result format · Support for one-shot, scan and injection conversion modes · Independently configurable parameters for channels: MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 20 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview · · · · · - Offset refresh - Sampling Conversion triggering support - Internal conversion triggering from periodic interrupt timer (PIT) or timed I/O module (eMIOS) 4 configurable analog comparator channels offering range comparison with triggered alarm Greater than Less than Out of range All unused analog pins available as general-purpose input pins Selected unused analog pins available as general-purpose output pins Power-down mode 3.4.20 Nexus Port Controller The IEEE-ISTO 5001-2003 standard defines an extensible auxiliary port which is used in conjunction with the JTAG port in the e200z0. The Nexus modules are coupled to the core and monitor a variety of signals including addresses, data, control signals, status signals, etc. The NPC (Nexus Port Controller) block provides real-time development support capabilities for the MPC5604B/C MPC5604B/C Power Architecture-based MCU in compliance with the IEEE-ISTO 5001-2003 standard. This development support is supplied for MCUs without requiring external address and data pins for internal visibility. The development support provided includes program trace and run-time access to the MCU's internal memory map and access to the e200z0 processor core during halt. The Nexus interface also supports a JTAG only mode using only the JTAG pins. Supported Nexus 2 Plus features include: - Static debug - Watchpoint messaging - Ownership trace messaging - Program trace messaging - Real-time read/write of any internally memory mapped resources through JTAG pins - Overrun control, which selects whether to stall before Nexus overruns or keep executing and allow overwrite of information - Watchpoint triggering, watchpoint triggers program tracing 3.4.21 JTAG The JTAGC (JTAG Controller) block provides the means to test chip functionality and connectivity while remaining transparent to system logic when not in test mode. Testing is performed via a boundary scan technique, as defined in the IEEE 1149.1-2001 standard. All data input to and output from the JTAGC block is communicated in serial format. MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 21 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages MPC5604B/C MPC5604B/C family overview 4 Application examples 4.1 Body controller Body controller modules primarily control interior features of the car, such as: · · · · Comfort features-doors, seats, interior lighting Security/access features-passive entry, immobilizer, TPMS (Tire Pressure Monitoring System) Lighting-headlights, brake lights, turn lights Centralized diagnostic and network management Figure 2 shows the MPC5604B/C MPC5604B/C used in a typical body controller application. RF Receiver Smart Power (Lighting.) SPI SPI Digital Inputs (Including Input Capture Signals) LS CAN Body Switch Panel & Digital Sensors CAN P/I Digital Outputs (e.g., PWM, GPIO) CAN P/I MPC560xB/C Analog Inputs Diagnostic HS CAN Diagnostic Mux HS CAN Powertrain Direct Loads (Lighting, Power latch, Pumps, Locking.) CAN P/I SCI LIN P/I SCI Battery Monitoring, & Misc. Sensors Power Seat LIN P/I Steering Column LIN Door Modules LIN Rain Sensor & Sunroof Control Figure 2. Body controller application example 4.2 Door controller These modules are used to locally control the functions contained within the vehicle doors that are rapidly increasing in complexity. By adding local control within the door the number of wires to the door can be significantly reduced which helps reduce the wiring harness weight, simplifies assembly and reduces fault prone connectors. The communication with other body controllers in the main cabin compartment is often via the CAN bus, and they may also support LIN communications to other nodes such as keypads or between the front and rear door modules. Some door controllers handle the window lift function with sensors and brushed DC motors. This is often implemented to reduce the number of components, increase reliability and flexibility and minimize system cost, and normally requires the greatest level of performance to manage. Figure 3 shows the MPC5604B/C MPC5604B/C used in a typical door controller application. MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 22 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Application examples VREG Supply ASIC SPI Digital Outputs (e.g., PWM, GPIO) Lock LS CAN Body CAN P/I Analog Inputs Current Measurement Key Pad Rear Door LIN SCI MPC560xB/C LIN P/I LIN LIN P/I Digital Outputs (e.g., PWM, GPIO) Window Lift Digital Outputs SCI Mirror M X Lamp Driver Y fold heater Figure 3. Door controller application example 5 Developer support The MPC5604B/C MPC5604B/C MCU tools and third-party developers are similar to those used for the Freescale MPC5500 MPC5500 product family, offering a widespread, established network of tool and software vendors. It also features a high-performance Nexus debug interface. The following development support is available: · Automotive evaluation boards (EVB) featuring CAN, LIN interfaces, and more · Compilers · Debuggers · JTAG and Nexus interfaces The following software support is available: · OSEK solutions are available from multiple third parties · CAN and LIN drivers · AUTOSAR package MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 23 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Developer support 6 Orderable parts Table 3. Orderable part number summary Orderable Part Number MPC5602BEMLL MPC5602BEMLL CPU Code Flash / SRAM (Kbytes) e200z0h 256 / 24 Package Operating Speed temp. (MHz) (°C) 100 LQFP -40 to 125 60 Data Flash Voltage 4 x 16 KB 3.3/5 V MPC5602BEMLLR MPC5602BEMLLR MPC5602BEMLQ MPC5602BEMLQ e200z0h 256 / 24 144 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V e200z0h 256 / 32 100 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V e200z0h 384 / 28 100 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V e200z0h 384 / 28 144 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V e200z0h 384 / 40 100 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V e200z0h 256 / 24 100 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V e200z0h 256 / 24 144 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V e200z0h 256 / 32 100 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V e200z0h 384 / 28 100 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V e200z0h 384 / 28 144 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V e200z0h 384 / 40 100 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V e200z0h 512 / 32 100 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V Tray Tape & Reel e200z0h 512 / 32 144 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V MPC5604BEMLQR MPC5604BEMLQR MPC5604BEVLL MPC5604BEVLL Tray Tape & Reel MPC5604BEMLLR MPC5604BEMLLR MPC5604BEMLQ MPC5604BEMLQ Tray Tape & Reel MPC5603CEVLLR MPC5603CEVLLR MPC5604BEMLL MPC5604BEMLL Tray Tape & Reel MPC5603BEVLQR MPC5603BEVLQR MPC5603CEVLL MPC5603CEVLL Tray Tape & Reel MPC5603BEVLLR MPC5603BEVLLR MPC5603BEVLQ MPC5603BEVLQ Tray Tape & Reel MPC5602CEVLLR MPC5602CEVLLR MPC5603BEVLL MPC5603BEVLL Tray Tape & Reel MPC5602BEVLQR MPC5602BEVLQR MPC5602CEVLL MPC5602CEVLL Tray Tape & Reel MPC5602BEVLLR MPC5602BEVLLR MPC5602BEVLQ MPC5602BEVLQ Tray Tape & Reel MPC5603CEMLLR MPC5603CEMLLR MPC5602BEVLL MPC5602BEVLL Tray Tape & Reel MPC5603BEMLQR MPC5603BEMLQR MPC5603CEMLL MPC5603CEMLL Tray Tape & Reel MPC5603BEMLLR MPC5603BEMLLR MPC5603BEMLQ MPC5603BEMLQ Tray Tape & Reel MPC5602CEMLLR MPC5602CEMLLR MPC5603BEMLL MPC5603BEMLL Tray Tape & Reel MPC5602BEMLQR MPC5602BEMLQR MPC5602CEMLL MPC5602CEMLL Packing Tray Tape & Reel e200z0h 512 / 32 100 LQFP -40 to 105 64 4 x 16 KB 3.3/5 V MPC5604BEVLLR MPC5604BEVLLR Tray Tape & Reel MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 24 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Orderable parts Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Revision history Table 3. Orderable part number summary (continued) CPU MPC5604BEVLQ MPC5604BEVLQ Code Flash / SRAM (Kbytes) e200z0h Orderable Part Number 512 / 32 Package Operating Speed temp. (MHz) (°C) 144 LQFP -40 to 105 64 Data Flash Voltage 4 x 16 KB 3.3/5 V MPC5604BEVLQR MPC5604BEVLQR Packing Tray Tape & Reel MPC5604CEMLL MPC5604CEMLL e200z0h 512 / 48 100 LQFP -40 to 125 60 4 x 16 KB 3.3/5 V MPC5604CEMLLR MPC5604CEMLLR Tray Tape & Reel MPC5604BEMMG MPC5604BEMMG e200z0h 512 / 48 208 MAP -40 to 125 BGA1 64 4 x 16 KB 3.3/5 V Tray NOTES: 1 208 MAPBGA available only as development package for Nexus2+ 7 Revision history Table 4. Document revision history Date Revision 6 Jun 2008 1 8 Sep 2008 Changes 2 Initial release. Minor editing and formatting changes througout document to improve readability Replaced TQFP with LQFP Replaced "program flash" with "code flash" throughout document Replaced "e200z0" with "e200z0h" throughout document (except in Section 3.4, "Feature DetailsDescription of features) Replaced Cross Trigger Unit Lite with Cross Trigger Unit Section 1, "Introduction: Updated list of on-chip modules Figure 1: Updated RAM size and reorganized master and slave port blocks Table 2: Updated RAM sizes, number of timer I/O eMIOS200 channels and GPIO pin counts; deleted unavailable features eDMA, FlexRay, Ethernet and LCD Section 3.3, "Detailed fFeature list: - Updated following features: - Operating parameters - Single power supply - 90nm fabrication process (removed from list) - EMI reduction techniques - XBAR - ECC RAM - SWT - Safety and integrity features - INTC - 10-bit ADC - eMIOS - LIN - GPIO pin counts - FlexCAN Section 3.4.1, "Low Power Operation: Changed RAM retained in STANDBY2 mode from "full contents" to "32 KB" Table 3: Updated `Peripherals', `Flash', `RAM', `VREG start-up' and `Mode switch over' columns MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor 25 Table 4. Document revision history (continued) Date Revision Changes 8 Sep 2008 (cont'd) 2 Section 3.4.3, "Crossbar Switch: Reorganized slave ports in features list Section 3.4.4, "Interrupt Controller (INTC): - Edited first paragraph to provide more detail on the organization of the 148 interrupt vectors - Features on page 16: Changed number of peripheral interrupt vectors from 149 to 140 and added 18 external interrupt/wakeup sources Section 3.4.5, "FMPLL, features: - Updated input clock frequency range - Removed specified frequencies from VCO range - Replaced feature "Self-clocked mode operation" with "Free-running mode" Section 3.4.6, "System Integration Unit Lite (SIUL): Updated GPIO features Section 3.4.7, "Flash: - Edited first paragraph to differentiate code and data flash buffers - Removed "Erase suspend program" from features list Section 3.4.8, "SRAM: - Changed max size of RAM block from 32 KB to 48 KB - Replaced "24 KB RAM block and 8 KB RAM block" with "8 KB or 32 KB of total RAM block" in feature describing power application during STANDBY modes Section 3.4.12, "DSPI: Removed note concerning non-support of DMA Section 3.4.16, "System Software Watchdog: Updated clock source feature Section 3.4.18, "On-Chip Voltage Regulator (VREG): Deleted "(4 ballast)" from second paragraph Section 3.4.19, "Analog-to-Digital Converter Module (ADC): Changed minimum conversion time for ADC 10-bit conversion from 2 µs to 1 µs Table 3: Updated RAM sizes 29 Oct 2009 3 Editorial changes. · Clock generation: Updated oscillator descriptions · Updated feature for "16-bit counter time-triggered I/Os" In the block diagram: · Added a legend. · Retagged certain block labels with abbreviations only. · Added the ECSM, MPU registers, and WKPU blocks. · Inserted arrow between CTU and Peripheral Bridge. · Changed SIU to SIUL. · Removed TCU. In the device-comparison table: · Replaced 208 BGA with 208 MAPBGA. · Replaced eMIOS200 with eMIOS. · Modified footnote 5. In the feature details, revised the description of the SIUL. In the orderable-parts table, modified Voltage column to show "3.3/5 V". MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 26 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Revision history MPC5604B/C MPC5604B/C Microcontroller Product Brief, Rev. 3 Freescale Semiconductor Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages Revision history 27 Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 EL516 2100 East Elliot Road Tempe, Arizona 85284 1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. The described product contains a PowerPC processor core. The PowerPC name is a trademark of IBM Corp. and used under license. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2009. All rights reserved. MPC560XBCPB MPC560XBCPB Rev. 3 10/2009 Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010: MPC5604BxMG products in 208 MAPBGA packages How to Reach Us: