AN2866 Freescale Semiconductor / Motorola, AN2866 Datasheet
AN2866
Related parts for AN2866
AN2866 Summary of contents
Page 1
... Freescale Semiconductor, Inc., 2004. All rights reserved. MCF523x ® architecture 2.1 2.2 2.3 2.4 2.5 2 Rev. 1.0, 10/2004 Table of Contents Comparison Overview .........................................2 Device Differences ..............................................5 Electrical Characteristics ...................................5 Mechanical Characteristics................................6 External Signal Comparison ..............................8 On-chip Modules .............................................11 Operating Modes .............................................21 Software Considerations..................................24 Summary ...........................................................25 References ........................................................26 Document Revision History ...............................26 AN2866 ...
Page 2
Comparison Overview This document organizes the differences between these two devices into two major categories: hardware and software. Specifically, this document: • Examines parametric differences, i.e., electrical parameters that specify the conditions under which the device must operate, and discusses ...
Page 3
Fast Ethernet (media access) controller (FEC) — Controller Area Network (CAN) controller 2 — communication controller — 4-channel Direct Memory Access controller (DMA) — 4 DMA-supported 32-bit timer modules — Synchronous/asynchronous Dynamic Random Access Memory (SDRAM) ...
Page 4
Comparison Overview • Seven types of resets, including low power supply voltage detection, and a status register to indicate the cause of last reset • eight chip selects with programmable wait states, port sizes, and transfer burstability on ...
Page 5
Table 1. MC68332 to MCF523x Migration Issue Summary (continued) Device Feature MC68332 MCF5235 CAN — 2 FlexCAN √ Crypto — √ √ WDT PITs 1 4 32-bit DMA — 4 Timer 2 Device Differences This section addresses differences between the ...
Page 6
Device Differences MCF523x Figure 2. Buffering Scheme for Isolating 5V Memories and Peripherals on a 3.3V Bus 2.1.3 Frequency and Performance One of the primary advantages of migrating to the MCF523x is the significant increase in performance and frequency. Whereas ...
Page 7
The most evident advantage of the MAPBGA versus the QFP is the savings in board real estate. Most BGAs are typically 20-25% smaller than their QFP counterparts. For the MAPBGA package, the entire surface of the die, rather than just ...
Page 8
Device Differences 2.3 External Signal Comparison Because of the devices’ different packages not useful to compare their pinouts useful to discuss the commonality of signals brought out of each device. externally-accessible signals. Table 1. MC68332/MCF523x External ...
Page 9
Table 1. MC68332/MCF523x External Signal Comparison (continued) Module MC68332 Signal External A[23:0] Memory Interface D[15:0] — DSACK[1:0] — DSACK[1:0] BERR R/W SIZ[1:0] — — RMC AS DS Chip Selects CSBOOT CS[10:0] Bus Arbitration BR BG BGACK SDRAM — Controller — ...
Page 10
Device Differences Table 1. MC68332/MCF523x External Signal Comparison (continued) Module MC68332 Signal External IRQ[7:1] Interrupts AVEC TPU — TP[15:0] T2CLK Fast Ethernet — Controller — — — — — — — — — — — — — ...
Page 11
Table 1. MC68332/MCF523x External Signal Comparison (continued) Module MC68332 Signal Debug Port DSCLK — BKPT DSI DSO — FC[2:0]/FREEZE FETCH IPIPE HALT Test TSTME — Misc. QUOT TSC VDD Power Supplies VSS — — VDDSYN — VSTBY 2.4 On-chip Modules ...
Page 12
Device Differences Processor Unit (TPU) to address complex timing problems in embedded control applications. Since the TPU is a microcontroller itself, it can perform timing tasks with little or no CPU intervention, thus improving overall system performance. The eTPU on ...
Page 13
SCI vs. UART Moving from the MC68332’s single SCI to the three MCF523x UARTs is a move toward more functionality; there are very few migration issues as a result of differences between these two asynchronous communication modules. The biggest ...
Page 14
Device Differences As indicated in the table, the three UARTs on the MCF523x can be externally clocked via the corresponding DMA timer’s DTIN inputs. This allows for synchronous operation with respect to the external clock and UART baud rate generation ...
Page 15
Table 4. MC68332 and MCF523x PIT Feature Differences Prescaler values Programmable interrupt request level 2.4.1.6 Watchdog Timer The MC68332 and MCF523x both include a software watchdog timer. As with the PITs, the functionality of the modules is very similar; however, ...
Page 16
Device Differences peripheral devices, the processing of the IACK cycle directly negates the interrupt request, while other devices require that request to be explicitly negated during the processing of the service routine. For the MCF523x, the processing of the interrupt ...
Page 17
Table 5. External Interrupt Pin and EPORT Differences Feature Number of external interrupts Programmable interrupt triggering 2.4.1.9 General Purpose I/O Module Like the MC68332, unused bus interface and peripheral pins on the MCF523x can be used as discrete general-purpose inputs ...
Page 18
Device Differences Table 6. MC68332 and MCF523x PLL Differences Feature Normal mode with crystal reference Normal mode with external clock reference (oscillator) 1:1 Mode Bypass mode Input clock frequency normal mode bypass mode System clock frequency normal mode bypass and ...
Page 19
The memories consist of a 512-entry tag array (containing addresses and control bits) and an 8-Kbyte data array, organized as 2048 x 32 bits. If the desired address is mapped into the cache memory, the output ...
Page 20
Device Differences support hardware triggers via the external DREQn signals, UARTs, eTPU, and DMA timers (DTIM0–DTIM3). The DMA controller supports dual address mode to on-chip devices. The transfers are dual-address and support 8-, 16- and 32-bit data transfer sizes, as ...
Page 21
Message Digest Hardware Accelerator (MDHA) Features The Message Digest Hardware Accelerator (MDHA) computes a single message digest (or hash or integrity check) value of all the data presented on the input bus, using either the MD5 or SHA-1 algorithms ...
Page 22
Device Differences 2.5.1 Chip Configuration When the RCON pin is asserted at reset, the state of several of the device’s pins determines the mode of operation for the device. If RCON is not asserted at reset, then the default configuration ...
Page 23
Table 7. MC68332/MCF523x Configuration Pin Descriptions Chip MCF523x Configuration Pin Function RCON Chip 0 Enabled configuration 1 Disabled enable D26, D17, Select chip 111 Master D16 operating All other settings are reserved mode D20, D19 Select boot 00 32-bit port ...
Page 24
Device Differences Inputs driven high or low as needed Figure 4. MCF523x Recommended Reset Configuration Circuit 2.6 Software Considerations 2.6.1 Mapping 24-bit MC68332 Addresses to the 32-bit MCF523x The fact that the MCF523x supports 32-bit addressing and the MC68332 supports ...
Page 25
... ColdFire much easier than porting to a completely new architecture. There are a number of tools available to address the handling of 68K assembly code. MicroAPL has two free tools available—PortASM-68K and CF68KLib. The PortASM-68K tool is an assembly translation tool that takes 68K assembly, flags instructions or instructions that use addressing modes that are not supported by ColdFire, and replaces them with a ColdFire compatible emulation sequence ...
Page 26
References If the advantages gained from more functional integration and higher performance make this migration beneficial, then this document should serve as a valuable reference to make the transition as smooth as possible. 4 References Motorola Document Number MCF5235RM/D MC68332UM/D ...
Page 27
THIS PAGE INTENTIONALLY LEFT BLANK Migrating from the MC68332 to the ColdFire Freescale Semiconductor ® MCF523x, Rev. 1.0 27 ...
Page 28
... Learn More: For more information about Freescale Semiconductor products, please visit http://www.freescale.com AN2866 Rev. 1.0, 10/2004 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 ...