Features • TS68000/TS68008 Microprocessor Core Supporting a 16- or 8-bit TS68000 Family • System Integration Block Including: – – – – – – – – – Independent Direct Memory Access (IDMA) Controller Interrupt Controller with Two Modes of Operation Parallel Input/output (I/O) Ports, some with Interrupt Capability On-chip Usable 1152 bytes of Dual-port Random-access Memory (RAM) Three Timers, including a Watchdog Timer Four Programmable Chip-select Lines with Wait-state Logic Programmable Address Mapping of Dual-port RAM and IMP Registers On-chip Clock Generator with an Output Clock Signal System Control: System Control Register Bus Arbitration Logic with Low Interrupt Latency Support Hardware Watchdog for Monitoring Bus Activity Low Power (Standby) Modes Disable CPU Logic (TS68000) Freeze Control for Debugging Selected On-chip Peripherals DRAM Refresh Controller • Communications Processor Including: – Main Controller (RISC Processor) – Three Full-duplex Serial Communication Controllers (SCCs) – Six Serial Direct Memory Access (SDMA) Channels Dedicated to the Three SCCs – Flexible Physical Interface Accessible by SCCs for Interchip Digital Link (IDL) General Circuit Interface (GCI, see note), Pulse Code Modulation (PCM), and Nonmultiplexed Serial Interface (NMSI) Operation – Serial Communication Port (SCP) for Synchronous Communication, Clock Rate up to 4.096 MHz – Serial Management Controllers (SMCs) for IDL and GCI Channels • Frequency of Operation: 16.67 MHz • Power Supply: 5 VDC ± 10% Integrated Multiprotocol Processor (IMP) TS68302 Description The IMP is a very large-scale integration (VLSI) device incorporating the main building blocks needed for the design of a wide variety of controllers. The device is especially suitable to applications in the communications industry. The IMP is the first device to offer the benefits of a closely coupled, industry-standard, TS68000/TS68008 microprocessor core and a flexible communications architecture. This multichannel communications device may be configured to support a number of popular industry interfaces, including those for the integrated services digital network (ISDN) basic rate and terminal adapter applications. Through a combination of architectural and programmable features, concurrent operation of different protocols is easily achieved using the IMP. Data concentrators, line cards, bridges, and gateways are examples of suitable applications for this versatile device. The IMP is a high-density complementary metal-oxide semiconductor (HCMOS) device consisting of a TS68000/TS68008 microprocessor core, a system integration block (SIB), and a communications processor (CP). The TS68302 block diagram is shown in Figure 1. Note: GCI is sometimes referred to as IOM2. Rev. 2117A–HIREL–11/02 1 Screening/Quality This product is manufactured in full compliance with either: • MIL-STD-883 (class B) • DESC. Drawing 5962-93159 • Or according to Atmel standards R suffix PGA 132 (Ceramic Pin Grid Array) Introduction A suffix CERQUAD 132 (Ceramic Quad Flat Pack) The TS68302 integrated multiprotocol processor (IMP) is a very large-scale integration (VLSI) device incorporating the main building blocks needed for the design of a wide variety of controllers. The device is especially suitable to applications in the communications industry. The IMP is the first device to offer the benefits of a closely coupled, industry-standard TS68000 microprocessor core and a flexible communications architecture. The IMP may be configured to support a number of popular industry interfaces, including those for the Integrated Services Digital Network (ISDN) basic rate and terminal adapter applications. Concurrent operation of different protocols is easily achieved through a combination of architectural and programmable features. Data concentrators, line cards, bridges, and gateways are examples of suitable applications for this device. The IMP is a high-density complementary metal-oxide semiconductor (HCMOS) device consisting of a TS68000 microprocessor core, a system integration block (SIB), and a communications processor (CP). Figure 1 is a block diagram of the TS68302. The processor can be divided into two main sections: the bus controller and the micromachine. This division reflects the autonomy with which the sections operate. 2 TS68302 2117A–HIREL–11/02 TS68302 Figure 1. TS68302 Block Diagram TS68000/TS68008 CORE TS68000 BUS TS68000/TS68008 CORE ON-CHIP PERIPHERALS BUS INTERFACE UNIT INTERRUPT CONTROLLER BUS ARBITER IDMA (1 CHANNEL) TIMERS (3) DRAM REFRESH CONTROLLER PARALLEL I/O 1152 BYTES DUAL-PORT STATIC RAM CHIP-SELECT AND WAITSTATE LOGIC SYSTEM CONTROL CLOCK GENERATOR SYSTEM INTEGRATION BLOCK PERIPHERAL BUS SDMA (6 CHANNELS) SMC (2) SCC1 SCC2 SCC3 SCP MAIN CONTROLLER (RISC) SERIAL CHANNELS PHYSICAL INTERFACE COMMUNICATIONS PROCESSOR I/O PORTS AND PIN ASSIGNEMENTS 3 2117A–HIREL–11/02 Pin Assignments Figure 2. PGA Terminal Designation N PB10 TIN1 IACK1 GND UDS R/W EXTAL VDD IPL1 IPL2 RESET HALT RCLK1 M CS3 TOUT2 TIN2 VDD IACK7 AS GND CLK0 BERR BR BGACK BG L CS2 PB11 K J H G F E D C B A AVEC NC1 GND TOUT1 IACK6 LDS XTAL IPL0 IAC CS0 RMC FC2 CS1 GND FC0 VDD FC1 A1 A3 A2 GND A4 A5 A6 A8 A9 VDD A7 GND A12 A15 A16 A10 A13 A17 GND A23 D14 D11 VDD D4 D1 A19 A20 VDD D13 D10 D5 D2 A21 A22 GND D15 2 3 4 A11 A14 1 A18 PB9 WDOG RTS3 BCLR TCLK1 CD3 DTACK VDD TXD1 RTS1 BUSW PB8 GND BRG1 NC3 DISCPU TS68302 FRZ DONE DACK BOTTOM VIEW PA12 DREQ GND TXD3 RCLK3 TCLK3 TXD2 CD2 SDS2 RXD3 5 RXD2 CTS1 TCLK2 GND D12 GND 6 7 D8 D9 D7 8 9 D6 10 VDD CD1 RCLK2 RTS2 D0 GND 11 CTS3 CTS2 D3 12 RXD1 13 A15 A14 A13 A12 GND A11 A10 A9 A8 A7 A6 A5 A4 GND A3 A2 A1 FC0 VDD FC1 FC2 CS0 CS1 GND CS2 CS3 RMC IAC PB11 PB10 PB9 PB8 WDOG Figure 3. CERQUAD Terminal Designation 17 1 117 68302 CERQUAD132 (window frame down) Top VIEW 50 83 GND TOUT2 TIN2 TOUT1 VDD TIN1 IACK1 IACK6 IACK7 GND UDS LDS AS R/W GND XTAL EXTAL VDD CLK0 IPL0 IPL1 IPL2 BERR AVEC RESET HALT BR NC1 BGACK BG BCLR DTACK GND CTS1 RXD1 RXD2 TXD2 RCLK2 TCLK2 GND CTS2 RTS2 CD2 SDS2 VDD RXD3 TXD3 RCLK3 TCLK3 GND PA12 DREQ DACK DONE FRZ DISCPU BUSW NC3 BRG1 CD3 RTS3 RTS1 TXD1 TCLK1 RCLK1 VDD VDD A16 A17 A18 A19 GND A20 A21 A22 A23 VDD GND D15 D14 D13 D12 GND D11 D10 D9 D8 VDD D7 D6 D5 D4 GND D3 D2 D1 D0 CTS3 CD1 4 TS68302 2117A–HIREL–11/02 TS68302 Figure 4. Functional Signal Groups NMSI1/ISDN I/F RXD1/L1RXD TXD1/L1TXD CLOCKS EXTAL XTAL RCLK1/L1CLK CLKO TCLK1/L1SY0/SDS1 CD1/L1SY1 ADDRESS BUS CTS1/L1RG A23-A1 RTS1/L1RQ/GCIDCL DATA BUS BRG1 D15-D0 NMSI2/PIO RXD2/PA0 BUS CONTROL TXD2/PA1 RCLK2/PA2 AS TCLK2/PA3 R/W UDS/A0 CTS2/PA4 LDS/DS RTS2/PA5 DTACK CD2/PA6 RMC/IOUT1 BRG2/SDS2/PA7 IAC NMSI3/SCP/PIO BCLR RXD3/PA8 BUS ARBITRATON BR BG TXD3/PA9 RCLK3/PA10 TCLK3/PA11 BGACK TS68302 IMP CTS3/SPRXD RTS3/SPTXD SYSTEM CONTROL CD3/SPCLK RESET BRG3/PA12 HALT IDMA/PAIO BERR BUSW DISCPU DREQ/PA13 DACK/PA14 DONE/PA15 INTERRUPT CONTROL IACK/PBIO IPL0/IRQ1 IACK7/PB0 IPL1/IRQ6 IACK6/PB1 IPL2/IRQ7 IACK1/PB2 FC0 TIMER/PBIO FC1 TIN/PB3 FC2 TOUT1/PB4 TIN2/PB5 AVEC / IOUT0 CHIP SELECT TOUT2/ PB6 CS0/IOUT2 WDOG/PB7 PBIO (INTERRUPT) CS3-CS1 TESTING PB8 FRZ PB9 NC(2) PB10 PB11 GND(13) V DD (8) 5 2117A–HIREL–11/02 Signal Descriptions The input and output signals of the TS68302 are organized into functional groups as shown in Table 1. Refer to TS68302 Integrated Multiprotocol Processor User’s Manual, for detailed information on the TS68302 signals. Table 1. Signal Definitions Functional Group Signals Clocks XTAL, EXTAL, CLKO 3 System Control RESET, HALT, BERR, BUSW, DISCPU 5 Address Bus A23-A1 23 Data Bus D15-D0 16 Bus Control AS, R/W, UDS/A0, LDS/DS, DTACK 5 Bus Control RMC, IAC, BCLR 3 Bus Arbitration BR, BG, BGACK 3 Interrupt Control IPL2-IPL0, FC2-FC0, AVEC 7 NMSI1/ISDN I/F RXD, TXD, RCLK, TCLK, CD, CTS, RTS, BRG1 8 NMSI2/PIO RXD, TXD, RCLK, TCLK, CD, CTS, RTS, SDS2 8 NMSI3/SCP/PIO RXD, TXD, RCLK, TCLK, CD, CTS, RTS, PA12 8 IDMA/PAIO DREQ, DACK, DONE 3 IACK/PBIO IACK7, IACK6, IACK1 3 Timer/PBIO TIN2, TIN1, TOUT2, TOUT1, WDOG 5 PBIO PB11-PB8 4 Chip Select CS3-CS0 4 Testing FRZ (2 Spare) 3 VDD Power supply 8 GND Ground connection 13 Scope Number This drawing describes the specific requirements for the processor TS68302, 16.67 MHz, in compliance either with MIL-STD-883 class B or with Atmel standards. Applicable Documents MIL-STD-883 1. MIL-STD-883: test methods and procedures for electronics. 2. MIL-M-38535: general specifications for microcircuits. 3. Desc Drawing: 5962-93159 (planned). Requirements General 6 The microcircuits are in accordance with the applicable document and as specified herein. TS68302 2117A–HIREL–11/02 TS68302 Design and Construction Terminal Connections Depending on the package, the terminal connections shall be as shown in Figure 2 and Figure 3. Lead Material and Finish Lead material and finish shall be any option of MIL-M-38535. Package The macrocircuits are packaged in hermetically sealed ceramic packages, which conform to case outlines of MIL-M-38535 appendix A (when defined): • 132-pin Ceramic Pin Grid Array (PGA), • 132-pin Ceramic Quad Flat Pack (CERQUAD). The precise case outlines are described in Figure 2 and Figure 3. Electrical Characteristics Table 2. Absolute Maximum Ratings Symbol PD PD Parameter Power Dissipation (typical at 16.67 MHz)(1) (1) Power Dissipation (typical at 8 MHz) Min Max Unit 53 64 mA 26 31 mA (2) LPD Low Power Mode Dissipation (typical at 16.67 MHz) 36 mA LPD Lowest Power Mode Dissipation (typical at 16.67 MHz)(3) 32 mA (4) LPD Lowest Power Mode Dissipation (typical at 50 MHz) 1 mA Notes: 1. The values shown are typical. The typical value varies as shown, based on how many IMP on-chip peripherals are enabled and the rate at which they are clocked. 2. LPREC = 0. Divider = 2. 3. LPREC = 1. Divider = 1024. 4. The stated frequency must be externally applied to EXTAL only after the IMP has been placed in the lowest power mode with LPREC = 1. The 68000 core is not specified to operate at this frequency, but the rest of the IMP is. In this configuration, the user does not divide the clock internally using the LPCD4-LPCD0 bits in the system control register. Unless otherwise stated, all voltages are referenced to the reference terminal (see Table 1). Table 3. Recommended Condition of Use Symbol Parameter Min Max Unit VCC Supply Voltage 4.5 5.5 V VIL Low Level Input Voltage -0.3 +0.5 V VIH High Level Input Voltage 2.4 5.5 V Tcase Operating Temperature -55 +125 °C tr(c) Clock Rise Time - See Figure 5 5 ns tf(c) Clock Fall Time Resistance - Figure 5 5 ns fc tcyc Clock Frequency - See Figure 5 8 16.67 MHz Cycle Time - See Figure 5 60 125 ns 7 2117A–HIREL–11/02 This device contains protective circuitry to protect the inputs against damage due to high static voltages or electrical fields; however, it is advised that normal precautions be taken to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. Reliability of operation is enhanced if unused inputs are tied to an appropriate logic voltage level (e.g., either GND or VDD). Figure 5. Clock Input Timing Diagram tcyc 2.0V 0.8V tr (C) Note: tf (C) Timing measurements are referenced to and from a low voltage of 0.8V and a voltage of 2.0V, unless otherwise noted. The voltage swing through this range should start outside, and pass through, the range such that the rise or fall will be linear between 0.8V and 2.0V. Table 4. Thermal Characteristics at 25°C Package Symbol PGA 132 θJA θJC CERQUAD 132 θJA θJC Power Considerations Parameter Value Unit Thermal Resistance - Ceramic Junction To Ambient Thermal Resistance - Ceramic Junction To Case 33 5 °C/W °C/W Thermal Resistance - Ceramic Junction To Ambient Thermal Resistance - Ceramic Junction To Case 46 2 °C/W °C/W The average chip-junction temperature, TJ, in °C can be obtained from: TJ = TA + (PD ⋅ θJA) (1) TA = Ambient Temperature, °C θJA = Package Thermal Resistance, Junction-to-Ambient, °C/W PD = PINT + PI/O PINT = ICC ⋅ VCC, Watts - Chip Internal Power PI/O = Power Dissipation on Input and Output pins - user determined Note: For TA = 70°C and PD = 0.5 W at 12.5 MHz Tj = 88°C. For most applications PI/O < 0,30 PINT and can be neglected. An approximate relationship between PD and TJ (if PI/O is neglected) is: PD = K ÷ (TJ + 273) (2) Solving equations (1) and (2) for K gives: K = PD ⋅ (TA + 273) + θJA ⋅ PD2 (3) where K is a constant pertaining to the particular part. K can be determined from equation (3) by measuring P D (at equilibrium) for a known TA. Using this value of K, the values of PD and TJ can be obtained by solving equations (1) and (2) iteratively for any value of TA. 8 TS68302 2117A–HIREL–11/02 TS68302 The total thermal resistance of a package (θJA) can be separated into two components, θJC and θCA, representing the barrier to heat flow from the semiconductor junction to the package (case), surface (θJC) and from the case to the outside ambient (θCA). These terms are related by the equation: θJA = θJC + θCA (4) θJC is device-related and cannot be influenced by the user. However, θCA is user-dependent and can be minimized by such thermal management techniques as heat sinks, ambient air cooling and thermal convection. Thus, good thermal management on the part of the user can significantly reduce θCA so that θJA approximately equals θJC. Substitution of θ JC for θ JA in equation (1) will result in a lower semiconductor junction temperature. Mechanical and Environment The microcircuits shall meet all mechanical environmental requirements of either MILSTD-883 for class B devices or Atmel standards. Marking The document that defines the marking is identified in the related reference documents. Each microcircuit is legible and permanently marked with the following information as minimum: • Atmel Logo • Manufacturer’s part number • Class B identification • Date-code of inspection lot • ESD identifier if available • Country of manufacturing Quality Conformance Inspection DESC/MIL-STD-883 Those quality levels are in accordance with MIL-M-38535 and method 5005 of MILSTD-883. Groups A and B inspections are performed on each production lot. Groups C and D inspection are performed on a periodical basis. Electrical Characteristics General Requirements All static and dynamic electrical characteristics specified. For inspection purposes, refer to relevant specification: • DESC see “DESC/MIL-STD-883” on page 9 Table 5 and Table 6: Static Electrical Characteristics for all electrical variants. Test methods refer to IEC 748-2 method number, where existing. Table 7 and Table 8: Dynamic Electrical Characteristics. Test methods refer to this specification. 9 2117A–HIREL–11/02 Table 5. DC Electrical Characteristics VCC = 5.0 Vdc ± 10%; GND = 0 Vdc; Tc = -55°C/+125°C or -40°C/+85°C Symbol 10 Parameter Min Max Unit VIH Input High Voltage (except EXTAL) 2.0 VDD V VIL Input Low Voltage (except EXTAL) VSS - 0.3 0.8 V VCIH Input High Voltage (EXTAL) 4.0 VDD V VCIL Input Low Voltage (EXTAL) VSS - 0.3 0.6 V IIN Input Leakage Current 20 µA CIN Input Capacitance All Pins 15 pF ITSI Three-state Leakage Current (2.4V/0.5V) 20 µA IOD Open Drain Leakage Current (2.4V) 20 µA VOH Output High Voltage (IOH = 400 µA) VOL Output Low Voltage VDD - 1.0 V (IOL = 3.2 mA) A1-A23, PB0-PB11, FC0-FC3, CS0-CS3, IAC, AVEC, BG, RCLK1, RCLK2, RCLK3, TCLK1, TCLK2, TCLK3, RTS1, RTS2, RTS3, SDS2, PA12, RXD2, RXD3, CTS2, CD2, CD3, DREQ 0.5 V (IOL = 5.3 mA) AS, UDS, LDS, R/W, BERR, BGACK, BCLR, DTACK, DACK, RMC, RMC, D0-D15, RESET 0.5 V (IOL = 7.0 mA) TXD1, TXD2, TXD3 0.5 V (IOL = 8.9 mA) BR, DONE, HALT, (BR as output) 0.5 V (IOL = 3.2 mA) CLKO 0.4 V OCLK Output Drive CLKO 50 pF OGCI Output Drive ISDN I/F (GCI mode) 150 pF OALL Output Drive All Other Pins 130 pF TS68302 2117A–HIREL–11/02 TS68302 Table 6. DC Electrical Characteristics - NMSI1 in IDL mode Symbol Parameter VDD Power VSS Common T Temperature Condition Min Nom Max Unit 4.5 5.0 5.5 V 0 0 0 V Operating range -55 25 +125 °C (% of VDD) -10% +20% V VDD - 20% VDD + 10% V Input Pin Characteristics: L1CLK, L1SY1, L1R x D, L1GR VIL Input Low Level Voltage VIH Input High Level Voltage IIH Input Low Level Current Vin = VSS ±10 µA IIH Input High Level Current Vin = VDD ±10 µA Output Pin Characteristics: L1T x D, SDS1-SDS2, L1RQ VOL Output Low Level Voltage IOL = 2.0 mA 0 0.50 V VOH Output High Level Voltage IOH = 2.0 mA VDD - 0.5 VDD V 11 2117A–HIREL–11/02 Dynamic (Switching) Characteristics The limits and values given in this section apply over the full case temperature range 55°C to +125°C or -40°C to +85°C depending on selection see “Ordering Information” on page Reference 2 and VCC in the range 4.5V to 5.5V VIL = 0.5V and VIH = 2.4V. The INTERVAL numbers (NUM) refer to the timing diagrams. See Figure 6 to Figure 25. The AC specifications presented consist of output delays, input setup and hold times, and signal skew times. All signals are specified relative to an appropriate edge of the clock (CLKO pin) and possibly to one or more other signals. Figure 6. Clock Timing Diagram 1 VCIH = 4V 2 EXTAL 3 VCIL = 0.6V 5 4 5a 5a CLKO Table 7. AC Electrical Specifications - Clock Timing (see Figure 7) Num. Symbol f Parameter Min Max Unit Frequency of Operation 8 16.67 MHz Clock Period (EXTAL) 60 125 ns 25 62.5 ns 5 ns 1 tcyc 2, 3 tCL, tCH Clock Pulse Width (EXTAL) 4, 5 tCr, tCf Clock Rise and Fall Times (EXTAL) (1)(2) 5a tCD EXTAL to CLKO delay 2 11 ns Notes: 1. CLKO loading is 50 pF max. 2. CLKO skew from the rising and falling edges of EXTAL will not differ from each other more than 1 ns, if the EXTAL rise time equals the EXTAL fall time. 12 TS68302 2117A–HIREL–11/02 TS68302 Table 8. AC Electrical Specifications IMP Bus Master Cycles (see Figure 7, Figure 8 and Figure 9) f = 16.67 MHz Num. Symbol Parameter 6 tCHFCADV 7 Max Unit Clock high to FC, address valid 45 ns tCHADZ Clock high to address, data bus high impedance (maximum) 50 ns 8 tCHAFI Clock high to address, FC invalid (minimum) 0 9 tCHSL Clock high to AS, DS asserted(1) 3 11 tAFCVSL Address, FC valid to AS, DS asserted (read)/AS asserted (write)(2) 15 12 tCLSH 13 tSHAFI Min Clock low to AS, DS negated(1) AS, DS negated to address, FC invalid tSL AS (and DS read) width asserted 14A tDSL DS width asserted, write(2) tSH 16 tCHCZ AS, DS width negated AS, DS negated to R/W invalid 18 tCHRH Clock high to R/W high(1) tCHRL 20A tASRV 120 ns 60 ns 60 ns Clock high to R/W low (2)(3) AS asserted to R/W low (write) 22 tRLSL R/W low to DS asserted (write)(2) 23 tCLDO Clock low to data-out valid tSHDOI ns (1) tAFCVRL Address FC valid to R/W low (write) AS, DS, negated to data-out invalid (write) (2) 26 tDOSL Data-out valid to DS asserted (write) 27 tDICL Data-in valid to clock low (Setup time on read)(4) (2) ns ns 30 ns 30 ns 10 ns 15 ns 30 ns 30 (2) ns 15 15 (2) ns ns 50 (2) 21 25 (2) Clock high to control bus high impedance tSHRH 20 (2) (2) 17 30 30 14 15 ns ns 15 ns 15 ns 7 ns 28 tSHDAH AS, DS negated to DTACK negated (asynchronous hold) 0 29 tSHDII AS, DS negated to data-in invalid (hold time on read) 0 ns 30 tSHBEH AS, DS negated to BEER negated 0 ns 31 tDALDI DTACK asserted to data-in valid (setup time)(2)(4) 50 ns 32 tRHr, tRHf HALT and RESET input transition time 150 ns 33 tCHGL Clock high to BG asserted 30 ns 34 tCHGH Clock high to BG negated 30 ns 35 tBRLGL BR asserted to BG asserted 2.5 4.5 clks 36 tBRHGH BR negated to BG negated(5) 1.5 2.5 clks 37 tGALGH BGACK asserted to BG negated 2.5 4.5 clks 10 1.5 ns/clks 50 ns (6) 37A tGALBRH 38 tGLZ BG asserted to control, address, data bus high impedance (AS negated) 39 tGH BG width negated BGACK asserted to BG negated 1.5 110 ns clks 13 2117A–HIREL–11/02 Table 8. AC Electrical Specifications IMP Bus Master Cycles (see Figure 7, Figure 8 and Figure 9) f = 16.67 MHz (Continued) Num. Symbol 44 tSHVPH 46 tGAL Parameter AS, DS negated to AVEC negated BGACK width low (4) Min Max Unit 0 50 ns 1.5 clks 10 ns 47 tASI 48 tBELDAL BERR asserted to DTACK asserted(2)(7) 10 ns 53 tCHDOI Data-out hold from clock high 0 ns 55 tRLDBD R/W asserted to data bus impedance change 0 ns 10 clks 1.5 clks 1 clks 1.5 clks 1 clks Asynchronous input setup time (8) 56 tHRPW HALT/RESET pulse width 57 tGASD BGACK negated to AS, DS, R/W driven 57A tGAFD BGACK negated to FC 58 fRHSD (5) BR negated to AS, DS, R/W driven (5) 58A tRHFD BR negated to FC 60 tCHBCL Clock high to BCLR asserted (9) 30 ns 61 tCHBCH Clock high to BCLR negated 30 ns 62 tCLRML Clock low (S0 falling edge during read) to RMC asserted 30 ns 63 tCHRMH Clock high (S7 rising edge during write) to RMC negated 30 ns tRMHGL RMC negated to BG asserted(10) 30 ns For loading capacitance of less than or equal to 50 pF, subtract 4 ns from the value given in the maximum columns. Actual value depends on clock period. When AS and R/W are equally loaded (±20%), subtract 5 ns from the values given in these columns. If the asynchronous input setup (#47) requirement is satisfied for DTACK, the DTACK asserted to data setup time (#31) requirement can be ignored. The data must only satisfy the data-in to clock low setup time (#27) for the following clock cycle. 5. The TS68302 will negate BG and begin driving the bus if external arbitration logic negates BR before asserting BGACK. 6. The minimum value must be met to guarantee proper operation. If the maximum value is exceeded, BG may be reasserted. 7. If #47 is satisfied for both DTACK and BERR, #48 may be ignored. In the absence of DTACK, BERR is a synchronous input using the asynchronous input setup time (#47). 8. For power-up, the TS68302 must be held in the reset state for 100 ms to allow stabilization of on-chip circuit. After the system is powered up #56 refers to the minimum pulse width required to reset the processor. 9. Occurs on S0 of SDMA read/write access when the SDMA becomes bus master. 10. This specification is valid only when the RMCST bit is set in the SCR register. 64 Notes: 1. 2. 3. 4. 14 TS68302 2117A–HIREL–11/02 TS68302 Figure 7. Read Cycle Timing Diagram S0 S1 S2 S3 S4 S5 S6 S7 CLKO FC2-FC0 8 6 A23-A1 12 7 14 AS 15 13 9 11 LDS-UDS 17 18 R/W 28 47 DTACK 48 27 29 31 DATA IN 47 30 BERR/BR (Note 2) 47 47 32 32 HALT / RESET 56 47 ASYNCHRONOUS INPUTS (Note 1) Notes: 1. Setup time for asynchronous inputs IPL2-IPL0 guarantees their recognition at the next falling edge of the clock. 2. BR needs to fall at this time only to ensure being recognized at the end of the bus cycle. 3. Timing measurements are reinforced to and from a low voltage of 0.8V and a high voltage of 2.0V, unless otherwise noted. The voltage swing through this range should start outside and pass through the range such that the rise or fall is linear between 0.8V and 2.0V. 15 2117A–HIREL–11/02 Figure 8. Write Cycle Timing Diagram OUT Notes: 16 1. Timing measurements are referenced to and from a low voltage of 0.8V and a high of 2.0V, unless otherwise noted. The voltage swing through this range should start outside and pass through the range such that the rise and fall is linear between 0.8V and 2.0V. 2. Because of loading variations, R/W may be valid after AS even though both are initiated by the rising edge of S2 (specification #20A). TS68302 2117A–HIREL–11/02 TS68302 Figure 9. Bus Arbitration Timing Diagram STROBES AND R/W 36 37A BR 37 57 57A 46 BGACK 47 34 35 58 58A 39 BG 33 38 CLKO Note: Setup time to the clock (#47) for the asynchronous inputs BERR, BGACK, BR, DTACK, and IPL2-IPL0 guarantees their recognition at the next falling edge of the clock. Table 9. AC Electrical Specifications - DMA (see Figure 10) f = 16.67 MHz Num. Symbol 80 tREQASI DREQ asynchronous setup time(1) 15 ns tREQL (2) 2 clk 81 82 tREQLBRL Parameter Min DREQ width low Max Unit (3)(4) 2 clk (3)(4) 30 ns 30 ns DREQ low to BR low 83 tCHBRL Clock high to BR low 84 tCHBRZ Clock high to BR high impedance(3)(4) (3)(4) 85 tBKLBRZ BGACK low to BR high impedance 30 86 tCHBKL Clock high to BGACK low 87 tABHBKL AS and BGACK high (the latest one) to BGACK low (when BG is asserted) 88 tBGLBKL AS low to BGACK low (no other bus master)(3)(4) 89 tBRHBGH BR high impedance to BG high(3)(4) 0 90 tCLBKLAL Clock on which BGACK low to clock on which AS low 2 91 tCHBKH 92 1.5 ns 30 ns 2.5 + 30 clk ns 2.5 + 30 clk ns ns 2 clk Clock high to BGACK high 30 ns tCLBKZ Clock low to BGACK high impedance 15 ns 93 tCHACKL Clock high to DACK low 30 ns 94 tCLACKH Clock high to DACK high 30 ns 95 tCHDNL Clock high to DONE low (output) 30 ns 96 tCLDNZ Clock low to DONE high impedance 30 ns 97 Notes: 1. 2. 3. 4. tDNLTCH DONE input low to clock high (asynchronous setup) is sampled on the falling edge of CLK in cycle steal and burst modes. DREQ If #80 is satisfied for DREQ, #81 may be ignored. BR will not be asserted while AS, HALT, or BERR is asserted. Specifications are for DISABLE CPU mode only. 15 ns 17 2117A–HIREL–11/02 Figure 10. DMA Timing Diagram Table 10. AC Electrical Specifications - External Master Internal Asynchronous Read/write Cycles(2) f = 16.67 MHz Num. Symbol Parameter Min Max 100 tRWVDSL R/W valid to DS low 101 tDSLDIV DS low to data in valid 102 tDKLDH DTACK low to data in hold time 0 ns 103 tASVDSL AS valid to DS low 0 ns 104 tDKLDSH DTACK low to DS high 0 ns 105 tDSHDKH DS high to DTACK high 106 tDSIASI 107 tDSHRWH 108 tDSHDZ DS high to data high impedance 108A tDSHDH DS high to data out hold time 0 ns 109 tDSHDOH DS high to data in hold time(1) 0 ns 0 Unit ns 30 45 ns ns DS inactive to AS inactive 0 ns DS high to R/W high 0 ns 45 109A tDOVDKL Data out valid to DTACK low 15 Note: 1. If AS is negated before DS, the data bus could be three-stated (spec 126) before DS is negated. ns ns 2. See Figure 11 and Figure 12. 18 TS68302 2117A–HIREL–11/02 TS68302 Figure 11. External Master Internal Asynchronous Read Cycle Timing Diagram 19 2117A–HIREL–11/02 Figure 12. External Master Internal Asynchronous Write Cycle Timing Diagram Table 11. AC Electrical Specifications(2) External Master Internal Synchronous Read/write Cycles(1) f = 16.67 MHz Num. Symbol 110 tAVASL Address valid to AS low 15 ns 111 tASLCH AS low to clock high 30 ns 112 tCLASH Clock low as to AS high 113 tASHAH AS high to address hold time on write 0 ns 114 tASH AS inactive time 1 clk 115 tSLCH UDS/LDS low to clock high 40 ns 116 tCLSH Clock low to UDS/LDS high 117 tRWVCH R/W valid to clock high 118 tCHRWH Clock high to R/W high 45 ns 119 tASLIAH AS low to IAC high 40 ns 120 tASHIAL AS high to IAC low 40 ns 121 tASLDTL AS low to DTACK low (0 wait state) 45 ns 122 tCLDTL Clock low to DTACK low (1 wait state) 30 ns 20 Parameter Min Max 45 45 30 Unit ns ns ns TS68302 2117A–HIREL–11/02 TS68302 Table 11. AC Electrical Specifications(2) External Master Internal Synchronous Read/write Cycles(1) f = 16.67 MHz (Continued) Num. Symbol Parameter 123 tASHDTH 124 Max Unit AS high to DTACK high 45 ns tDTHDTZ DTACK high to DTACK high impedance 15 ns 125 tCHDOV Clock high to data out valid 30 ns 126 tASHDZ AS high to data high impedance 45 ns 127 tASHDOI AS high to data out hold time 0 ns 128 tASHAI AS high to address hold time on read 0 ns 129 tSH UDS/LDS inactive time 1 clk 130 tCLDIV Data in valid to clock low 30 ns 15 ns 131 tCLDIH Clock low to data in hold time Notes: 1. See Figure 13, Figure 14 and Figure 15. 2. Specifications are valid only when SAM = 1 in the SCR. Min Figure 13. External Master Internal Synchronous Read Cycle Timing Diagram 21 2117A–HIREL–11/02 Figure 14. External Master Internal Synchronous Read Cycle Timing Diagram (One Wait State) 22 TS68302 2117A–HIREL–11/02 TS68302 Figure 15. External Master Internal Synchronous Write Cycle Timing Diagram Table 12. AC Electrical Specifications - Internal Master Read/write Cycles(1) f = 16.67 MHz Num. Symbol 140 tCHIAH 141 Max Unit Clock high to IAC high 40 ns tCLIAL Clock low to IAC low 40 ns 142 tCHDTL Clock high to DTACK low (0 wait state) 45 ns 143 tCLDTH Clock low to DTACK high 40 ns 144 tCHDOV Clock high to data out valid 30 ns tASHDOH AS high to data out hold time 145 Note: Parameter Min 0 ns 1. See Figure 16. 23 2117A–HIREL–11/02 Figure 16. Internal Master Internal Read Cycle Timing Diagram S1 S0 S2 S3 S4 S5 S6 S7 S0 CLKO (OUTPUT) A23-A1 (OUTPUT) AS (OUTPUT) 140 141 IAC (OUTPUT) UDS LDS (OUTPUT) R/W (OUTPUT) 145 144 D15-D0 (OUTPUT) 142 143 DTACK (OUTPUT) Table 13. AC Electrical Specifications - Chip-select Timing Internal Master(3) f = 16.67 MHz Num. Parameter Max Unit (1) Min 150 tCHCSIAKL Clock high to CS, IACK low 40 ns 151 tCLCSIAKH Clock low to CS, IACK high(1) 40 ns 152 tCSH 153 tCHDTKL Clock high to DTACK low (0 wait state) 45 ns 154 tCLDTKL Clock low to DTACK low (1 - 6 wait states) 30 ns 155 tCLDTKH Clock low to DTACK high 40 ns 156 tCHBERL Clock high to BERR low(2) 40 ns Clock low to BERR high impedance 40 ns DTACK high to DTACK high impedance 15 ns 157 tCLBERH 158 tDTKHDTKZ 171 tIDHCL 172 173 24 Symbol tCSNDOI tAFVCSA 174 tCSNAFI 175 tCSLT CS width negated 60 (2) Input data hold time from S6 low (4) CS negated to data out invalid (write) Address, FC valid to CS asserted (4) CS negated to address, FC invalid CS low time (0 wait states)(4) (4) ns 5 ns 10 ns 15 ns 15 ns 120 ns TS68302 2117A–HIREL–11/02 TS68302 Table 13. AC Electrical Specifications - Chip-select Timing Internal Master(3) f = 16.67 MHz (Continued) Num. Symbol 176 Parameter CS negated to R/W invalid tCSNRWI 177 tCSARWL 178 Notes: 1. 2. 3. 4. Min (4) Max Unit 10 CS asserted to R/W low (write) ns (4) 10 ns (4) tCSNDII CS negated to data in invalid (hold time on read) 0 ns For loading capacitance less than or equal to 50 pF, subtract 4 ns from the maximum value given. This specification is valid only when the ADCE or WPVE bits in the SCR are set. See Figure 17. Specs 172-178 do not have diagrams. However, similar diagrams for AS are shown as 25-11-13-14-17-20A and 29. Figure 17. Internal Master Chip-select Timing Diagram S0 S1 S2 S3 S4 S5 S6 S7 Sw S0 Sw S4 S5 S6 S7 S0 CLKO (OUTPUT) 152 CS0-CS3 IACK1,IACK6, IACK7 (OUTPUT) 150 151 153 155 156 157 158 154 DTACK (OUTPUT) BERR (OUTPUT) Table 14. AC Electrical Specifications - Chip-select Timing External Master(4) f = 16.67 MHz Num. Symbol 154 tCLDTKL 160 Parameter Min Max Unit Clock low to DTACK low (1-6 wait states) 30 ns tASLCSL AS low to CS low 30 ns 161 tASHCSH AS high to CS high 30 ns 162 tAVASL Address valid to AS Low 15 ns R/W valid to AS Low 15 ns AS negated to Address hold time 0 ns (1) 163 tRWVASL 164 tASHAI 165 tASLDTKL AS low to DTACK low (0 wait state) 45 ns 167 tASHDTKH AS high to DTACK high 30 ns 30 ns 30 ns 168 169 Notes: 1. 2. 3. 4. tASLBERL (2) AS low to BERR low (2)(3) tASHBERH AS high to BERR high The minimum value must be met to guarantee write protection operation. This specification is valid when the DCE or WPVE bits in the SCR are set. Also applies after a timeout of the hardware watchdog. See Figure 18 25 2117A–HIREL–11/02 Figure 18. External Master Chip-select Timing Diagram S0 S1 S2 S3 S4 S5 S6 S7 S0 CLKO A23-A1 (INPUT) 164 162 AS (INPUT) 160 161 CS3-CS0 (OUTPUT) 163 R/W (INPUT) 167 158 165 DTACK (OUTPUT) 169 168 BERR (OUTPUT) Table 15. AC Electrical Specifications - Parallel I/O(1) f = 16.67 MHz Num. Symbol Parameter Min 180 tDSU Input Data Setup Time (to clock low) 20 ns 181 tDH Input Data Hold Time (from clock low) 10 ns 182 tCHDOV Note: Clock High to Data Out Valid (CPU writes data, control, or direction) 35 Max 35 Unit ns 1. See Figure 19 Figure 19. Parallel I/O Data In/data Out Timing Diagram CLKO DATA IN 180 181 DATA OUT 182 CPU WRITE S6 26 TS68302 2117A–HIREL–11/02 TS68302 Table 16. AC Electrical Specifications - Interrupts(2) f = 16.67 MHz Num. Symbol 190 tIPW Parameter Min Interrupt pulse width low IRQ (edge triggered mode) 50 Max Unit ns 191 tAEMT Minimum time between active edges 3 clk Note: 1. Set up time for the asynchronous inputs IPL2-IPL0 and AVEC guarantees their recognition at the next falling edge of the clock. 2. See Figure 20. Figure 20. Interrupts Timing Diagram IRQ (INPUT) 190 191 Table 17. AC Electrical Specifications - Timers(2) f = 16.67 MHz Num. Symbol Parameter Min 200 tTPW Timer input capture pulse width 50 ns 201 tTICLT TIN clock low pulse width 50 ns 202 tTICHT TIN clock high pulse width 2 clk 203 tcyc TIN clock cycle time 3 clk 204 tCHTOV 205 Clock high to TOUT valid 35 FRZ input setup time (to clock high) tFRZSU Max (1) 206 tFRZHT FRZ input hold time (from clock high) Note: 1. FRZ should be negated during total system reset. Unit ns 20 ns 10 ns 2. See Figure 21. Figure 21. Timers Timing Diagram CLKO TOUT (OUTPUT) 204 TIN (INPUT) 201 203 200 202 205 206 FRZ (INPUT) 27 2117A–HIREL–11/02 Table 18. AC Electrical Specifications - Serial Communication Port(2) f = 16.67 MHz Num. Parameter 250 SPCLK clock output period 251 SPCLK clock output rise/fall time 252 Delay from SPCLK to transmit 253 SCP receive setup time(1) (1) Min Max Unit 4 64 clks 15 ns 40 ns 0 40 ns (1) 254 SPC receive hold time 10 ns Note: 1. This also applies when SPCLK is inverted by CI in the SPMODE register. The enable signals for the slaves may be implemented by the parallel I/O pins. 2. See Figure 22. Figure 22. Serial Communication Port Timing Diagram 250 251 SPCLK (OUTPUT) 252 SPTXD (OUTPUT) 1 2 3 4 5 6 7 8 6 7 8 253 254 SPRXD (INPUT) 1 2 3 4 5 Table 19. AC Electrical Specifications - Idle Timing(3) f = 16.67 MHz All timing measurements, unless otherwise specified, are referenced to the L1CLK at 50% point of VDD Num. 28 Parameter Min (1) Max Unit 6.66 MHz 260 L1CLK (IDL clock) frequency 261 L1CLK width low 55 ns 262 L1CLK width high 60 ns 263 L1T x D, L1RQ, SDS1-SDS2 rising/falling time 264 L1SY1 (sync) setup time (to L1CLK falling edge) 30 ns 265 L1SY1 (sync) hold time (to L1CLK falling edge) 50 ns 266 L1SY1 (sync) inactive before 4th L1CLK 0 ns 267 L1T x D active delay (from L1CLK rising edge) 20 (2) ns 0 75 ns 0 50 ns 268 L1T x D to high impedance (from L1CLK rising edge) 269 L1R x D setup time (to L1CLK falling edge) 50 ns 270 L1R x D hold time (from L1CLK falling edge) 50 ns 271 Time between successive IDL syncs 20 L1CLK 272 L1RQ valid before falling edge of L1SY1 1 L1CLK 273 L1GR setup time (to L1SY1 falling edge) 50 ns TS68302 2117A–HIREL–11/02 TS68302 Table 19. AC Electrical Specifications - Idle Timing(3) f = 16.67 MHz All timing measurements, unless otherwise specified, are referenced to the L1CLK at 50% point of VDD (Continued) Num. Parameter Min 274 L1GR hold time (from L1SY1 falling edge) 50 275 SDS1-SDS2 active delay from L1CLK rising edge 10 276 Notes: 1. 2. 3. Max Unit ns 75 ns SDS1-SDS2 inactive delay from L1CLK falling edge 10 75 ns The ratio CLK/L1CLK must be greater than 2.5/1. High impedance is measured at the 30% and 70% of VDD points, with the line at VDD/2 through 10K in parallel with 130 pF. See Figure 23. Figure 23. IDL Timing Diagram 271 265 266 L1SY1 (INPUT) 264 260 262 L1CLK (INPUT) 1 2 3 4 5 B15 B14 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 261 267 L1TXD (OUTPUT) B16 B17 270 B13 B12 B11 B10 D1 A B27 B26 B25 B24 B23 B22 B21 B20 D2 M B26 B25 B24 B23 B22 B21 B20 D2 M 268 263 269 L1RXD (INPUT) B17 B16 B15 B14 B13 B12 B11 B10 D1 A B27 276 275 SDS1 SDS2 (OUTPUT) 272 L1RQ (OUTPUT) 273 274 L1GR (INPUT) 29 2117A–HIREL–11/02 Table 20. AC Electrical Specifications - GCI Timing(5) f = 16.67 MHz GCI supports the NORMAL mode and the GCI channel 0 (GCN0) in MUX mode. Normal mode uses 512 kHz clock rate (256K bit rate). MUX mode uses 256 x n - 3068K bits/sec (clock rate is data rate x 2). The ratio CLK/L1CLK must be greater than 2.5/1. Num. Parameter Min (1) L1CLK GCI clock frequency (normal mode) Unit 512 kHz 280 L1CLK clock period normal mode(1) 1800 2100 ns 281 L1CLK width low/high normal mode 840 1450 ns 282 (2) - - ns 6.668 MHz L1CLK rise/fall time normal mode L1CLK (GCI clock) period (MUX mode) (1) 280 L1CLK clock period MUX mode(1) 150 ns 281 L1CLK width low/high MUX mode 55 ns 282 (2) L1CLK rise/fall time MUX mode 283 L1SY1 sync setup time to L1CLK falling edge 284 L1SY1 sync hold time from L1CLK falling edge 285 - - ns 30 ns 50 ns (3) 0 100 ns (3) 100 ns L1T x D active delay (from L1CLK rising edge) 286 L1T x D active delay (from L1SY1 rising edge) 0 287 L1R x D setup time to L1CLK rising edge 20 ns 288 L1R x D hold time from L1CLK rising edge 50 ns 289 Time between successive L1SY1 in normal mode SCIT mode 64 192 L1CLK L1CLK 290 SDS1-SDS2 active delay from L1CLK riding edge(4) 10 90 ns 291 SDS1-SDS2 active delay from L1SY1 rising edge (4) 10 90 ns 292 SDS1-SDS2 inactive delay from L1CLK falling edge 10 90 ns 293 Notes: 1. 2. 3. 4. 5. 30 Max GCIDCL (GCI Data clock) active delay 0 50 The ratio CLK/L1CLK must be greater than 2.5/1. Schmitt trigger used on input buffer. Condition CL = 150 pF. L1T x D becomes valid after the L1CLK rising edge or L1SY1, whichever is later. SDS1-SDS2 become valid after the L1CLK rising edge or L1SY1, whichever is later. See Figure 24. ns TS68302 2117A–HIREL–11/02 TS68302 Figure 24. GSI Timing Diagram Table 21. AC Electrical Specifications - PCM Timing(4) f = 16.67 MHz There are two sync types: Short frame - Sync signals are one clock cycle prior to the data. Long frame - Sync signals are N-bits that envelope the data, N > 0. Num. Parameter Min (1) Max Unit 6.66 MHz 300 L1CLK (PCM clock) frequency 301 L1CLK width low/high 55 ns 302 L1SY0-L1SY1 setup time to L1CLK falling edge 20 ns 303 L1SY0-L1SY1 hold time from L1CLK falling edge 40 ns 304 L1SY0-L1SY1 width low 1 L1CLK 305 Time between successive sync signals (short frame) 8 L1CLK (2) 306 L1T x D data valid after L1CLK rising edge 307 L1T x D to high impedance (from L1CLK rising edge) (3) 0 70 ns 0 50 ns 308 L1R x D setup time (to L1CLK falling edge) 20 ns 309 L1R x D hold time (from L1CLK falling edge)(3) 50 ns 310 L1T x D data valid after syncs rising edge (long)(2) 0 311 Notes: 1. 2. 3. 4. 100 ns L1T x D to high impedance (from L1SY0-L1SY1 falling edge) (long) 0 70 ns The ratio CLK/TCLK1 must be greater than 2.5/1. L1T x D becomes valid after the L1CLK rising edge or the sync enable, whichever is later, if long frames are used. Specification valid for both sync methods. See Figure 25. 31 2117A–HIREL–11/02 Table 22. AC Electrical Specifications - NMSI Timing(4) The NMSI mode uses two clocks, one for receive and one for transmit. Both clocks can be internal or external. When the clock is internal, it is generated by the internal baud rate generator and it is output on L1R x D or L1T x D. All the timing is related to the external clock pin. The timing is specified for NMSI1. It is also valid for NMS12 and NMS13. Internal Clock Num. Parameter Min 315 RCLK1 and TCLK1 frequency(1) 316 RCLK1 and TCLK1 low/high 317 RCLK1 and TCLK1 rise/fall time 318 External Clock Max Min 5.12 70 (2) Max Unit 6.668 MHz 55 ns — — — — ns T x D1 active delay TCLK1 falling edge 0 40 0 70 ns 319 RTS1 active/inactive delay from TCLK1 falling edge 0 40 0 100 ns 320 CTS1 setup time to TCLK1 rising edge 50 10 ns 321 R x D1 setup time to RCLK1 rising edge 50 10 ns 10 50 ns 322 R x D1 hold time from RCLK1 rising edge (3) 323 CD1 setup time to RCLK1 rising edge 50 10 ns Notes: 1. The ratio CLK/TCLK1 and CLK/RCLK1 must be greater than 2.5/1 for external clock. For internal clock the ratio must be greater than 3/1 (the input clock to the baud rate generator may be either CLK or TIM1), in both cases the maximum frequency is limited to 16.67 MHz. In asynchronous mode (UART), the bit rate is 1/16 of the clock rate. 2. Schmitt triggers used on input buffers. 3. Also applies to CD hold time when CD is used as an external sync in BISYNC or totally transparent mode. 4. See Figure 26. Figure 25. PCM Timing Diagram L1CLK (INPUT) 1 2 3 4 5 6 7 8 9 10 11 301 302 300 L1SY0 L1SY1 (INPUT) 304 305 307 306 L1TXD (OUTPUT) 1 2 3 4 5 6 7 8 3 4 5 6 7 8 309 308 L1RXD (INTPUT) 1 2 9 303 302 311 SYNC ENVELOPES DATAS L1SY0 L1SY1 (INPUT) 307 310 L1TXD (OUTPUT) 32 1 2 3 4 5 6 7 8 9 TS68302 2117A–HIREL–11/02 TS68302 Figure 26. NMSI Timing Diagram 316 317 317 RCLK1 315 321 RXD1 (INPUT) 322 323 CD1 (INPUT) 322 CD1 (SYNC INPUT) 316 317 317 TCLK1 315 318 TXD1 (OUTPUT) 319 319 RTS1 (OUTPUT) 320 CTS1 (INPUT) 33 2117A–HIREL–11/02 Functional Description The TS68302 uses a microprocessor architecture which has peripheral devices connected to the system bus through a dual-port memory. Various parameters, counters, and all memory buffer descriptor tables reside in the dual-port RAM. The receive and transmit data buffer may be located in this on-chip RAM or in the off-chip system RAM (see Figure 29). Six DMA channels are dedicated to the six serial ports (receive and transmit for each of the three SCC channels). If an SCC channel’s data is programmed to be located in the external RAM, the CP main controller (RISC processor) will program the corresponding DMA channel to perform the required accesses. If the data resides in the on-chip dual-port RAM, then the CP main controller accesses the RAM with one clock cycle access and no arbitration delays. The buffer memory structure of the TS68302 can be configured by the software to closely match I/O channel requirements. The interrupt structure is also programmable to relieve the on-chip 68000/68008 core from bit manipulation functions for peripherals, allowing the processor to perform application software or protocol processing. In some cases, the interface to equipment or proprietary networks may require the use of standard control and data signals. For these signals, the TS68302 can be programmed to use the NMSI mode. This mode is available for one, two, or all three SCC ports; remaining ports may then use one of the multiplexed interface modes: IDL, GCI, or PCM. Figure 27. Buffer Memory Structure EXTERNAL MEMORY DUAL-PORT RAM (1152 BYTES) SYSTEM RAM (576 BYTES) TX BUFFER DESCRIPTORS (8) TX DATA BUFFER FRAME STATUS DATA LENGTH TX DATA BUFFER DATA POINTER RX BUFFER DESCRIPTORS (8) PARAMETER RAM (576 BYTES) SCC1 BUFFER DESCRIPTORS TABLE 34 FRAME STATUS SCC2 BUFFER DESCRIPTORS TABLE SCC3 BUFFER DESCRIPTORS TABLE DATA COUT RX DATA BUFFER DATA POINTER D DATA SMC1 DESCRIPTOR E TX DATA SMC2 DESCRIPTOR R RX DATA SCP DESCRIPTOR TS68302 2117A–HIREL–11/02 TS68302 68000/68008 Core Overview The TS68302 allows operation either in the full 68000 mode with a 16-bit data bus or in the 68008 mode with an 8-bit data bus. System Integration Block The TS68302 has an SIB which simplifies the task of hardware and software design. The IDMA controller eliminates the need for an external DMA controller on the system (SIB) board. In addition, there is an interrupt controller that can be used in a dedicated mode to generate interrupt acknowledge signals without external logic. Similarly, the chipselect signals and wait-state logic eliminate the need to generate these signals externally. The SIB includes the IDMA controller, interrupt controller, parallel I/O ports, dual-port RAM, three timers, chip-select logic, clock generator, and system control. IDMA Controller The TS68302 has one IDMA channel and six serial DMA channels which operate concurrently with other CPU operations. The IDMA can operate in different modes of data transfer as programmed by the user. The six serial DMA channels for the three fullduplex SCC channels are transparent to the user, implementing bus-cycle-stealing data transfers controlled by the TS68302’s internal RISC controller. These six channels have priority over the separate IDMA channels. The IDMA controller can transfer data between any combination of memory and I/O devices. In addition, data may be transferred in either byte or word quantities, and the source and destination addresses may be either odd or even. Every IDMA cycle requires between two and four bus cycles, depending on the address boundary and transfer size. If both the source and destination addresses are even, the IDMA fetches one word of data and then immediately deposits it. If either the source or destination block begins on an odd boundary, the transfer takes more bus cycles. The IDMA features are as follows: Interrupt Controller • memory-memory, memory-peripheral, or peripheral-memory data transfers, • operation with data blocks located at even or odd addresses, • packing and unpacking of operands, • fast transfer rates: up to 4 MBps at 16 MHz with no wait states, • full support of all bus exceptions: halt, bus error, and retry, • flexible request generation • two address pointer registers and one counter register, • three I/O lines for externally requested data transfers, • asynchronous bus structure with 24-bit address and 8- to 16-bit data bus. The interrupt controller, which manages the priority of internal and external interrupt requests, generates a vector number during the CPU interrupt acknowledge cycle. Nested interrupts are fully supported. The interrupt controller receives requests from internal sources (INRQ interrupts) such as the timers, the IDMA, the serial controllers, and the parallel I/O pins (port B). The interrupt controller allows the masking of each INRQ interrupt source. When multiple events within a peripheral can cause the interrupt, each of these events is also maskable. 35 2117A–HIREL–11/02 Figure 28. Interrupt Controller Block Diagram SMCs 2 DMA 2 SCC1 EVENT REGISTER SCC1 MASK REGISTER 1 SCC2 EVENT REGISTER SCC2 MASK REGISTER 1 SCC3 EVENT REGISTER SCC3 MASK REGISTER IRQ6/ IPL1 IRQ1/ IPL2 4 INTERRUPT IN-SERVICE REGISTER (ISR) PB8-PB11 IRQ7/ IPL0 1 INTERRUPT MASK REGISTER (IMR) SCP 3 INTERRUPT PENDING REGISTER (IPR) TIMERS INTERRUPT PRIORITY RESOLVER IPL2-IPL0 TO TS68000 CORE IACK1 VECTOR GENERATION LOGIC 1 IACK6 IACK7 TS68000 CORE DATA BUS The interrupt controller also receives external (EXRQ) requests. EXRQ interrupts are received by the IMP according to the operational mode selected. In the normal operational mode, EXRQ interrupts are encoded onto the IPL lines. In the dedicated operational mode, EXRQ interrupts are presented directly as IRQ7, IRQ6, and IRQ1. The interrupt controller block diagram is shown in Figure 28. The interrupt controller features are as follows: Parallel I/O Ports 36 • two operational modes: normal and dedicated, • eighteen priority-organized interrupt sources (internal and external), • fully nested interrupt environment, • unique vector number for each internal/external source, • three selectable interrupt request/interrupt acknowledge pairs. Port A and port B are two general-purpose I/O ports. Each pin in the 16-bit port A may be configured as a general-purpose I/O pin or as a dedicated peripheral interface pin. Port B has 12 pins. Eight pins may be configured as general-purpose pins or as dedicated peripheral interface pins, and four are general-purpose pins, each with interrupt capability. TS68302 2117A–HIREL–11/02 TS68302 Dual-Port RAM The IMP has 1152 bytes of RAM configured as a dual-port memory. The RAM can be accessed by the internal RISC controller or one of three bus masters: the 68000 core, an external bus master, or the IDMA. All internal bus masters synchronously access the RAM with no wait states. External bus masters can access the RAM and registers synchronously or asynchronously. The RAM is divided into two parts. There are 576 bytes used as a parameter RAM, which includes pointers, counters, and registers for the serial ports. The other 576 bytes may be used for system RAM, which may include data buffers, or may be used for other purposes such as a no-wait-state cache. Timers There are three timer units. Two units are identical, general-purpose timers; the third unit can be used to implement a watchdog timer function. The two general-purpose timers are implemented with a timer mode register (TMR), a timer capture register (TCR), a timer counter (TCN), a timer reference register (TRR), and a timer event register (TER). The TMR contains the prescaler value programmed by the user. The watchdog timer, which has a TRR and TCN, uses a fixed prescaler value. The timer features are as follows: • Two general-purpose timer units: - maximum period of 16 seconds (at 16.67 MHz), - 60-nanosecond resolution (at 16.67 MHz), - programmable sources for the clock input, - input capture capability, - output compare with programmable mode for the output pin, - free run and restart modes. • One watchdog timer with a 16-bit counter and a reference register: - maximum period of 16 seconds (16.67 MHz), - 0.5-millisecond resolution (at 16 MHz), - output signal (WDOG), - interrupt capability. External Chip-select Signals and Wait-state Logic The TS68302 has a set of four programmable chip-select signals. Each chip select has an identical structure. For each memory area, an internally generated cycle-termination signal (DTACK) may be defined with up to six wait states to avoid using board space for cycle-termination logic. The four signals may each support four different classes of memory, such as high-speed static RAM, slower dynamic RAM, EPROM, and nonvolatile RAM. The chip-select and wait-state generation logic is active for all potential bus masters. Clock Generator The TS68302 has an on-chip clock generator which supplies internal and external highspeed clocks (up to 16.67 MHz). The clock circuitry uses three dedicated pins: EXTAL, XTAL, and CLKO. 37 2117A–HIREL–11/02 System Control System Control Register The IMP system control consists of a system control register (SCR) containing bits for the following system control functions: • system status and control logic, • bus arbitration logic with low interrupt latency, • hardware watchdog, • low power (standby) modes, • disable CPU logic (68000), • freeze control for debugging on-chip peripherals, • AS control during read-modify-write cycles. The SCR is a 32-bit register that consists of system status and control bits, a bus arbiter control bit, hardware watchdog control bits, low power control bits, and freeze select bits. The eight most significant bits of the SCR report events recognized by the system control logic and set the corresponding bit in the SCR. The low power modes are used, when no processing is required from the 68000/68008 core, to reduce the system power consumption to its minimum value. The low power modes may be exited by an interrupt from an on-chip peripheral. Disable CPU Logic (68000) This control allows an external processor direct connection to the bus and to the IMP’s peripherals while the on-chip 68000 core is disabled. Entered during a system reset (RESET and HALT asserted together), this mode configures the IMP on-chip peripherals for use with other TS68032 units or other processors and is an effective configuration for systems needing more than three SCCs. Freeze Control This control is used to freeze the activity of selected peripherals and to debug systems. The IMP freezes its activity with no new interrupt requests, no memory accesses (internal or external), and no access of the serial channels. The IDMA controller completes any bus cycle in progress and releases bus ownership. No further bus cycles will be started as long as FRZ remains asserted. DRAM Refresh Controller The CP main (RISC) controller can optionally handle the dynamic RAM (DRAM) refresh task without any intervention from the 68000 core. The refresh request can be generated from a TS68302 timer, baud rate generator, or externally. The DRAM refresh controller performs a standard 68000-type read cycle at programmable address sequences, with user-provided RAS and CAS generation. Communications Processor The CP in the TS68302 includes the main controller, six serial DMA channels, three SCCs, an SCP, and two SMCs. Host software configures each communications channel, as required by the application, to include parameters, baud rates, physical channel interfaces desired, and interrupting conditions. Buffer structures are set up for receive and transmit channels. Up to eight frames may be received or transmitted without host software involvement. Selection of the interrupt interface is also set by register bits in register space of the device. Data is transmitted and received using the appropriate buffer descriptors and buffer data space for a channel. The CP operates is a modified polling mode on each channel and buffer descriptor to identify buffers awaiting transmission and channels requiring servicing. The user sets a bit in the buffer descriptor of a transmit frame; when the CP polls and detects this bit, it will begin transmission. Generally, no other action is required to accomplish transmission. 38 TS68302 2117A–HIREL–11/02 TS68302 Main Controller The main controller is a microcode RISC processor that services all the serial channels. The main controller transfers data between the serial channels and internal/external RAM, executes host commands, and generates interrupts to the interrupt controller. Data is transferred from the serial channel to the dual-port RAM or to the external memory through the peripheral bus. If data is transferred between the SCC channels and external memory, the main controller uses up to six serial DMA channels for the transfer. The main controller also controls all character and address comparison and cyclic redundancy check (CRD) generation and checking. The execution unit includes the arithmetic logic unit (ALU), which performs arithmetic and logic operations on the registers. Serial Communication Controllers The TS68302 has three independent SCCs. Each SCC can be configured to implement different protocols - for example, to perform a gateway function or to interface to an ISDN basic rate channel. To simplify programming, each protocol implementation uses identical data structures. Five protocols are supported: high-level data link control (HDLC), binary synchronous communication (BISYNC), synchronous/asynchronous digital data communications message protocol (DDCMP), V.110, universal asynchronous receiver transmitter (UART), and a fully transparent mode. To aid system diagnostics, each SCC may be configured to operate in either an echo or loopback mode. In echo mode, the IMP retransmits any signals received; in loopback mode, the IMP locally receives signals originating from itself. The clock pins (RCLK, TCLK) for each SCC can be programmed for either an external or internal source, with user-programmable baud rates available for each SCC channel. Each SCC also supports the standard modem control signals: request to send (RTS), clear to send (CTS), and carrier detect (CD). Other modem signals may be provided through the parallel I/O pins. The SCC features are as follows: • programmable baud rate generator driven by the internal or external clock, • data may be clocked by the programmable baud rate generator or directly by an external clock, • provides modem signals RTS, CTS, and CD, • Full-duplex operation, • Automatic echo mode, • Local loopback mode, • Baud rate generator outputs available externally. The SCC HDLC mode key features are as follows: • flexible data buffers with multiple buffers per frame allowed, • separate interrupts for frames and buffers (receive and transmit), • four address comparison registers with mask, • maintenance of five 16-bit counters, • flag/abort/idle generation/detection, • zero insertion/deletion, • NRZ/NRZI data encoding, • 16-bit or 32-bit CRC-CCITT generation/checking, • detection of non-octet aligned frames, 39 2117A–HIREL–11/02 • detection of frames that are too long, • programmable 0 - 15 FLAGS between successive frames, • automatic retransmission in case of collision. The SCC BISYNC mode key features are as follows: • flexible data buffers, • eight control recognition registers, • automatic SYNC1 and SYNC2 detection, • SYNC/DLE stripping and insertion, • CRC-16 and LRC generation/checking, • parity (VRC) generation/checking, • supports BISYNC transparent operation (use of DLE characters), • supports promiscuous (totally transparent) reception and transmission, • maintains parity error counter, • external SYNC support, • reverse data mode. The SCC DDCMP mode key features are as follows: • synchronous and asynchronous DDCMP links supported, • flexible data buffers, • four address comparison registers with mask, • automatic frame synchronization, • automatic message synchronization by searching for SOH, ENQ, or DLE, • CRC-16 generation/checking, • NRZ/NRZI data encoding, • maintenance of four 16-bit error counters. The SCC V.110 mode key features are as follows: • provides synchronization and reception of 80-bit frames, • automatic detection of framing errors, • allows transmission of the 80-bit frame. The SCC UART mode key features are as follows: 40 • flexible message-oriented data buffers, • multidrop operation, • receiver wakeup on idle line or address mode, • eight control character comparison registers, • two address comparison registers, • four 16-bit error counters, • programmable data length (7 - 8 bits), • programmable 1 or 2 stop bits with fractional stop bits, • even/odd/force/no parity generation, • even/odd/no parity check, • frame error, noise error, break, and idle detection, • transmits idle and break sequences, • freeze transmission option, TS68302 2117A–HIREL–11/02 TS68302 Serial Communication Port • maintenance of four 16-bit error counters, • provides asynchronous link over which DDCMP may be used, • Flow control character transmission supported. The SCP is a full-duplex, synchronous, character-oriented channel which provides a three-wire interface (TXD, RXD, and clock). The SCP consists of independent transmitter and receiver sections and a common SCP clock generator. The transmitter and receiver section use the same clock, which is derived from the main clock by an on-chip baud rate generator. The TS68302 is an SCP master, generating both the enable and the clock signals. The enable signals may be generated by the general-purpose I/O pins. The SCP allows the TS68302 to communicate with a variety of serial devices for the exchange of status and control information using a subset of the Motorola serial peripheral interface (SPI). Such devices may include industry-standard CODECs and other microcontrollers and peripherals. The SCP can be configured to operate in a local loopback mode, which is useful for diagnostic functions. The receiver and the transmitter operate normally in these modes. The SCP features are as follows: Serial Management Controllers • three-wire interface (SPTXD, SPRXD, and SPCLK), • full-duplex operation, • clock rate up to 4.096 MHz, • programmable baud rate generator, • local loopback capability for testing purposes. The SMCs are two synchronous, full-duplex ports that may be configured to operate in either IDL or GCI mode to handle the maintenance and control portions of these interfaces. The SMC ports are not used in PCM or NMSI modes. The SMC features are as follows: Serial Channels Physical Interface • two modes of operation - IDL and GCI, • local loopback capability for testing purposes, • full-duplex operation, • SMC1 in GCI mode detects collisions on the D channel. The serial channels physical interface connects the physical layer serial lines and the serial controllers (three SCCs and two SMCs). The interface implements both the routing and the time-division multiplexing for the full ISDN bandwidth. It supports four buses: IDL, GCI, PCM, and NMSI (a nonmultiplexed modem interface). The multiplexed modes (IDL, GCI, and PCM) also allow multiple channels (e.g., ISDN B channels) or userdefined subchannels to be assigned to a given SCC. The serial interface also supports two testing modes: echo and loopback. For the IDL and GSI buses, support of management functions in the frame structure is provided by the SCP or SMCs, respectively. Refer to Figure 29 for the serial channels physical interface block diagram. 41 2117A–HIREL–11/02 Figure 29. Serial Channels Physical Interface Block Diagram TS68000 DATA BUS SIMASK MASK REGISTER TO SMC1 SIMODE MODE REGISTER TO SMC2 TO SCC1 TO SCC2 TO SCC3 MUX MUX MUX CLOCKS RTS TIME-SLOT ASSIGNER L1SY1 L1RQ L1GR L1RXD L1TXD LAYER-1 BUS INTERFACE ISDN INTERFACE OR SCC1 42 L1CLK CTS RXD TXD PHYSICAL INTERFACE BUS SCC2 SCC3 TS68302 2117A–HIREL–11/02 TS68302 Preparation For Delivery Packaging Microcircuits are prepared for delivery in accordance with MIL-STD-1835. Certificate of Compliance Atmel offers a certificate of compliance with each shipment of parts, affirming the products are in compliance either with MIL-STD-883 or Atmel standards and guaranteeing the parameters are tested at extreme temperatures for the entire temperature range. Handling MOS devices must be handled with certain precautions to avoid damage due to accumulation of static charge. Input protection devices have been designed in the chip to minimize the effect of this static buildup. However, the following handling practices are recommended: a) Device should be handled on benches with conductive and grounded surfaces. b) Ground test equipment, tool and operator. c) Do not handle devices by the leads. d) Store devices in conductive foam or carriers. e) Avoid use of plastic, rubber, or silk in MOS areas. f) Maintain relative humidity above 50%, if practical. 43 2117A–HIREL–11/02 Package Mechanical Data 132-pin - Ceramic Pin Grid Array (in millimeter) TOP VIEW BOTTOM VIEW 2.54 BSC 4.57 ± 0.025 2.54 BSC 1.27 ± 0.025 N M L K 34.544 ± 0.254 J H G F E D C B A 1.27 ± 0.127 34.544 ± 0.254 44 2.667 ± 0.254 1 2 3 4 5 6 7 8 9 10 11 12 13 3.17 ± 0.635 TS68302 2117A–HIREL–11/02 TS68302 132-pin - Ceramic Quad Flat Pack/CERQUAD pin one ident M S A D R DIM A B C D G H J K L R S V M G CERQUAD132 VB L D 0.1 (0.004) -T- SEATING PLANE Top view (window frame down) Millimeters MIN MAX 21.85 22.86 21.85 22.86 3.94 4.52 0.204 0.292 0.64 BSC 1.0 0.5 0.13 0.20 0.51 0.76 20.32 REF 0.64 27.23 27.63 27.23 27.63 8° 0° Inches MIN MAX 0.86 0.90 0.86 0.90 0.155 0.178 0.008 0.0115 0.025 BSC 0.019 0.039 0.005 0.008 0.020 0.030 0.800 REF 0.025 1.072 1.088 1.072 1.088 8° 0° J H K C Terminal Connections 132-pin - Ceramic Pin Grid Array See Figure 2. 132-pin - Ceramic Quad Flat Pack/CERQUAD See Figure 3. Ordering Information HI-REL Product Commercial Atmel Part-Number Norms Package Temperature Range Tc (°C) Frequency MHz Drawing Number TS68302MRB/C16 MIL-STD-883 PGA 132 -55/+125 16.67 - TS68302MAB/C16 MIL-STD-883 CERQUAD 132 -55/+125 16.67 - -55/+125 16.67 5962-93159 -55/+125 16.67 5962-93159 TS68302DESC01QXC TS68302DESC01QYA Note: 1. Gullwing leads. DESC DESC PGA 132 (1) CERQUAD 132 (1) 45 2117A–HIREL–11/02 Standard Product Commercial Atmel Part-Number Norms Package Temperature Range Tc (°C) Frequency MHz Drawing Number TS68302VR16 Atmel Standard PGA 132 -40/+85 16.67 Internal TS68302MR16 Atmel Standard PGA 132 -55/+125 16.67 Internal TS68302VA16 Atmel Standard CERQUAD 132(1) -40/+85 16.67 Internal Atmel Standard (1) -55/+125 16.67 Internal TS68302MA16 Note: 1. Gullwing leads. CERQUAD 132 TS68302 M A Note: 46 B/C 16 Type Speed (MHz) Temperature range: Tc M: -55, +125°C V: -40, +85°C C: 0, +70°C Screening level: ---- : Standard B/C: MIL-STD-883, class B B/T: Class B Screening according to MIL-STD-883 Package: R: Pin Grid Array 132 A: CERQUAD 132 (Gullwing leads) Hirel lead finish: --: Gold for PGA or Tinned for CERQUAD 1: Tinned for PGA For availability of the different versions, contact your local Atmel sales office. TS68302 2117A–HIREL–11/02 Atmel Headquarters Atmel Operations Corporate Headquarters Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 e-mail [email protected] Web Site http://www.atmel.com © Atmel Corporation 2002. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems. ATMEL ® is the registered trademark of Atmel. Other terms and product names may be the trademarks of others. Printed on recycled paper. 2117A–HIREL–11/02 0M