Freescale BR729D Mc68360 quad integrated communication controller (quiccâ ¢) Datasheet

Freescale Semiconductor
Order this document
by MC68360D
MC68360
Product Brief
Freescale Semiconductor, Inc...
MC68360 QUad Integrated Communication
Controller (QUICC™)
INTRODUCTION
The MC68360 QUad Integrated Communication Controller (QUICC™ ) is a versatile one-chip integrated
microprocessor and peripheral combination that can be used in a variety of controller applications. It
particularly excels in communications activities. The QUICC (pronounced “quick”) can be described as a
next-generation MC68302 with higher performance in all areas of device operation, increased flexibility,
major extensions in capability, and higher integration. The term "quad" comes from the fact that there are
four serial communications controllers (SCCs) on the device; however, there are actually seven serial
channels: four SCCs, two serial management controllers (SMCs), and one serial peripheral interface (SPI).
QUICC Key Features
The following list summarizes the key MC68360 QUICC features:
• CPU32+ Processor (4.5 MIPS at 25 MHz)
— 32-Bit Version of the CPU32 Core (Fully Compatible with the CPU32)
— Background Debug Mode
— Byte-Misaligned Addressing
• Up to 32-Bit Data Bus (Dynamic Bus Sizing for 8 and 16 Bits)
• Up to 32 Address Lines (At Least 28 Always Available)
• Complete Static Design (0–25-MHz Operation)
• Slave Mode To Disable CPU32+ (Allows Use with External Processors)
— Multiple QUICCs Can Share One System Bus (One Master)
— MC68040 Companion Mode Allows QUICC To Be an MC68040 Companion
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Memory (SRAM), Electrically Programmable Read-Only Memory (EPROM), Flash EPROM, etc.
— Four CAS lines, Four WE lines, One OE line
— Boot Chip Select Available at Reset (Options for 8-, 16-, or 32-Bit Memory)
— Special Features for MC68040 Including Burst Mode Support
• Four General-Purpose Timers
— Superset of MC68302 Timers
— Four 16-Bit Timers or Two 32-Bit Timers
— Gate Mode Can Enable/Disable Counting
Freescale Semiconductor, Inc...
• Two Independent DMAs (IDMAs)
— Single Address Mode for Fastest Transfers
— Buffer Chaining and Auto Buffer Modes
— Automatically Performs Efficient Packing
— 32-Bit Internal and External Transfers
• System Integration Module (SIM60)
— Bus Monitor
— Double Bus Fault Monitor
— Spurious Interrupt Monitor
— Software Watchdog
— Periodic Interrupt Timer
— Low Power Stop Mode
— Clock Synthesizer
— Breakpoint Logic Provides On-Chip Hardware Breakpoints
— External Masters May Use On-Chip Features Such As Chip Selects
— On-Chip Bus Arbitration with No Overhead for Internal Masters
— IEEE 1149.1 Test Access Port
• Interrupts
— Seven External IRQ Lines
— 12 Port Pins with Interrupt Capability
— 16 Internal Interrupt Sources
— Programmable Priority Between SCCs
— Programmable Highest Priority Request
• Communications Processor Module (CPM)
— RISC Controller
— Many New Commands (e.g., Graceful Stop Transmit, Close RxBD)
— 224 Buffer Descriptors
— Supports Continuous Mode Transmission and Reception on All Serial Channels
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc.
• Four SCCs
— Ethernet/IEEE 802.3 Optional on SCC1 (Full 10-Mbps Support) (Available only on the
MC68EN360)
— HDLC/SDLC™ (All Four Channels Supported at 2 Mbps)
— HDLC Bus (Implements an HDLC-Based Local Area Network (LAN))
— AppleTalk®
— Signaling System #7
— Universal Asynchronous Receiver Transmitter (UART)
— Synchronous UART
— Binary Synchronous Communication (BISYNC)
— Totally Transparent (Bit Streams)
— Totally Transparent (Frame Based with Optional Cyclic Redundancy Check (CRC))
— Profibus (RAM Microcode Option)
— Asynchronous HDLC (RAM Microcode Option) to Support PPP (Point to Point Protocol)
— DDCMP™ (RAM Microcode Option)
— V.14 (RAM Microcode Option)
— X.21 (RAM Microcode Option)
• Two SMCs
— UART
— Transparent
— General Circuit Interface (GCI) Controller
— Can Be Connected to the Time-Division Multiplexed (TDM) Channels
• One SPI
— Superset of the MC68302 SCP
— Supports Master and Slave Modes
— Supports Multimaster Operation on the Same Bus
• Time-Slot Assigner
• Supports Two TDM Channels
— Each TDM Channel Can Be T1, CEPT, PCM Highway, ISDN Basic Rate,
ISDN Primary Rate, User Defined
— 1- or 8-Bit Resolution
— Allows Independent Transmit and Receive Routing, Frame Syncs, Clocking
— Allows Dynamic Changes
— Can Be internally Connected to Six Serial Channels (Four SCCs and
Two SMCs)
• Parallel Interface Port
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
QUICC ARCHITECTURE OVERVIEW
The QUICC is 32-bit controller that is an extension of other members of the Freescale M68300 family. Like
other members of the M68300 family, the QUICC incorporates the intermodule bus (IMB). (The MC68302 is
an exception, having an M68000 bus on chip.) The IMB provides a common interface for all modules of the
M68300 family, which allows Freescale to develop new devices more quickly by using the library of existing
modules. Although the IMB definition always included an option for an on-chip 32-bit bus, the QUICC is the
first device to implement this option.
The QUICC is comprised of three modules: the CPU32+ core, the SIM60, and the CPM. Each module
utilizes the 32-bit IMB. The MC68360 QUICC block diagram is shown in Figure 1.
Freescale Semiconductor, Inc...
SIM 60
CPU32+
CORE
SYSTEM
PROTECTION
JTAG
PERIODIC
TIMER
BREAKPOINT
LOGIC
CLOCK
GENERATION
OTHER
FEATURES
DRAM
CONTROLLER
AND
CHIP SELECTS
EXTERNAL
BUS
INTERFACE
IMB (32 BIT)
CPM
COMMUNICATIONS PROCESSOR
2.5-KBYTE
DUAL-PORT
RAM
RISC
CONTROLLER
TWO
IDMAs
FOURTEEN SERIAL
DMAs
SEVEN
SERIAL
CHANNELS
TIMER SLOT
ASSIGNER
INTERRUPT
CONTROLLER
FOUR
GENERALPURPOSE
TIMERS
OTHER
FEATURES
For More Information On This Product,
Go to: www.freescale.com
SYSTEM
I/F
Freescale Semiconductor, Inc.
fetch two word-length instructions in one bus cycle, filling the internal instruction queue more quickly. The
CPU32+ core can also read and write 32-bits of data in one bus cycle.
Although the CPU32+ instruction timings are improved, its instruction set is identical to that of the CPU32. It
will also execute the entire M68000 instruction set. It contains the same background debug mode (BDM)
features as the CPU32. No new compilers, assemblers, or other software support tools need be
implemented for the CPU32+; standard CPU32 tools can be used.
Freescale Semiconductor, Inc...
The CPU32+ delivers approximately 4.5 MIPS at 25 MHz, based on the standard (accepted) assumption that
a 10-MHz M68000 delivers 1 VAX MIPS. If an application requires more performance, the CPU32+ can be
disabled, allowing the rest of the QUICC to operate as an intelligent peripheral to a faster processor. The
QUICC provides a special mode called MC68040 companion mode to allow it to conveniently interface to
members of the M68040 family. This two-chip solution provides a 22-MIPS performance at 25 MHz.
The CPU32+ also offers automatic byte alignment features that are not offered on the CPU32. These
features allow 16 or 32-bit data to be read or written at an odd address. The CPU32+ automatically performs
the number of bus cycles required.
System Integration Module (SIM60)
The SIM60 integrates general-purpose features that would be useful in almost any 32-bit processor system.
The term “SIM60” is derived from the QUICC part number, MC68360. The SIM60 is an enhanced version of
the SIM40 that exists on the MC68340 and MC68330 devices.
First, new features, such as a DRAM controller and breakpoint logic, have been added. Second, the SIM40
was modified to support a 32-bit IMB as well as a 32-bit external system bus. Third, new configurations, such
as slave mode and internal accesses by an external master, are supported.
Although the QUICC is always a 32-bit device internally, it may be configured to operate with a 16-bit data
bus. Regardless of the choice of the system bus size, dynamic bus sizing is supported. Bus sizing allows 8-,
16-, and 32-bit peripherals and memory to exist in the 32-bit system bus mode and 8- and 16-bit peripherals
and memory to exist in the 16-bit system bus mode.
Communications Processor Module (CPM)
The CPM contains features that allow the QUICC to excel in communications and control applications. These
features may be divided into three sub-groups:
• Communications Processor (CP)
• Two IDMA Controllers
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
The four general-purpose timers on the QUICC are functionally similar to the two general-purpose timers
found on the MC68302. However, they offer some minor enhancements, such as the internal cascading of
two timers to form a 32-bit timer. The QUICC also contains a periodic interval timer in the SIM60, bringing the
total to five on-chip timers.
Upgrading Designs from the MC68302
Since the QUICC is a next-generation MC68302, many designers currently using the MC68302 may wish to
use the QUICC in a follow-on design. The following paragraphs briefly discuss this endeavor in terms of
architectural approach, hardware issues, and software issues.
Freescale Semiconductor, Inc...
Architectural Approach
The QUICC is the logical extension of the MC68302, but the overall architecture and philosophy of the
MC68302 design remains intact in the QUICC. The QUICC keeps the best features of the MC68302, while
making the changes required to provide for the increased flexibility, integration, and performance requested
by customers. Because the CPM is probably the most difficult module to learn, anyone who has used the
MC68302 can easily become familiar with the QUICC since the CPM architectural approach remains intact.
The most significant architectural change made on the QUICC was the translation of the design into the
standard M68300 family IMB architecture, resulting in a faster CPU and different system integration features.
Although the features of the SIM60 do not exactly correspond to those of the MC68302 SIM, they are very
similar. The QUICC SIM60 combines the best MC68302 SIM features with the best MC68340 SIM features
for improved performance.
Because of the similarity of the QUICC SIM60 and CPU to other members of the M68300 family, such as the
MC68332 and the MC68340, previous users of these devices will be comfortable with these same features
on the QUICC.
Hardware Compatibility Issues
The following list summarizes the hardware differences between the MC68302 and the QUICC:
• Pinout—The pinout is not the same. The QUICC has 240 pins; the MC68302 has 132 pins.
• Package—Both devices offer PGA and PQFP packages. However, the QUICC
PQFP package has a 20-mil pitch; whereas, the MC68302 PQFP package has a
25-mil pitch.
• System Bus—The system bus signals now look like those of the MC68030 as opposed to those of the
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
offers many more functions than even a 240-pin package would normally allow, resulting in more
multifunctional pins than the MC68302.
Software Compatibility Issues
The following list summarizes the major software differences between the MC68302 and the QUICC:
• Since the CPU32+ is a superset of the M68000 instruction set, all previously written code will run.
However, if such code is accessing the MC68302 peripherals, it will require some modification.
Freescale Semiconductor, Inc...
• The QUICC contains an 8-Kbyte block of memory as opposed to a 4-Kbyte block
on the MC68302. The register addresses within that memory map are different.
• The code used to initialize the system integration features of the MC68302 has
to be modified to write the corresponding features on the QUICC SIM60. Code written for the
MC68340 may be adapted in large part.
• As much as possible, QUICC CPM features were made identical to those of the MC68302 CP. The
most important benefit is that the code flow (if not the code itself) will port easily from the MC68302 to
the QUICC. The nuances learned from the MC68302 will still be useful in the QUICC.
• Although the registers used to initialize the QUICC CPM are new (for example, the SCM on the
MC68302 is replaced with the GSMR and PSMR on the QUICC), most registers retain their original
purpose such as the SCC event, SCC mask, SCC status, and command registers. The parameter RAM
of the SCCs is very similar, and most parameter RAM register names and usage are retained. More
importantly, the basic structure of a buffer descriptor (BD) on the QUICC is identical to that of the
MC68302, except for a few new bit functions that were added. (In a few cases, a bit in a BD status word
had to be shifted.)
• When porting code from the MC68302 CP to the QUICC CPM, the software writer may find that the
QUICC has new options to simplify what used to be a more code-intensive process. For specific
examples, see the INIT TX AND RX PARAMETERS, GRACEFUL STOP TRANSMIT, and CLOSE BD
commands.
QUICC GLUELESS SYSTEM DESIGN
A fundamental design goal of the QUICC was ease of interface to other system components. An example of
this goal is a minimal QUICC design using EPROM and DRAM, shown in Figure 2. This system interfaces
gluelessly to an EPROM and a DRAM SIMM module. It also offers parity support for the DRAM.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
8-BIT BOOT
EPROM
(FLASH OR REGULAR)
QUICC
MC68360
CS0
CE (ENABLE)
OE
OE (OUTPUT ENABLE)
WE0
DATA
ADDRESS
WE (WRITE)
DATA
ADDRESS
Freescale Semiconductor, Inc...
16- OR 32-BIT
DRAM SIMM
(OPTIONAL PARITY)
RAS1
CAS3–CAS0
R/W
RAS
CAS3–CAS0
W (WRITE)
DATA
ADDRESS
PRTY3–PRTY0
PARITY
Figure 2. Minimum QUICC System Configuration
Figure 3 shows a larger system configuration. This system offers one EPROM, one flash EPROM, and
supports two DRAM SIMMs. Depending on the capacitance on the system bus, external buffers may be
required. From a logic standpoint, however, a glueless system is maintained.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
8-BIT BOOT
EPROM
(FLASH OR REGULAR)
QUICC
MC68360
CS0
CE (ENABLE)
OE
OE (OUTPUT ENABLE)
WE (WRITE)
WE0
DATA
DATA
ADDRESS
ADDRESS
8-, 16-, OR 32-BIT SRAM
E (ENABLE)
Freescale Semiconductor, Inc...
CS7
G (OUTPUT ENABLE)
WE3–WE0
W (WRITE)
DATA
ADDRESS
16- OR 32-BIT
TWO DRAM SIMMs
(OPTIONAL PARITY)
RAS2
RAS
RAS1
BUFFER
CAS3–CAS0
R/W
RAS
CAS3–CAS0
W (WRITE)
DATA
ADDRESS
PRTY3–PRTY0
PARITY
Figure 3. Larger QUICC System Configuration
QUICC Serial Configurations
The QUICC offers an extremely flexible set of communications capabilities. Although a full understanding of
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
ETHERNET
QUICC
SCC1
MC68160
EEST
SCC1
MC68160
EEST
SCC1
MC68160
EEST
QUICC
Freescale Semiconductor, Inc...
QUICC
Figure 4. Ethernet LAN Capability
Figure 5 shows how up to six of the serial channels can connect to a TDM interface. The QUICC provides a
built-in time-slot assigner for access to the TDM time slots. Other channels can work with their own set of
pins, allowing possibilities like an Ethernet to T1 bridge, etc.
QUICC
SCC
SCC
SCC
SCC
SMC
SMC
TIME
SLOT
ASSIGNER
TIME DIVISION MULTIPLEXED BUS
T1, CEPT, IDL, GCI, ISDN,
PRIMARY RATE,
USER-DEFINED
ANY COMBINATION OF SCCs
AND SMCs MAY BE
CONNECTED TO THE TDM.
NOTE: Independent receive and transmit clocking, routing,
and syncs are supported.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
QUICC
SCC
SCC
SCC
SCC
SMC
SMC
TIME
SLOT
ASSIGNER
TDM BUS 1
TDM BUS 2
ANY COMBINATION OF SCCs
AND SMCs MAY BE
CONNECTED TO ANY TDM.
Freescale Semiconductor, Inc...
NOTE: Two TDM buses may be simultaneously supported
with the time slot assigner.
Figure 6. Dual TDM Bus Implementation
QUICC Serial Configuration Examples
Figure 7 shows a general-purpose application that includes Ethernet, AppleTalk, an HDLC connection to a
T1 line, an HDLC connection to frame relay, a UART debug monitor port, a totally transparent data stream
port, and an SPI connection to a serial EEPROM.
QUICC
SYSTEM
BUS
SERIAL
EEPROM
SPI
SCC3
SCC1
FREESCALE
SIA
TRANSCEIVER
SCC2
RS-422
TIME
SLOT
ASSIGNER
SCC4
T1 LINE
TRANSCEIVER
RS-232
UART
RS-232
SMC2
For More Information On This Product,
Go to: www.freescale.com
ETHERNET
APPLE TALK
X.25 (HDLC)
FRAME RELAY (HDLC)
Freescale Semiconductor, Inc.
QUICC SYSTEM BUS
QUICC
MASTER
QUICC
SLAVE
Freescale Semiconductor, Inc...
CPU32+
CPU32+
SCC
SCC
SCC
SCC
SMC
SMC
SPI
SCC
SCC
SCC
SCC
SMC
SMC
SPI
Figure 8. Master-Slave QUICC Implementation
The QUICC has special features in slave mode to support the M68040 family. When the QUICC is used in
this way, it is said to be in MC68040 companion mode. Figure 9 shows how a QUICC in slave mode can
interface to a MC68EC040. (The MC68EC040 is a low-cost version of the MC68040 with identical integer
performance, but without the memory management unit (MMU) and the floating-point unit (FPU).) The DRAM
controller on the QUICC will control the accesses of the MC68EC040 (including the burst modes). This
configuration does require external address mutiplexers, but the QUICC controls the multiplexers. The
QUICC supports the MC68EC040 in other ways, such as interrupt handling and system protection features.
When it is in slave mode, the QUICC can also be interfaced to any MC68030-type bus master instead of the
MC68EC040.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
QUICC SLAVE
MC68EC040
SUPPORT
FUNCTIONS
MC68EC040
CPU32+
SYSTEM BUS
CONTROL
Freescale Semiconductor, Inc...
MEMORY
CONTROLLER
EPROM
DRAM
ADDRESS
MUXs
SRAM
Figure 9. MC68040 Companion Mode
For More Information On This Product,
Go to: www.freescale.com
SCC
SCC
SCC
SCC
SMC
SMC
SPI
Freescale Semiconductor, Inc.
The following table identifies the packages and operating frequencies available for the MC68360.
MC68360 Package/Frequency Availability
Freescale Semiconductor, Inc...
Package Type
Frequency (MHz)
Temperature
Order Number
Quad Flat Pack (EM Suffix)
0–25
0°C to 70°C
MC68360EM25
Quad Flat Pack (EM Suffix)
0–25
–40°C to +85°C
TBD
Quad Flat Pack with Ethernet
0–25
0°C to 70°C
MC68EN360EM25
Quad Flat Pack with Ethernet
0–25
–40°C to +85°C
TBD
Pin Grid Array (RC Suffix)
0–25
0°C to 70°C
MC68360RC25
Pin Grid Array (RC Suffix)
0–25
–40°C to +85°C
TBD
Pin Grid Array with Ethernet
0–25
0°C to 70°C
MC68EN360RC25
Pin Grid Array with Ethernet
0–25
–40°C to +85°C
TBD
The documents listed in the following table contain detailed information on the MC68360. These
documents may be obtained from the Literature Distribution Centers at the addresses listed at the bottom of
this page.
Documentation
Document Title
Order Number
MC68360 User's Manual
M68000 Family Programmer's Reference Manual
The 68K Source
Contents
MC68360UM/AD
Detailed Information for Design
M68000PM/AD
M68000 Family Instruction Set
BR729/D
Independent Vendor Listing Supporting
Software and Development Tools
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 which 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.
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 which 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.
For More Information On This Product,
Go to: www.freescale.com
Similar pages