Am186TMCC High-Performance, 80C186-Compatible 16-Bit Embedded Communications Controller DISTINCTIVE CHARACTERISTICS n E86TM family of x86 embedded processors offers improved time-to-market - Software migration (backwards- and upwardscompatible) - World-class development tools, applications, and system software - General-purpose DMA (4 channels) - Programmable I/O (48 PIO signals) - Interrupt Controller (36 maskable interrupts) n Memory and Peripheral Interface - Integrated DRAM controller - Four High-level Data Link Control (HDLC) channels - Glueless interface to RAM/ROM/Flash memory (55-ns Flash memory required for zero-wait-state operation at 50 MHz) - Four independent Time Slot Assigners (TSAs) - Fourteen chip selects (8 peripherals, 6 memory) - Physical interface for HDLC channels can be raw DCE, PCM Highway, or GCI (IOM-2) - External bus mastering support n Serial Communications Peripherals - USB peripheral controller - High-Speed UART with autobaud - UART - Synchronous serial interface (SSI) - SmartDMATM channels (8) to support USB/HDLC n System Peripherals - Three programmable 16-bit timers - Hardware watchdog timer - Multiplexed and nonmultiplexed address/data bus - Programmable bus sizing - 8-bit boot option n Available in the following package - 160-pin plastic quad flat pack (PQFP) - 25-, 40-, and 50-MHz operating frequencies - Low-voltage operation, VCC = 3.3 V 0.3 V - Commercial and industrial temperature rating - 5-V-tolerant I/O (3.3-V output levels) GENERAL DESCRIPTION T h e A m 1 8 6 TM C C e m b e d d e d c o m mu n i c a t i o n s controller is the first member in the AMD Comm86TM product family. The Am186CC controller is a costeffective, high-performance microcontroller solution for communications applications. This highly integrated microcontroller enables customers to save system costs and increase perfor mance over 8-bit microcontrollers and other 16-bit microcontrollers. The Am186CC communications controller offers the advantages of the x86 development environment's widely available native development tools, applications, and system software. Additionally, the controller uses the industry-standard 186 instruction set that is part of the AMD E86TM family, which continually offers instruction-set-compatible upgrades. Built into the Am186CC controller is a wide range of communications features required in many communications applications, including High-level Data Link Control (HDLC) and the Universal Serial Bus (USB). (c) Copyright 2000 Advanced Micro Devices, Inc. All rights reserved. AMD offers complete solutions with the Am186CC controller. A customer development platform board is available. Reference designs under development include a low-end router with Integrated Services Digital Network (ISDN), Ethernet, USB, Plain Old Telephone Service (POTS), and an ISDN Terminal Adapter featuring USB. AMD and its FusionE86SM Partners offer boards, schematics, drivers, protocol stacks, and routing software for these reference designs to enable fast time to market. Publication# 21915 Rev: B Amendment/0 Issue Date: May 2000 ORDERING INFORMATION Am186CC -50 K C \W LEAD FORMING \W=Trimmed and Formed TEMPERATURE RANGE C= Am186CC Commercial (TC =0C to +100C) I = Am186CC Industrial (TA =-40C to +85C) where: TC = case temperature where: TA = ambient temperature PACKAGE TYPE K=160-Pin Plastic Quad Flat Pack (PQFP) SPEED OPTION -25 = 25 MHz -40 = 40 MHz -50 = 50 MHz DEVICE NUMBER/DESCRIPTION Am186CC high-performance 80C186-compatible 16-bit embedded communications controller Valid Combinations Valid Combinations Am186CC-25 Am186CC-40 KC\W Am186CC-50 Am186CC-25 Am186CC-40 2 Valid combinations list configurations planned to be supported in volume for this device. Consult the local AMD sales office to confirm availability of specific valid combinations and to check on newly released combinations. KI\W Am186TMCC Communications Controller Data Sheet TABLE OF CONTENTS Distinctive Characteristics ............................................................................................................ 1 General Description ..................................................................................................................... 1 Ordering Information .................................................................................................................... 2 Logic Diagram by Interface .......................................................................................................... 6 Logic Diagram by Default Pin Function ....................................................................................... 7 Pin Connection Diagram--160-Pin PQFP Package .................................................................... 8 Pin and Signal Tables .................................................................................................................. 9 Signal Descriptions ............................................................................................................... 13 Architectural Overview ............................................................................................................... 28 Detailed Description .............................................................................................................. 28 Am186 Embedded CPU ........................................................................................................ 29 Memory Organization ............................................................................................................ 29 I/O Space .............................................................................................................................. 29 Serial Communications Support ............................................................................................ 30 Universal Serial Bus ......................................................................................................... 30 Four HDLC Channels and Four TSAs.............................................................................. 31 General Circuit Interface .................................................................................................. 31 Eight SmartDMATM Channels........................................................................................... 31 Two Asynchronous Serial Ports ....................................................................................... 31 Synchronous Serial Port................................................................................................... 32 System Peripherals ............................................................................................................... 32 Interrupt Controller ........................................................................................................... 32 Four General-Purpose DMA Channels ............................................................................ 32 48 Programmable I/O Signals .......................................................................................... 32 Three Programmable Timers ........................................................................................... 32 Hardware Watchdog Timer .............................................................................................. 33 Memory and Peripheral Interface .......................................................................................... 33 System Interfaces............................................................................................................. 33 DRAM Support ................................................................................................................. 34 Chip Selects ..................................................................................................................... 34 Clock Control ......................................................................................................................... 35 In-Circuit Emulator Support ................................................................................................... 37 Applications ............................................................................................................................... 37 Clock Generation and Control ................................................................................................... 40 Features ................................................................................................................................ 40 System Clock ........................................................................................................................ 40 USB Clock ............................................................................................................................. 40 Clock Sharing by System and USB ....................................................................................... 41 Crystal-Driven Clock Source ................................................................................................. 42 External Clock Source ........................................................................................................... 43 Static Operation .................................................................................................................... 43 PLL Bypass Mode ................................................................................................................. 43 UART Baud Clock ................................................................................................................. 43 Power Supply Operation ............................................................................................................ 44 Power Supply Connections ................................................................................................... 44 Input/Output Circuitry ............................................................................................................ 44 PIO Supply Current Limit ...................................................................................................... 44 Absolute Maximum Ratings ....................................................................................................... 45 Operating Ranges ...................................................................................................................... 45 Driver Characteristics--Universal Serial Bus ............................................................................ 45 DC Characteristics over Commercial and Industrial Operating Ranges .................................... 46 Capacitance ............................................................................................................................... 46 Am186TMCC Communications Controller Data Sheet 3 Maximum Load Derating ............................................................................................................ 47 Power Supply Current ................................................................................................................ 47 Thermal Characteristics ............................................................................................................. 48 PQFP Package ..................................................................................................................... 48 Commercial and Industrial Switching Characteristics and Waveforms ...................................... 49 Switching Characteristics over Commercial and Industrial Operating Ranges ......................................58 Appendix A--Pin Tables ............................................................................................................A-1 Pin List Table Column Definitions ......................................................................................A-11 Appendix B--Physical Dimensions: PQR160, Plastic Quad Flat Pack (PQFP) ........................B-1 Appendix C--Customer Support ...............................................................................................C-1 Related AMD Products--E86TM Family Devices ..................................................................C-1 Related Documents ..............................................................................................................C-2 Am186CC/CH/CU Microcontroller Customer Development Platform ..................................C-2 Third-Party Development Support Products .................................................................................C-2 Customer Service .................................................................................................................C-2 Hotline and World Wide Web Support............................................................................. C-2 Corporate Applications Hotline........................................................................................ C-2 World Wide Web Home Page ......................................................................................... C-3 Documentation and Literature ......................................................................................... C-3 Literature Ordering .......................................................................................................... C-3 Index ................................................................................................................................... Index-1 LIST OF FIGURES Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Figure 30. 4 Am186CC Controller Block Diagram ..................................................................... 28 Two-Component Address Example ...................................................................... 30 Am186CC Controller Address Bus -- Default Operation ...................................... 35 Am186CC Controller--Address Bus Disable In Effect .......................................... 36 ISDN Terminal Adapter System Application ......................................................... 38 ISDN to Ethernet Low-End Router System Application ........................................ 38 32-Channel Linecard System Application ............................................................. 39 System and USB Clock Generation ...................................................................... 41 Suggested System Clock Frequencies, Clock Modes, and Crystal Frequencies . 42 External Interface to Support Clocks--Fundamental Mode Crystal ...................... 42 External Interface to Support Clocks--External Clock Source ............................. 43 UART and High-Speed UART Clocks ................................................................... 43 Typical Icc Versus Frequency ................................................................................ 47 Thermal Resistance(C/Watt) ............................................................................... 48 Thermal Characteristics Equations ....................................................................... 48 Key to Switching Waveforms ................................................................................ 49 Read Cycle Waveforms ........................................................................................ 60 Write Cycle Waveforms ......................................................................................... 63 Software Halt Cycle Waveforms ........................................................................... 64 Peripheral Timing Waveforms ............................................................................... 65 Reset Waveforms .................................................................................................. 66 Signals Related to Reset (System PLL in 1x or 2x Mode) .................................... 67 Signals Related to Reset (System PLL in 4x Mode) ............................................. 67 Synchronous Ready Waveforms ........................................................................... 68 Asynchronous Ready Waveforms ......................................................................... 69 Entering Bus Hold Waveforms .............................................................................. 70 Exiting Bus Hold Waveforms ................................................................................. 70 System Clock Timing Waveforms--Active Mode (PLL 1x Mode) ......................... 72 USB Clock Timing Waveforms .............................................................................. 72 GCI Bus Waveforms ............................................................................................. 73 Am186TMCC Communications Controller Data Sheet Figure 31. Figure 32. Figure 33. Figure 34. Figure 35. Figure 36. Figure 37. Figure 38. Figure 39. Figure 40. Figure 41. Figure 42. PCM Highway Waveforms (Timing Slave) ............................................................ 75 PCM Highway Waveforms (Timing Master) .......................................................... 76 DCE Transmit Waveforms .................................................................................... 77 DCE Receive Waveforms ..................................................................................... 77 USB Data Signal Rise and Fall Times .................................................................. 78 USB Receiver Jitter Tolerance .............................................................................. 78 Synchronous Serial Interface Waveforms ............................................................. 79 DRAM Read Cycle without Wait-States Waveform ............................................... 80 DRAM Read Cycle with Wait-States Waveform .................................................... 81 DRAM Write Cycle without Wait-States Waveform ............................................... 81 DRAM Write Cycle with Wait-States Waveform .................................................... 82 DRAM Refresh Cycle Waveform ........................................................................... 82 LIST OF TABLES Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Table 35. PQFP Pin Assignments--Sorted by Pin Number .................................................. 10 PQFP Pin Assignments--Sorted by Signal Name ................................................ 11 Signal Description Table Definitions ...................................................................... 13 Signal Descriptions ............................................................................................... 14 Segment Register Selection Rules ....................................................................... 30 Crystal Parameters ................................................................................................ 42 Typical Power Consumption Calculation................................................................ 47 Thermal Characteristics (C/Watt) ........................................................................ 48 Alphabetical Key to Switching Parameter Symbols .............................................. 50 Numerical Key to Switching Parameter Symbols .................................................. 54 Read Cycle Timing ................................................................................................ 58 Write Cycle Timing ................................................................................................ 61 Software Halt Cycle Timing ................................................................................... 64 Peripheral Timing .................................................................................................. 65 Reset Timing ......................................................................................................... 66 External Ready Cycle Timing ................................................................................ 68 Bus Hold Timing .................................................................................................... 69 System Clocks Timing ........................................................................................... 71 USB Clocks Timing ............................................................................................... 72 GCI Bus Timing ..................................................................................................... 73 PCM Highway Timing (Timing Slave) ................................................................... 74 PCM Highway Timing (Timing Master) ................................................................. 76 DCE Interface Timing ............................................................................................ 77 USB Timing ........................................................................................................... 78 SSI Timing ............................................................................................................. 79 DRAM Timing ........................................................................................................ 80 Power-On Reset (POR) Pin Defaults ...................................................................A-2 Multiplexed Signal Trade-offs ...............................................................................A-5 PIOs Sorted by PIO Number ................................................................................A-8 PIOs Sorted by Signal Name ...............................................................................A-9 Reset Configuration Pins (Pinstraps) .................................................................A-10 CPU PLL Modes .................................................................................................A-10 USB PLL Modes..................................................................................................A-10 Pin List Table Definitions.....................................................................................A-11 Pin List Summary ...............................................................................................A-12 Am186TMCC Communications Controller Data Sheet 5 LOGIC DIAGRAM BY INTERFACE1 CLKOUT RES RESOUT X1 X2 Reset/ Clocks Address and Address/Data Buses 20 A19-A0 16 AD15-AD0 2 / Bus Status and Control 3 Programmable Timers Debug / ALE ARDY BHE BSIZE8 DEN DS DRQ1-DRQ0 DT/R HLDA HOLD RD S2-S0 S6 SRDY WHB WLB WR 2 / PWD TMRIN1-TMRIN0 TMROUT1-TMROUT0 2 / QS1-QS0 2 / Synchronous Serial Interface SDEN SCLK SDATA Asynchronous Serial Interface (UART) RXD_U TXD_U CTS_U RTR_U High-Speed UART UART Clock Programmable I/O (PIO) RXD_HU TXD_HU CTS_HU RTR_HU UCLK PIO47-PIO0 INT8-INT0 NMI LCS MCS3-MCS0 PCS7-PCS0 UCS 9 4 8 / Chip Selects / / CAS0 CAS1 RAS0 RAS1 DCE_RXD_A, B, C, D DCE_TXD_A, B, C, D DCE_RCLK_A, B, C, D DCE_TCLK_A, B, C, D DCE_CTS_A, B, C, D DCE_RTR_A, B, C, D PCM_RXD_A, B, C, D PCM_TXD_A, B, C, D PCM_CLK_A, B, C, D PCM_FSC_A, B, C, D PCM_TSC_A, B, C, D GCI_DD_A GCI_DU_A GCI_DCL_A GCI_FSC_A USBD+ USBD- USBSCI USBSOF USBX1 USBX2 Interrupts DRAM Control 4 4 / / 4 / / 4 / 4 / 4 4 4 / / 4 / / 4 / 4 DCE Interface (HDLC A-D)1 PCM Interface (HDLC A-D)1 GCI Interface (HDLC A)1 Universal Serial Bus (USB) UDMNS UDPLS UTXDMNS UTXDPLS UXVOE UXVRCV USB External Transceiver Interface {ADEN} {CLKSEL1} {CLKSEL2} {ONCE} {UCSX8} {USBSEL1} {USBSEL2} {USBXCVR} Configuration Pinstraps Notes: 1. Because of multiplexing, not all interfaces are available at once. Refer to Table 28, "Multiplexed Signal Trade-offs," on page A-5. 6 Am186TMCC Communications Controller Data Sheet LOGIC DIAGRAM BY DEFAULT PIN FUNCTION1 CLKOUT RES RESOUT X1 X2 Reset/ Clocks Address and Address/Data Buses 20 16 Debug High-Speed UART Chip Selects Universal Serial Bus (USB) 6 Interrupts No Connection / HDLC A (DCE) A19-A0 AD15-AD0 ALE [PIO33] ARDY [PIO8] BHE [PIO34] {ADEN} BSIZE8 DEN [DS] [PIO30] DRQ1 DT/R [PIO29] HLDA {CLKSEL1} HOLD RD S0 {USBXCVR} S1 S2 S6 SRDY [PIO35] WHB WLB WR [PIO15] Bus Status and Control DCE_RXD_A [GCI_DD_A] [PCM_RXD_A] DCE_TXD_A [GCI_DU_A] [PCM_TXD_A] DCE_RCLK_A [GCI_DCL_A] [PCM_CLK_A] DCE_TCLK_A [GCI_FSC_A] [PCM_FSC_A] PIO0 [TMRIN1] PIO1 [TMROUT1] PIO2 [PCS5] PIO3 [PCS4] {CLKSEL2} PIO4 [MCS0] {UCSX8} PIO5 [MCS3] [RAS1] PIO6 [INT8] [PWD] PIO7 [INT7] PIO8 [ARDY] Programmable I/O (PIO) PIO9 [DRQ0] PIO10 [SDEN] PIO11 [SCLK] PIO12 [SDATA] PIO16 [RXD_HU] PIO17 [DCE_CTS_A] [PCM_TSC_A] PIO18 [DCE_RTR_A] PIO19 [INT6] PIO20 [TXD_U] [DCE_TXD_D] [PCM_TXD_D] QS1-QS0 PIO21 [UCLK] [USBSOF] [USBSCI] PIO22 [DCE_RCLK_C] [PCM_CLK_C] TXD_HU PIO23 [DCE_TCLK_C] [PCM_FSC_C] PIO24 [CTS_U] [DCE_TCLK_D] [PCM_FSC_D] LCS [RAS0] PIO25 [RTR_U] [DCE_RCLK_D] [PCM_CLK_D] PIO26 [RXD_U] [DCE_RXD_D] [PCM_RXD_D] MCS1 [CAS1] PIO27 [TMRIN0] MCS2 [CAS0] PIO28 [TMROUT0] PCS0 [PIO13] {USBSEL1} PCS1 [PIO14] {USBSEL2} PIO31 [PCS7] PCS2 PIO32 [PCS6] PCS3 UCS {ONCE} PIO36 [DCE_RXD_B] [PCM_RXD_B] USBD+ [UDPLS] PIO37 [DCE_TXD_B] [PCM_TXD_B] USBD- [UDMNS] PIO38 [DCE_CTS_B] [PCM_TSC_B] USBX1 PIO39 [DCE_RTR_B] USBX2 PIO40 [DCE_RCLK_B] [PCM_CLK_B] PIO41 [DCE_TCLK_B] [PCM_FSC_B] INT5-INT0 PIO42 [DCE_RXD_C] [PCM_RXD_C] NMI PIO43 [DCE_TXD_C] [PCM_TXD_C] PIO44 [DCE_CTS_C] [PCM_TSC_C] PIO45 [DCE_RTR_C] PIO46 [CTS_HU] [DCE_CTS_D] [PCM_TSC_D] PIO47 [RTR_HU] [DCE_RTR_D] RSVD_104 [UXVRCV] RSVD_103 [UXVOE] RSVD_102 [UTXDMNS] RSVD_101 [UTXDPLS] Notes: 1. Pin names in bold indicate the default pin function. Brackets, [ ], indicate alternate, multiplexed functions. Braces, { }, indicate pinstrap pins. Am186TMCC Communications Controller Data Sheet 7 VSS A5 A6 A7 A8 AD3 AD11 VCC A9 A10 AD4 AD12 VSS S6 S2 S1 S0 {USBXCVR} RESOUT VCC CLKOUT VSS QS0 QS1 A11 A12 AD5 AD13 VCC A13 A14 VSS VSS_A X1 X2 USBX1 USBX2 VCC_A VCC VCC_USB USBD-/UDMNS 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 VCC TXD_U/DCE_TXD_D/PCM_TXD_D RXD_U/DCE_RXD_D/PCM_RXD_D CTS_U/DCE_TCLK_D/PCM_FSC_D RTR_U/DCE_RCLK_D/PCM_CLK_D VSS DCE_TXD_C/PCM_TXD_C DCE_RXD_C/PCM_RXD_C DCE_CTS_C/PCM_TSC_C DCE_RTR_C DCE_RCLK_C/PCM_CLK_C DCE_TCLK_C/PCM_FSC_C VCC INT8/PWD INT7 INT6 TMRIN1 TMROUT1 TMRIN0 TMROUT0 VSS DCE_TXD_B/PCM_TXD_B DCE_RXD_B/PCM_RXD_B DCE_CTS_B/PCM_TSC_B DCE_RTR_B DCE_RCLK_B/PCM_CLK_B DCE_TCLKB/PCM_FSC_B VCC UCS {ONCE} LCS/RAS0 VSS MCS3/RAS1 MCS2/CAS0 MCS1/CAS1 MCS0 {UCSX8} VCC DRQ0 DCE_CTS_A/PCM_TSC_A DCE_RTR_A VSS PIN CONNECTION DIAGRAM--160-PIN PQFP PACKAGE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 8 VSS SDEN SCLK SDATA PCS0 {USBSEL1} PCS1 {USBSEL2} PCS2 PCS3 PCS4 {CLKSEL2} PCS5 PCS6 VCC PCS7 ARDY SRDY WR DT/R DEN/DS ALE BHE {ADEN} VSS UCLK/USBSOF/USBSCI RTR_HU/DCE_RTR_D CTS_HU/DCE_CTS_D/PCM_TSC_D RXD_HU TXD_HU VCC AD0 AD8 A0 A1 A2 VSS AD1 AD9 A3 A4 AD2 AD10 VCC VCC DCE_TXD_A/GCI_DU_A/PCM_TXD_A DCE_RXD_A/GCI_DD_A/PCM_RXD_A DCE_RCLK_A/GCI_DCL_A/PCM_CLK_A DCE_TCLK_A/GCI_FSC_A/PCM_FSC_A NMI RES INT5 INT4 INT3 INT2 INT1 VSS INT0 VCC DRQ1 RSVD_104/UXVRCV RSVD_103/UXVOE RSVD_102/UTXDMNS RSVD_101/UTXDPLS VSS HOLD HLDA {CLKSEL1} RD WLB WHB BSIZE8 AD15 AD7 VCC A19 A18 A17 AD14 AD6 A16 A15 VSS VSS_USB USBD+/UDPLS Am186TMCC Communications Controller Data Sheet 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 PIN AND SIGNAL TABLES Table 1 on page 10 and Table 2 on page 11 show the pi n s s o r t ed by pi n nu mb e r a nd s i g na l n a me, respectively. Table 4 on page 14 contains the signal descriptions (grouped alphabetically and by function). The table includes columns listing the multiplexed functions and I/O type. Table 3 on page 13 shows terms used in Table 4. Refer to Appendix A, "Pin Tables," on page A-1 for an a d d i ti on a l gr o u p o f t a bl e s w i th t h e f o l l ow i n g information: n Power-on reset (POR) pin defaults including pin numbers and multiplexed functions--Table 27 on page A-2. n Multiplexed page A-5. signal trade-offs--Table 28 on n Programmable I/O (PIO) pins ordered by PIO pin number and multiplexed signal name, respectively, including columns listing multiplexed functions and pin configurations following system reset--Table 29 on page A-8 and Table 30 on page A-9. n Pinstraps and page A-10. pinstrap options--Table 31 on n Pin and signal summary showing signal name and alternate function, pin number, I/O type, load values, POR default function, reset state, POR default operation, hold state, and voltage--Table 35 on page A-12. In all tables the brackets, [ ], indicate alternate, multiplexed functions, and braces, { }, indicate reset configuration pins (pinstraps). The line over a pin name indicates an active Low. The word pin refers to the physical wire; the word signal refers to the electrical signal that flows through it. Am186TMCC Communications Controller Data Sheet 9 Table 1. PQFP Pin Assignments--Sorted by Pin Number1 Pin No. 10 Name--Left Side Pin No. Name--Bottom Side Pin No. 41 Name--Right Side Pin No. 121 Name--Top Side 1 VSS VSS 81 USBD+/UDPLS VSS 2 SDEN 3 SCLK 42 A5 82 VSS_USB 122 DCE_RTR_A 43 A6 83 VSS 123 DCE_CTS_A/ PCM_TSC_A 4 SDATA 44 A7 84 A15 124 DRQ0 5 PCS0 {USBSEL1} 45 A8 85 A16 125 VCC MCS0 {UCSX8} 6 PCS1 {USBSEL2} 46 AD3 86 AD6 126 7 PCS2 47 AD11 87 AD14 127 MCS1/CAS1 8 PCS3 48 VCC 88 A17 128 MCS2/CAS0 MCS3/RAS1 9 PCS4 {CLKSEL2} 49 A9 89 A18 129 10 PCS5 50 A10 90 A19 130 VSS 11 PCS6 51 AD4 91 VCC 131 LCS/RAS0 12 VCC 52 AD12 92 AD7 132 UCS {ONCE} 13 PCS7 53 VSS 93 AD15 133 VCC 14 ARDY 54 S6 94 BSIZE8 134 DCE_TCLK_B/ PCM_FSC_B 15 SRDY 55 S2 95 WHB 135 DCE_RCLK_B/ PCM_CLK_B 16 WR 56 S1 96 WLB 136 DCE_RTR_B 17 DT/R 57 S0 {USBXCVR} 97 RD 137 DCE_CTS_B/ PCM_TSC_B 18 DEN/DS 58 RESOUT 98 HLDA {CLKSEL1} 138 DCE_RXD_B/ PCM_RXD_B 19 ALE 59 VCC 99 HOLD 139 DCE_TXD_B/ PCM_TXD_B 20 BHE {ADEN} 60 CLKOUT 100 VSS 140 VSS 21 VSS 61 VSS 101 RSVD_101/UTXDPLS 141 TMROUT0 22 UCLK/USBSOF/USBSCI 62 QS0 102 RSVD_102/UTXDMNS 142 TMRIN0 23 RTR_HU/DCE_RTR_D 63 QS1 103 RSVD_103/UXVOE 143 TMROUT1 24 CTS_HU/DCE_CTS_D/ PCM_TSC_D 64 A11 104 RSVD_104/UXVRCV 144 TMRIN1 25 RXD_HU 65 A12 105 DRQ1 145 INT6 26 TXD_HU 66 AD5 106 VCC 146 INT7 27 VCC 67 AD13 107 INT0 147 INT8/PWD 28 AD0 68 VCC 108 VSS 148 VCC 29 AD8 69 A13 109 INT1 149 DCE_TCLK_C/ PCM_FSC_C 30 A0 70 A14 110 INT2 150 DCE_RCLK_C/ PCM_CLK_C 31 A1 71 VSS 111 INT3 151 DCE_RTR_C 32 A2 72 VSS_A 112 INT4 152 DCE_CTS_C/ PCM_TSC_C 33 VSS 73 X1 113 INT5 153 DCE_RXD_C/ PCM_RXD_C 34 AD1 74 X2 114 RES 154 DCE_TXD_C/ PCM_TXD_C 35 AD9 75 USBX1 115 NMI 155 VSS 36 A3 76 USBX2 116 DCE_TCLK_A/ GCI_FSC_A/ PCM_FSC_A 156 RTR_U/ DCE_RCLK_D/ PCM_CLK_D 37 A4 77 VCC_A 117 DCE_RCLK_A / GCI_DCL_A/ PCM_CLK_A 157 CTS_U/ DCE_TCLK_D/ PCM_FSC_D Am186TMCC Communications Controller Data Sheet Table 1. PQFP Pin Assignments--Sorted by Pin Number1 (Continued) Pin No. Name--Right Side Pin No. Name--Top Side 38 AD2 Name--Left Side Pin No. Name--Bottom Side Pin No. 78 VCC 118 DCE_RXD_A/GCI_DD_A/ PCM_RXD_A 158 RXD_U/DCE_RXD_D/ PCM_RXD_D 39 AD10 79 VCC_USB 119 DCE_TXD_A/GCI_DU_A/ PCM_TXD_A 159 TXD_U/DCE_TXD_D/ PCM_TXD_D 40 VCC 80 USBD-/UDMNS 120 VCC 160 VCC Notes: 1. See Table 29, "PIOs Sorted by PIO Number," on page A-8 for PIOs sorted by PIO number. Table 2. PQFP Pin Assignments--Sorted by Signal Name1 Signal Name Pin No. Signal Name Pin No. Signal Name Pin No. Signal Name Pin No. A0 30 CLKOUT 60 MCS3/RAS1 129 USBD-/UDMNS 80 A1 31 CTS_HU/DCE_CTS_D/ PCM_TSC_D 24 NMI 115 USBX1 75 A2 32 CTS_U/DCE_TCLK_D/ PCM_FSC_D 157 PCS0 {USBSEL1} 5 USBX2 76 A3 36 DCE_CTS_A/PCM_TSC_A 123 PCS1 {USBSEL2} 6 VCC 12 A4 37 DCE_CTS_B/ PCM_TSC_B 137 PCS2 7 VCC 27 A5 42 DCE_CTS_C/PCM_TSC_C 152 PCS3 8 VCC 40 A6 43 DCE_RCLK_A/ GCI_DCL_A/PCM_CLK_A 117 PCS4 {CLKSEL2} 9 VCC 48 A7 44 DCE_RCLK_B/ PCM_CLK_B 135 PCS5 10 VCC 59 A8 45 DCE_RCLK_C/PCM_CLK_C 150 PCS6 11 VCC 68 A9 49 DCE_RTR_A 122 PCS7 13 VCC 78 A10 50 DCE_RTR_B 136 QS0 62 VCC 91 A11 64 DCE_RTR_C 151 QS1 63 VCC 106 A12 65 DCE_RXD_A/GCI_DD_A/ PCM_RXD_A 118 RD 97 VCC 120 A13 69 DCE_RXD_B/ PCM_RXD_B 138 RES 114 VCC 125 A14 70 DCE_RXD_C/ PCM_RXD_C 153 RESOUT 58 VCC 133 A15 84 DCE_TCLK_A/ GCI_FSC_A/PCM_FSC_A 116 RSVD_104/UXVRCV 104 VCC 148 A16 85 DCE_TCLK_B/ PCM_FSC_B 134 RSVD_103/UXVOE 103 VCC 160 A17 88 DCE_TCLK_C/ PCM_FSC_C 149 RSVD_102/UTXDMNS 102 VCC_A 77 A18 89 DCE_TXD_A/GCI_DU_A/ PCM_TXD_A 119 RSVD_101/UTXDPLS 101 VCC_USB 79 A19 90 DCE_TXD_B/ PCM_TXD_B 139 RTR_HU/DCE_RTR_D 23 VSS 1 AD0 28 DCE_TXD_C/ PCM_TXD_C 154 RTR_U/DCE_RCLK_D/ PCM_CLK_D 156 VSS 21 AD1 34 DEN/DS 18 RXD_HU 25 VSS 33 AD2 38 DRQ0 124 RXD_U/DCE_RXD_D/ PCM_RXD_D 158 VSS 41 AD3 46 DRQ1 105 S0 {USBXCVR} 57 VSS 53 AD4 51 DT/R 17 S1 56 VSS 61 AD5 66 HLDA {CLKSEL1} 98 S2 55 VSS 71 AD6 86 HOLD 99 S6 54 VSS 83 AD7 92 INT0 107 SCLK 3 VSS 100 AD8 29 INT1 109 SDATA 4 VSS 108 AD9 35 INT2 110 SDEN 2 VSS 121 AD10 39 INT3 111 SRDY 15 VSS 130 Am186TMCC Communications Controller Data Sheet 11 Table 2. PQFP Pin Assignments--Sorted by Signal Name 1 (Continued) Signal Name Pin No. Signal Name Pin No. Signal Name Pin No. Signal Name Pin No. AD11 47 INT4 112 TMRIN0 142 VSS 140 AD12 52 INT5 113 TMRIN1 144 V SS 155 AD13 67 INT6 145 TMROUT0 141 V SS_A 72 AD14 87 INT7 146 TMROUT1 143 V SS_USB 82 AD15 93 INT8/PWD 147 TXD_HU 26 WHB 95 ALE 19 LCS/RAS0 131 TXD_U/DCE_TXD_D/ PCM_TXD_D 159 WLB 96 ARDY 14 MCS0 {UCSX8} 126 UCLK/USBSOF/USBSCI 22 WR 16 BHE {ADEN} 20 MCS1/CAS1 127 UCS {ONCE} 132 X1 73 BSIZE8 94 MCS2/CAS0 128 USBD+/UDPLS 81 X2 74 Notes: 1. For PIOs sorted by signal name, refer to Table 30, "PIOs Sorted by Signal Name," on page A-9. 12 Am186TMCC Communications Controller Data Sheet Signal Descriptions Table 3. Table 4 on page 14 contains a description of the Am186CC controller signals. Table 3 describes the terms used in Table 4. The signals are organized alphabetically within the following functional groups: Term n Bus interface/general-purpose DMA request (page 14) n Clocks/reset/watchdog timer (page 17) [] Pin alternate function; a pin defaults to the signal named without the brackets {} Reset configuration pin (pinstrap) pin Refers to the physical wire reset An external or power-on reset is caused by asserting RES. An internal reset is initiated by the watchdog timer. A system reset is one that resets the Am186CC controller (the CPU plus the internal peripherals) as well as any external peripherals connected to RESOUT. An external reset always causes a system reset; an internal reset can optionally cause a system reset. signal Refers to the electrical signal that flows across a pin n Power and ground (page 19) n Debug support (page 19) n Chip selects (page 19) n DRAM (page 20) n Programmable I/O (PIOs) (page 22) n Programmable timers (page 22) n Asynchronous serial ports (UART and High-Speed UART) (page 22) n Synchronous serial interface (SSI) (page 23) n HDLC synchronous communications: channels A-D for Data Communications Equipment (DCE), Pulse-Code Modulation (PCM), and General Circuit Interface (GCI) interfaces (page 23) n Universal serial bus (USB) (page 26) For pinstraps, refer to Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. Definition General terms n No connects (page 18) n Interrupts (page 21) Signal Description Table Definitions SIGNAL A line over a signal name indicates that the signal is active Low; a signal name without a line is active High. Signal types B Bidirectional H High LS Programmable to hold last state of pin O Totem pole output OD Open drain output OD-O PD Open drain output or totem pole output Internal pulldown resistor PU Internal pullup resistor STI Schmitt trigger Input STI-OD TS Schmitt trigger input or open drain output Three-state output Am186TMCC Communications Controller Data Sheet 13 Table 4. Signal Name Multiplexed Signal(s) Signal Descriptions Type Description BUS INTERFACE/GENERAL-PURPOSE DMA REQUEST A19-A0 -- O Address Bus supplies nonmultiplexed memory or I/O addresses to the system one half of a CLKOUT period earlier than the multiplexed address and data bus (AD15-AD0). During bus-hold or reset conditions, the address bus is threestated with pulldowns. When the lower or upper chip-select regions are configured for DRAM mode, the A19-A0 bus provides the row and column addresses at the appropriate times. The upper and lower memory chip-select ranges can be individually configured for DRAM mode. AD15-AD0 -- B Address and Data Bus time-multiplexed pins supply memory or I/O addresses and data to the system. This bus can supply an address to the system during the first period of a bus cycle (t1). It transmits (write cycle) or receives (read cycle) data to or from the system during the remaining periods of that cycle (t2, t3, and t4). The address phase of these pins can be disabled--see the {ADEN} pin description in Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. During a reset condition, the address and data bus is three-stated with pulldowns, and during a bus hold it is three-stated. In addition, during a reset the state of the address and data bus pins (AD15- AD0) is latched into the Reset Configuration (RESCON) register. This feature can be used to provide software with information about the external system at reset time. ALE [PIO33] O Address Latch Enable indicates to the system that an address appears on the address and data bus (AD15-AD0). The address is guaranteed valid on the falling edge of ALE. ALE is three-stated and has a pulldown resistor during bus-hold or reset conditions. ARDY [PIO8] STI Asynchronous Ready is a true asynchronous ready that indicates to the Am186CC controller that the addressed memory space or I/O device will complete a data transfer. The ARDY pin is asynchronous to CLKOUT and is active High. To guarantee the number of wait states inserted, ARDY or SRDY must be synchronized to CLKOUT. If the falling edge of ARDY is not synchronized to CLKOUT as specified, an additional clock period can be added. To always assert the ready condition to the microcontroller, tie ARDY and SRDY High. If the system does not use ARDY, tie the pin Low to yield control to SRDY. 14 Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name BHE Multiplexed Signal(s) [PIO34] {ADEN} Type Description O Bus High Enable: During a memory access, BHE and the least-significant address bit (AD0) indicate to the system which bytes of the data bus (upper, lower, or both) participate in a bus cycle. The BHE and AD0 pins are encoded as follows: Data Byte Encoding BHE AD0 0 0 Type of Bus Cycle Word transfer 0 1 High byte transfer (bits 15-8) 1 0 Low byte transfer (bits 7-0) 1 1 Refresh BHE is asserted during t1 and remains asserted through t3 and tW. BHE does not require latching. BHE is three-stated with a pullup during bus-hold and reset conditions. WLB and WHB implement the functionality of BHE and AD0 for high and low byte write enables, and they have timing appropriate for use with the nonmultiplexed bus interface. BHE also signals DRAM refresh cycles when using the multiplexed address and data (AD) bus. A refresh cycle is indicated when both BHE and AD0 are High. During refresh cycles, the AD bus is driven during the t1 phase and three-stated during the t2, t3, and t4 phases. The value driven on the A bus is undefined during a refresh cycle. For this reason, the A0 signal cannot be used in place of the AD0 signal to determine refresh cycles. BSIZE8 -- O Bus Size 8 is asserted during t1-t4 to indicate an 8-bit cycle, or is deasserted to indicate a 16-bit cycle. DEN [DS] [PIO30] O Data Enable supplies an output enable to an external data-bus transceiver. DEN is asserted during memory and I/O cycles. DEN is deasserted when DT/R changes state. DEN is three-stated with a pullup during bus-hold or reset conditions. [DS] DEN PIO30 O Data Strobe provides a signal where the write cycle timing is identical to the read cycle timing. When used with other control signals, [DS] provides an interface for 68K-type peripherals without the need for additional system interface logic. When [DS] is asserted, addresses are valid. When [DS] is asserted on writes, data is valid. When [DS] is asserted on reads, data can be driven on the AD bus. Following a reset, this pin is configured as DEN. The pin is then configured by software to operate as [DS]. DT/R [PIO29] O Data Transmit or Receive indicates which direction data should flow through an external data-bus transceiver. When DT/R is asserted High, the Am186CC controller transmits data. When this pin is deasserted Low, the controller receives data. DT/R is three-stated with a pullup during a bus-hold or reset condition. DRQ1 -- STI PIO9 STI DMA Requests 1 and 0 indicate to the Am186CC controller that an external device is ready for a DMA channel to perform a transfer. DRQ1-[DRQ0] are level-triggered and internally synchronized. DRQ1-[DRQ0] are not latched and must remain active until serviced. [DRQ0] Am186TMCC Communications Controller Data Sheet 15 Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) HLDA {CLKSEL1} Type Description O Bus-Hold Acknowledge is asserted to indicate to an external bus master that the Am186CC controller has relinquished control of the local bus. When an external bus master requests control of the local bus (by asserting HOLD), the microcontroller completes the bus cycle in progress, then relinquishes control of the bus to the external bus master by asserting HLDA and three-stating S2-S0, AD15-AD0, S6, and A19-A0. The following are also three-stated and have pullups: UCS, LCS, MCS3-MCS0, PCS7-PCS0, DEN, RD, WR, BHE, WHB, WLB, and DT/R. ALE is three-stated and has a pulldown. When the external bus master has finished using the local bus, it indicates this to the Am186CC controller by deasserting HOLD. The controller responds by deasserting HLDA. If the Am186CC controller requires access to the bus (for example, for refresh), the controller deasserts HLDA before the external bus master deasserts HOLD. The external bus master must be able to deassert HOLD and allow the controller access to the bus. See the timing diagrams for bus hold on page 70. HOLD -- STI Bus-Hold Request indicates to the Am186CC controller that an external bus master needs control of the local bus. The Am186CC controller's HOLD latency time--the time between HOLD request and HOLD acknowledge--is a function of the activity occurring in the processor when the HOLD request is received. A HOLD request is second only to DRAM refresh requests in priority of activity requests received by the processor. This implies that if a HOLD request is received just as a DMA transfer begins, the HOLD latency can be as great as four bus cycles. This occurs if a DMA word transfer operation is taking place from an odd address to an odd address. This is a total of 16 clock cycles or more if wait states are required. In addition, if locked transfers are performed, the HOLD latency time is increased by the length of the locked transfer. HOLD latency is also potentially increased by DRAM refreshes. The board designer is responsible for properly terminating the HOLD input. For more information, see the HLDA pin description. RD -- O Read Strobe indicates to the system that the Am186CC controller is performing a memory or I/O read cycle. RD is guaranteed to not be asserted before the address and data bus is three-stated during the address-to-data transition. RD is three-stated with a pullup during bus-hold or reset conditions. S6 -- O Bus Cycle Status Bit 6: This signal is asserted during t 1-t4 to indicate a DMAinitiated bus cycle or a refresh cycle. S6 is three-stated during bus hold and three-stated with a pulldown during reset. SRDY [PIO35] STI Synchronous Ready indicates to the Am186CC controller that the addressed memory space or I/O device will complete a data transfer. The SRDY pin accepts an active High input synchronized to CLKOUT. Using SRDY instead of ARDY allows a relaxed system timing because of the elimination of the one-half clock period required to internally synchronize ARDY. To always assert the ready condition to the microcontroller, tie SRDY High. If the system does not use SRDY, tie the pin Low to yield control to ARDY. 16 Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) S2 -- S1 -- S0 {USBXCVR} Type Description O Bus Cycle Status 2-0 indicate to the system the type of bus cycle in progress. S2 can be used as a logical memory or I/O indicator, and S1 can be used as a data transmit or receive indicator. S2-S0 are three-stated during bus hold and three-stated with a pullup during reset. The S2-S0 pins are encoded as follows: Bus Status Pins WHB -- O WLB -- O S2 S1 S0 Bus Cycle 0 0 0 Reserved 0 0 1 Read data from I/O 0 1 0 Write data to I/O 0 1 1 Halt 1 0 0 Instruction fetch 1 0 1 Read data from memory 1 1 0 Write data to memory 1 1 1 None (passive) Write High Byte and Write Low Byte indicate to the system which bytes of the data bus (upper, lower, or both) participate in a write cycle. In 80C186 microcontroller designs, this information is provided by BHE, AD0, and WR. However, by using WHB and WLB, the standard system interface logic and external address latch that were required are eliminated. WHB is asserted with AD15-AD8. WHB is the logical AND of BHE and WR. This pin is three-stated with a pullup during bus-hold or reset conditions. WLB is asserted with AD7-AD0. WLB is the logical AND of AD0 and WR. This pin is three-stated with a pullup during bus-hold or reset conditions. WR [PIO15] O Write Strobe indicates to the system that the data on the bus is to be written to a memory or I/O device. WR is three-stated with a pullup during bus-hold or reset conditions. O Clock Output supplies the clock to the system. Depending on the values of the CPU mode select pinstraps, {CLKSEL1} and {CLKSEL2}, CLKOUT operates at either the PLL frequency or the source input frequency during PLL Bypass mode. (See Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10.) CLKOUT remains active during bus-hold or reset conditions. CLOCKS/RESET/WATCHDOG TIMER CLKOUT -- The DISCLK bit in the SYSCON register can be set to disable the CLKOUT signal. Refer to the Am186TMCC/CH/CU Microcontrollers Register Set Manual (order #21916). All synchronous AC timing specifications not associated with SSI, HDLCs, UARTs, and the USB are synchronous to CLKOUT. Am186TMCC Communications Controller Data Sheet 17 Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) RES -- Type Description STI Reset requires the Am186CC controller to perform a reset. When RES is asserted, the controller immediately terminates its present activity, clears its internal logic, and on the deassertion of RES, transfers CPU control to the reset address FFFF0h. RES must be asserted for at least 1 ms to allow the internal circuits to stabilize. RES can be asserted asynchronously to CLKOUT because RES is synchronized internally. For proper initialization, VCC must be within specifications, and CLKOUT must be stable for more than four CLKOUT periods during which RES is asserted. If RES is asserted while the watchdog timer is performing a watchdog-timer reset, the external reset takes precedence over the watchdog-timer reset. This means that the RESOUT signal asserts as with any external reset and the WDTCON register will not have the RSTFLAG bit set. In addition, the controller will exit reset based on the external reset timing, i.e., 4.5 clocks after the deassertion of RES rather than 216 clocks after the watchdog timer timeout occurred. The Am186CC controller begins fetching instructions approximately 6.5 CLKOUT periods after RES is deasserted. This input is provided with a Schmitt trigger to facilitate power-on RES generation via an RC network. RESOUT -- O Reset Out indicates that the Am186CC controller is being reset (either externally or internally), and the signal can be used as a system reset to reset any external peripherals connected to RESOUT. During an external reset, RESOUT remains active (High) for two clocks after RES is deasserted. The controller exits reset and begins the first valid bus cycle approximately 4.5 clocks after RES is deasserted. [UCLK] [USBSOF] [USBSCI] PIO21 STI UART Clock can be used instead of the processor clock as the source clock for either the UART or the High-Speed UART. The source clock for the UART and the High-Speed UART are selected independently and both can use the same source. USBX1 -- STI USBX2 -- O USB Controller Crystal Input (USBX1) and USB Controller Crystal Output (USBX2) provide connections for a fundamental mode, parallel-resonant crystal used by the internal USB oscillator circuit. X1 -- STI X2 -- O If the CPU crystal is used to generate the USB clock, USBX1 must be pulled down. CPU Crystal Input (X1) and CPU Crystal Output (X2) provide connections for a fundamental mode, parallel-resonant crystal used by the internal oscillator circuit. If an external oscillator is used, inject the signal directly into X1 and leave X2 floating. PINSTRAPS (See Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10.) RESERVED RSVD_101 UTXDPLS -- RSVD_102 UTXDMNS -- RSVD_103 UXVOE -- RSVD_104 UXVRCV -- 18 RSVD_101-RSVD_104 are reserved unless pinstrap {USBXCVR} is sampled Low on the rising edge of RESET. When reserved, these pins should not be connected. Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description POWER AND GROUND VCC (15) -- STI Digital Power Supply pins supply power (+3.3 0.3 V) to the Am186CC controller logic. VCC _A (1) -- STI Analog Power Supply pin supplies power (+3.3 0.3 V) to the oscillators and PLLs. VCC _USB (1) -- STI USB Power Supply pin supplies power (+3.3 0.3 V) to the USB block. VSS (15) -- STI Digital Ground pins connect the Am186CC controller logic to the system ground. VSS _A (1) -- STI Analog Ground pin connects the oscillators and PLLs to the system ground. VSS _USB (1) -- STI USB Ground pin connects the USB block to the system ground. DEBUG SUPPORT QS1-QS0 -- O Queue Status 1-0 values provide information to the system concerning the interaction of the CPU and the instruction queue. The pins have the following meanings: Queue Status Pins QS1 QS0 Queue Operation 0 0 None 0 1 First opcode byte fetched from queue 1 0 Queue was initialized 1 1 Subsequent byte fetched from queue The following signals are also used by emulators: A19-A0, AD15-AD0, {ADEN}, ALE, ARDY, BHE, BSIZE8, CAS1-CAS0, CLKOUT, {CLKSEL2-CLKSEL1}, HLDA, HOLD, LCS, MCS3-MCS0, NMI, {ONCE}, QS1-QS0, RAS1-RAS0, RD, RES, RESOUT, S2-S0, S6, SRDY, UCS, {UCSX8}, VCC, WHB, WLB, WR. See the Am186TMCC/CH/CU Microcontrollers User's Manual, order #21914, for more information. CHIP SELECTS LCS [RAS0] O Lower Memory Chip Select indicates to the system that a memory access is in progress to the lower memory block. The base address and size of the lower memory block are programmable up to 512 Kbyte. LCS can be configured for 8bit or 16-bit bus size. LCS is three-stated with a pullup resistor during bus-hold or reset conditions. [MCS3] [RAS1] PIO5 O MCS2 [CAS0] MCS1 [CAS1] Midrange Memory Chip Selects 3-0 indicate to the system that a memory access is in progress to the corresponding region of the midrange memory block. The base address and size of the midrange memory block are programmable. The midrange chip selects can be configured for 8-bit or 16-bit bus size. The midrange chip selects are three-stated with pullup resistors during bus-hold or reset conditions. [MCS0] {UCSX8} PIO4 [MCS0] can be programmed as the chip select for the entire middle chip select address range. Unlike the UCS and LCS chip selects that operate relative to the earlier timing of the nonmultiplexed A address bus, the MCS outputs assert with the multiplexed AD address and data bus timing. Am186TMCC Communications Controller Data Sheet 19 Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) [PCS7] PIO31 [PCS6] PIO32 [PCS5] PIO2 Peripheral Chip Selects 7-0 indicate to the system that an access is in progress to the corresponding region of the peripheral address block (either I/O or memory address space). The base address of the peripheral address block is programmable. PCS7-PCS0 are three-stated with pullup resistors during bushold or reset conditions. [PCS4] PIO3 {CLKSEL2} Unlike the UCS and LCS chip selects that operate relative to the earlier timing of the nonmultiplexed A address bus, the PCS outputs assert with the multiplexed AD address and data bus timing. PCS3 -- PCS2 -- PCS1 [PIO14] {USBSEL2} PCS0 [PIO13] {USBSEL1} UCS {ONCE} Type Description O O Upper Memory Chip Select indicates to the system that a memory access is in progress to the upper memory block. The base address and size of the upper memory block are programmable up to 512 Kbytes. UCS is three-stated with a weak pullup during bus-hold or reset conditions. The UCS can be configured for an 8-bit or 16-bit bus size out of reset. For additional information, see the {UCSX8} pin description in Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. After reset, UCS is active for the 64-Kbyte memory range from F0000h to FFFFFh, including the reset address of FFFF0h. DRAM [CAS1] MCS1 [CAS0] MCS2 [RAS1] [RAS0] 20 O Column Address Strobes 1-0: When either the upper or lower chip select regions are configured for DRAM, these pins provide the column address strobe signals to the DRAM. The CAS signals can be used to perform byte writes in a manner similar to WHB and WLB, respectively (i.e., [CAS0] corresponds to the low byte (WLB) and [CAS1] corresponds to the high byte (WHB)). [MCS3] PIO5 O Row Address Strobe 1: When the upper chip select region is configured to DRAM, this pin provides the row address strobe signal to the upper DRAM bank. LCS O Row Address Strobe 0: When the lower chip select region is configured to DRAM, this pin provides the row address strobe signal to the lower DRAM bank. Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description INTERRUPTS NMI -- STI Nonmaskable Interrupt indicates to the Am186CC controller that an interrupt request has occurred. The NMI signal is the highest priority hardware interrupt and cannot be masked. The controller always transfers program execution to the location specified by the nonmaskable interrupt vector in the controller's interrupt vector table when NMI is asserted. Although NMI is the highest priority interrupt source, it does not participate in the priority resolution process of the maskable interrupts. There is no bit associated with NMI in the interrupt in-service or interrupt request registers. This means that a new NMI request can interrupt an executing NMI interrupt service routine. As with all hardware interrupts, the interrupt flag (IF) is cleared when the processor takes the interrupt, disabling the maskable interrupt sources. However, if maskable interrupts are re-enabled by software in the NMI interrupt service routine (for example, via the STI instruction), the fact that an NMI is currently in service does not have any effect on the priority resolution of maskable interrupt requests. For this reason, it is strongly advised that the interrupt service routine for NMI should not enable the maskable interrupts. An NMI transition from Low to High is latched and synchronized internally, and it initiates the interrupt at the next instruction boundary. To guarantee that the interrupt is recognized, the NMI pin must be asserted for at least one CLKOUT period. The board designer is responsible for properly terminating the NMI input. [INT8] [PWD] PIO6 STI [INT7] PIO7 STI [INT6] PIO19 STI INT5-INT0 -- STI Maskable Interrupt Requests 8-0 indicate to the Am186CC controller that an external interrupt request has occurred. If the individual pin is not masked, the controller transfers program execution to the location specified by the associated interrupt vector in the controller's interrupt vector table. Interrupt requests are synchronized internally and can be edge-triggered or level-triggered. The interrupt polarity is programmable. To guarantee interrupt recognition for edge-triggered interrupts, the user should hold the interrupt source for a minimum of five system clocks. A second interrupt from the same source is not recognized until after an acknowledge of the first. The board designer is responsible for properly terminating the INT8-INT0 inputs. Also configurable as interrupts are PIO5, PIO15, PIO27, PIO29, PIO30, PIO33, PIO34, and PIO35. (See the Am186TMCC/CH/CU Microcontrollers User's Manual, order #21914 for more information.) Am186TMCC Communications Controller Data Sheet 21 Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description PROGRAMMABLE I/O (PIOS) PIO47-PIO0 (For multiplexed signals see Table 29, "PIOs Sorted by PIO Number," on page A-8 and Table 30, "PIOs Sorted by Signal Name," on page A-9.) B Shared Programmable I/O pins can be programmed with the following attributes: PIO function (enabled/disabled), direction (input/output), and weak pullup or pulldown. After a reset, the PIO pins default to various configurations. The column entitled "Pin Configuration Following System Reset" in Table 29 on page A-8 and Table 30 on page A-9 lists the defaults for the PIOs. Most of the PIO pins are configured as PIO inputs with pullup after reset. See Table 35 on page A-12 for detailed termination information for all pins. The system initialization code must reconfigure any PIO pins as required. PIO5, PIO15, PIO27, PIO29, PIO30, and PIO33-PIO35 are capable of generating an interrupt on the shared interrupt channel 14. The multiplexed signals ALE, ARDY, BHE, DEN, DT/R, PCS1-PCS0, SRDY, and WR default to non-PIO operation at reset. The following PIO signals are multiplexed with alternate signals that can be used by emulators: PIO8, PIO15, PIO33, PIO34, and PIO35. Consider any emulator requirements for the alternate signals before using these pins as PIOs. PROGRAMMABLE TIMERS [PWD] [INT8] PIO6 STI Pulse-Width Demodulator: If pulse-width demodulation is enabled, [PWD] processes a signal through the Schmitt trigger input. [PWD] is used internally to drive [TMRIN0] and [INT8], and [PWD] is inverted internally to drive [TMRIN1] and an additional internal interrupt. If interrupts are enabled and Timer 0 and Timer 1 are properly configured, the pulse width of the alternating [PWD] signal can be calculated by comparing the values in Timer 0 and Timer 1. In PWD mode, the signals [TMRIN0]/PIO27 and [TMRIN1]/PIO0 can be used as PIOs. If they are not used as PIOs they are ignored internally. The additional internal interrupt used in PWD mode uses the same interrupt channel as [INT7]. If [INT7] is to be used, it must be assigned to the shared interrupt channel. [TMRIN1] PIO0 STI [TMRIN0] PIO27 STI Timer Inputs 1-0 supply a clock or control signal to the internal Am186CC controller timers. After internally synchronizing a Low-to-High transition on [TMRIN1]-[TMRIN0], the microcontroller increments the timer. [TMRIN1]- [TMRIN0] must be tied High if not being used. When PIO is enabled for one or both, the pin is pulled High internally. [TMRIN1]-[TMRIN0] are driven internally by [INT8]/[PWD] when pulse-width demodulation functionality is enabled. The [TMRIN1]-[TMRIN0] pins can be used as PIOs when pulse-width demodulation is enabled. [TMROUT1] PIO1 O [TMROUT0] PIO28 O Timer Outputs 1-0 supply the system with either a single pulse or a continuous waveform with a programmable duty cycle. [TMROUT1]-[TMROUT0] are threestated during bus-hold or reset conditions. ASYNCHRONOUS SERIAL PORTS (UART AND HIGH-SPEED UART) UART [RXD_U] DCE_RXD_D [PCM_RXD_D] PIO26 STI [TXD_U] [DCE_TXD_D] [PCM_TXD_D] PIO20 O 22 Receive Data UART is the asynchronous serial receive data signal that supplies data from the asynchronous serial port to the microcontroller. Transmit Data UART is the asynchronous serial transmit data signal that supplies data to the asynchronous serial port from the microcontroller Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description [CTS_U] [DCE_TCLK_D] [PCM_FSC_D] PIO24 STI Clear-To-Send UART provides the Clear-to-Send signal from the asynchronous serial port when hardware flow control is enabled for the port. The [CTS_U] signal gates the transmission of data from the serial port transmit shift register. When [CTS_U] is asserted, the transmitter begins transmission of a frame of data, if any is available. If [CTS_U] is deasserted, the transmitter holds the data in the serial port transmit shift register. The value of [CTS_U] is checked only at the beginning of the transmission of the frame. [CTS_U] and [RTR_U] form the hardware handshaking interface for the UART. [RTR_U] DCE_RCLK_D [PCM_CLK_D] PIO25 O Ready-To-Receive UART provides the Ready-to-Receive signal for the asynchronous serial port when hardware flow control is enabled for the port. The [RTR_U] signal is asserted when the associated serial port receive data register does not contain valid, unread data. [CTS_U] and [RTR_U] form the hardware handshaking interface for the UART. STI Receive Data High-Speed UART is the asynchronous serial receive data signal that supplies data from the high-speed serial port to the controller. O Transmit Data High-Speed UART is the asynchronous serial transmit data signal that supplies data to the high-speed serial port from the microcontroller. High-Speed UART [RXD_HU] PIO16 TXD_HU -- [CTS_HU] [DCE_CTS_D] [PCM_TSC_D] PIO46 STI Clear-To-Send High-Speed UART provides the Clear-to-Send signal from the high-speed asynchronous serial port when hardware flow control is enabled for the port. The [CTS_HU] signal gates the transmission of data from the serial port transmit shift register. When [CTS_HU] is asserted, the transmitter begins transmission of a frame of data, if any is available. If [CTS_HU] is deasserted, the transmitter holds the data in the serial port transmit shift register. The value of [CTS_HU] is checked only at the beginning of the transmission of the frame. [CTS_HU] and [RTR_HU] form the hardware handshaking interface for the HighSpeed UART. [RTR_HU] [DCE_RTR_D] PIO47 O Ready-To-Receive High-Speed UART provides the Ready-to-Receive signal to the high-speed asynchronous serial port when hardware flow control is enabled for the port. The [RTR_HU] signal is asserted when the associated serial port receive data register does not contain valid, unread data. [CTS_HU] and [RTR_HU] form the hardware handshaking interface for the High-Speed UART. SYNCHRONOUS SERIAL INTERFACE (SSI) [SCLK] PIO11 O Serial Clock provides the clock for the synchronous serial interface to allow synchronous transfers between the Am186CC controller and a slave device. [SDATA] PIO12 B Serial Data is used to transmit and receive data between the Am186CC controller and a slave device on the synchronous serial interface. [SDEN] PIO10 O Serial Data Enable enables data transfers on the synchronous serial interface. HIGH-LEVEL DATA LINK CONTROL SYNCHRONOUS COMMUNICATION INTERFACES HDLC Channel A (DCE) DCE_RXD_A [GCI_DD_A] [PCM_RXD_A] DCE_TXD_A [GCI_DU_A] [PCM_TXD_A] DCE_RCLK_A [GCI_DCL_A] [PCM_CLK_A] STI DCE Receive Data Channel A is the serial data input pin for the channel A DCE interface. OD-O DCE Transmit Data Channel A is the serial data output pin for the channel A DCE interface. STI DCE Receive Clock Channel A provides the receive clock to the channel A DCE interface. If the same clock is to be used for both transmit and receive, then this pin should be tied to the DCE_TCLK_A pin externally. The DCE function is the default at reset, so the board designer is responsible for properly terminating the DCE_RCLK_A input. Am186TMCC Communications Controller Data Sheet 23 Table 4. Signal Descriptions (Continued) Signal Name DCE_TCLK_A Multiplexed Signal(s) Type Description [GCI_FSC_A] [PCM_FSC_A] STI DCE Transmit Clock Channel A provides the transmit clock to the channel A DCE interface. If the same clock is to be used for both transmit and receive, then this pin should be tied to the DCE_RCLK_A pin externally. The DCE function is the default at reset, so the board designer is responsible for properly terminating the DCE_TCLK_A input. [DCE_CTS_A] [PCM_TSC_A] PIO17 [DCE_RTR_A] PIO18 STI DCE Clear To Send Channel A indicates to the channel A DCE interface that an external serial interface is ready to receive data. [DCE_CTS_A] and [DCE_RTR_A] provide the handshaking for DCE Channel A. O DCE Ready to Receive Channel A indicates to an external serial interface that the internal channel A DCE interface is ready to accept data. [DCE_CTS_A] and [DCE_RTR_A] provide the handshaking for the channel A DCE interface. HDLC Channel B (DCE) [DCE_RXD_B] [PCM_RXD_B] PIO36 STI DCE Receive Data Channel B is the serial data input pin for the channel B DCE interface. [DCE_TXD_B] [PCM_TXD_B] PIO37 OD-O DCE Transmit Data Channel B is the serial data output pin for the channel B DCE interface. [DCE_RCLK_B] [PCM_CLK_B] PIO40 STI DCE Receive Clock Channel B provides the receive clock to the channel B DCE interface. If the same clock is to be used for both transmit and receive, this pin should be tied to the [DCE_TCLK_B] pin externally. [DCE_TCLK_B] [PCM_FSC_B] PIO41 STI DCE Transmit Clock Channel B provides the transmit clock to the channel B DCE interface. If the same clock is to be used for both transmit and receive, this pin should be tied to the [DCE_RCLK_B] pin externally. [DCE_CTS_B] [PCM_TSC_B] PIO38 STI DCE Clear To Send Channel B indicates to the channel B DCE interface that an external serial interface is ready to receive data. [DCE_CTS_B] and [DCE_RTR_B] provide the handshaking for the channel B DCE interface. [DCE_RTR_B] PIO39 O DCE Ready to Receive Channel B indicates to an external serial interface that the internal channel B DCE interface is ready to accept data. [DCE_CTS_B] and [DCE_RTR_B] provide the handshaking for the channel B DCE interface. HDLC Channel C (DCE) [DCE_RXD_C] [PCM_RXD_C] PIO42 STI DCE Receive Data Channel C is the serial data input pin for the channel C DCE interface. [DCE_TXD_C] [PCM_TXD_C] PIO43 OD-O DCE Transmit Data Channel C is the serial data output pin for the channel C DCE interface. [DCE_RCLK_C] [PCM_CLK_C] PIO22 STI DCE Receive Clock Channel C provides the receive clock to the channel C DCE interface. If the same clock is to be used for both transmit and receive, this pin should be tied to the [DCE_TCLK_C] pin externally. [DCE_TCLK_C] [PCM_FSC_C] PIO23 STI DCE Transmit Clock Channel C provides the transmit clock to the channel C DCE interface. If the same clock is to be used for both transmit and receive, this pin should be tied to the [DCE_RCLK_C] pin externally. [DCE_CTS_C] [PCM_TSC_C] PIO44 STI DCE Clear To Send Channel C indicates to the channel C DCE interface that an external serial interface is ready to receive data. [DCE_CTS_C] and [DCE_RTR_C] provide the handshaking for the channel C DCE interface. [DCE_RTR_C] PIO45 O DCE Ready to Receive Channel C indicates to an external serial interface that the internal channel C DCE is ready to accept data. [DCE_CTS_C] and [DCE_RTR_C] provide the handshaking for the channel C DCE interface. STI DCE Receive Data Channel D is the serial data input pin for the channel D DCE interface. HDLC Channel D (DCE) DCE_RXD_D 24 [RXD_U] (UART) [PCM_RXD_D] PIO26 Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description [DCE_TXD_D] [TXD_U] (UART) [PCM_TXD_D] PIO20 OD-O DCE Transmit Data Channel D is the serial data output pin for the channel D DCE interface. DCE_RCLK_D [RTR_U] (UART) [PCM_CLK_D] PIO25 STI DCE Receive Clock Channel D provides the receive clock to the channel D DCE interface. If the same clock is to be used for both transmit and receive, then this pin should be tied to the [DCE_TCLK_D] pin externally. [DCE_TCLK_D] [CTS_U] (UART) [PCM_FSC_D] PIO24 STI DCE Transmit Clock Channel D provides the transmit clock to the channel D DCE interface. If the same clock is to be used for both transmit and receive, then this pin should be tied to the DCE_RCLK_D pin externally. [DCE_CTS_D] [CTS_HU] (HighSpeed UART) [PCM_TSC_D] PIO46 STI DCE Clear To Send Channel D indicates to the channel D DCE interface that an external serial interface is ready to receive data. [DCE_CTS_D] and [DCE_RTR_D] provide the handshaking for DCE Channel D. [DCE_RTR_D] [RTR_HU] (HighSpeed UART) PIO47 O DCE Ready To Receive Channel D indicates to an external serial interface that the internal channel D DCE interface is ready to accept data. [DCE_CTS_D] and [DCE_RTR_D] provide the handshaking for the channel D DCE interface. HDLC Channel A (PCM) [PCM_RXD_A] DCE_RXD_A [GCI_DD_A] STI PCM Receive Data Channel A is the serial data input pin for the channel A PCM Highway interface. [PCM_TXD_A] DCE_TXD_A [GCI_DU_A] O-LSOD PCM Transmit Data Channel A is the serial data output pin for the channel A PCM Highway interface. [PCM_CLK_A] DCE_RCLK_A [GCI_DCL_A] STI PCM Clock is the single transmit and receive data clock pin for the channel A PCM Highway interface. [PCM_FSC_A] DCE_TCLK_A [GCI_FSC_A] STI PCM Frame Synchronization Clock provides the Frame Synchronization Clock input (usually 8 kHz) for the channel A PCM Highway interface. [PCM_TSC_A] [DCE_CTS_A] PIO17 OD PCM Time Slot Control A enables an external buffer device when channel A PCM Highway data is present on the [PCM_TXD_A] output pin in PCM Highway mode. HDLC Channel B (PCM) [PCM_RXD_B] [DCE_RXD_B] PIO36 STI PCM Receive Data Channel B is the serial data input pin for the channel B PCM Highway interface. [PCM_TXD_B] [DCE_TXD_B] PIO37 O-LSOD PCM Transmit Data Channel B is the serial data output pin for the channel B PCM Highway interface. [PCM_CLK_B] [DCE_RCLK_B] PIO40 STI PCM Clock is the single transmit and receive data clock pin for the channel B PCM Highway interface. [PCM_FSC_B] [DCE_TCLK_B] PIO41 STI PCM Frame Synchronization Clock provides the Frame Synchronization Clock input (usually 8 kHz) for the channel B PCM Highway interface. [PCM_TSC_B] [DCE_CTS_B] PIO38 OD PCM Time Slot Control B enables an external buffer device when channel B PCM Highway data is present on the [PCM_TXD_B] output pin in PCM Highway mode. HDLC Channel C (PCM) [PCM_RXD_C] [DCE_RXD_C] PIO42 STI PCM Receive Data Channel C is the serial data input pin for the channel C PCM Highway interface. [PCM_TXD_C] [DCE_TXD_C] PIO43 O-LSOD PCM Transmit Data Channel C is the serial data output pin for the channel C PCM Highway interface. [PCM_CLK_C] [DCE_RCLK_C] PIO22 STIO PCM Clock: For PCM Highway operation, [PCM_CLK_C] is the single transmit and receive data clock input pin for the channel C PCM Highway interface. [PCM_CLK_C] becomes a clock source output when the GCI to PCM Highway clock and frame synchronization conversion are enabled. Am186TMCC Communications Controller Data Sheet 25 Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description [PCM_FSC_C] [DCE_TCLK_C] PIO23 B PCM Frame Synchronization Clock: For PCM Highway operation, [PCM_FSC_C] provides the Frame Synchronization Clock input (usually 8 kHz) for the channel C PCM Highway interface. [PCM_FSC_C] becomes a frame synchronization source output when the GCI to PCM Highway clock and frame synchronization conversion are enabled. [PCM_TSC_C] [DCE_CTS_C] PIO44 OD PCM Time Slot Control C enables an external buffer device when channel C PCM Highway data is present on the [PCM_TXD_C] output pin in PCM Highway mode. HDLC Channel D (PCM) [PCM_RXD_D] [RXD_U] (UART) DCE_RXD_D PIO26 STI PCM Receive Data Channel D is the serial data input pin for the channel D PCM Highway interface. [PCM_TXD_D] [TXD_U] (UART) [DCE_TXD_D] PIO20 O-LSOD PCM Transmit Data Channel D is the serial data output pin for the channel D PCM Highway interface. [PCM_CLK_D] [RTR_U] (UART) DCE_RCLK_D PIO25 STI PCM Clock is the single transmit and receive data clock pin for the channel D PCM Highway interface. [PCM_FSC_D] [CTS_U] (UART) [DCE_TCLK_D] PIO24 STI PCM Frame Synchronization Clock provides the Frame Synchronization Clock input (usually 8 kHz) for the channel D PCM Highway interface. [PCM_TSC_D] [CTS_HU] (HighSpeed UART) [DCE_CTS_D] PIO46 OD PCM Time Slot Control D enables an external buffer device when channel D PCM Highway data is present on the [PCM_TXD_D] output pin in PCM Highway mode. HDLC Channel A (GCI) [GCI_DD_A] DCE_RXD_A [PCM_RXD_A] BOD GCI Data Downstream is the serial data input pin for the channel A GCI interface. [GCI_DU_A] DCE_TXD_A [PCM_TXD_A] BOD GCI Data Upstream is the serial data output pin for the channel A GCI interface. [GCI_DCL_A] DCE_RCLK_A [PCM_CLK_A] STI GCI Data Clock is the single transmit and receive channel A GCI data clock input generated by an upstream device. The data clock frequency must be twice the data rate. [GCI_FSC_A] DCE_TCLK_A [PCM_FSC_A] STI GCI Frame Synchronization Clock provides the 8-kHz Frame Synchronization Clock input for the channel A GCI interface generated by an upstream device. USB External Transceiver Gated Differential Plus and USB External Transceiver Gated Differential Minus are inputs from the external USB transceiver used to detect single-ended zero and error conditions. The signals have the following meanings: UNIVERSAL SERIAL BUS [UDMNS] USBD- STI [UDPLS] USBD+ STI USB External Transceiver Signals USBD+ [UDPLS] B USBD- [UDMNS] B 26 UDPLS UDMNS Status 0 0 Single-Ended Zero (SE0) 0 1 Full speed 1 0 Reserved 1 1 Error USB Differential Plus and USB Differential Minus form the bidirectional electrical data interface for the USB port. The pins form a differential pair that can be connected to a physical USB connector without an external transceiver. Am186TMCC Communications Controller Data Sheet Table 4. Signal Descriptions (Continued) Signal Name Multiplexed Signal(s) Type Description [USBSCI] [UCLK] [USBSOF] PIO21 STI USB Sample Clock Input is used to synchronize an external clock to the internal USB peripheral controller for isochronous transfers. [USBSOF] [UCLK] [USBSCI] PIO21 O USB Start of Frame is a 1-kHz frame pulse used to synchronize USB isochronous transfers to an external device on a frame-by-frame basis. UTXDMNS RSVD_102 O USB External Transceiver Differential Minus is an output that drives the external transceiver differential driver minus input. UTXDPLS RSVD_101 O USB External Transceiver Differential Plus is an output that drives the external transceiver differential driver plus input. UXVOE RSVD_103 O USB External Transceiver Transmit Output Enable is an output that enables the external transceiver. UXVOE signals the external transceiver that USB data is being output by the Am186CC USB controller. When Low, this pin enables the transceiver output; when High, this pin enables the receiver. UXVRCV RSVD_104 STI USB External Transceiver Differential Receiver is a data input received from the external transceiver differential receiver. Am186TMCC Communications Controller Data Sheet 27 ARCHITECTURAL OVERVIEW The architectural goal of the Am186CC microcontroller is to provide comprehensive communications features on a processor r unning the widely known x86 instr uction set. The Am186CC microcontroller combines four HDLC channels, a USB peripheral controller, and general communications peripherals with the Am186 microcontroller. This highly integrated microcontroller provides system cost and performance advantages for a wide range of communications applications. Figure 1 is a block diagram of the Am186CC microcontroller, followed by sections providing an overview of the features of the Am186CC microcontroller. Serial Communications Peripherals Am186 CPU Chip Selects (14) PIOs (48) Watchdog Timer Interrupt Controller (17 Ext. Sources) UART High-Speed UART with Autobaud USB Synchronous Serial Interface (SSI) Physical Interface Glueless Interface to RAM/ROM DRAM Controller Memory Peripherals Timers (3) GeneralPurpose DMA (4) SmartDMA Channels (8) HDLC TSA HDLC TSA System Peripherals Raw DCE Muxing HDLC TSA HDLC TSA PCM Highway GCI (IOM-2) Figure 1. Am186CC Controller Block Diagram Detailed Description n Universal Serial Bus (USB) peripheral controller works with a wide variety of USB devices - Implements high-speed 12-Mbit/s device function - Allows an unlimited number of device descriptors - Supports a total of six endpoints: one control endpoint; one interrupt endpoint; four data endpoints that can be either bulk or isochronous, IN or OUT - Two data endpoints have 16-byte FIFOs; two data endpoints have 64-byte FIFOs - Fully integrated differential driver directly supports the USB interface (D+, D-) - Specialized hardware supports adaptive isochronous data streams - General-purpose DMA and SmartDMATM channels supported n Four independent High-level Data Link Control (HDLC) channels support a wide range of external interfaces - External interface connection for HDLCs can be PCM Highway, GCI, or raw DCE 28 - Data rate of up to 10 Mbit/s - Receive and transmit FIFOs - Support for HDLC, Synchronous Data Link Control (SDLC), Line Access Procedure Balanced (LAP-B), Line Access Procedure D (LAP-D), Point-to-Point Protocol (PPP), and v.120 (support of v.110 in transparent mode) - Two dedicated buffer descriptor ring SmartDMA channels per HDLC - One independent time-slot assigner per HDLC - Clear to Send/Ready to Receive (CTS/RTR) hardware handshaking and auto-enable operation - Collision detection for multidrop applications - Transparency mode - Address comparison on receive - Flag or mark idle operation Am186TMCC Communications Controller Data Sheet n Four independent Time Slot Assigners (TSAs) provide flexible time slot allocation - Allows isolation of Time Division Multiplexed (TDM) time slot of choice from a variety of TDM carriers - Up to 4096 sequential bits isolated - TDM bus can have up to 512 8-bit time slots - Start bit and stop bit times identify isolated portion of TDM frame - 12-bit counters define the start/stop bit times as the number of bits after frame synchronization - Entire frame down to 1 bit per frame can be isolated n 12 Direct Memory Access (DMA) channels - Eight buffer descriptor ring SmartDMA channels for the four HDLC channels and, optionally, USB bulk and isochronous endpoints - Four general-purpose DMAs support the two integrated asynchronous serial ports and/or USB endpoints. Two DMA channels have external DMA request inputs n High-speed asynchronous serial interface provides enhanced UART functions - Capable of sustained operation at 460 Kbaud - 7-, 8-, or 9-bit data transfers - FIFOs to support high-speed operation - DMA support available - Automatic baud rate detection that allows emulation of a Hayes AT-compatible modem - Independent baud generator with clock input source programmable to use CPU or external clock input pin n Asynchronous serial interface (UART) - 7-, 8-, or 9-bit data transfers - DMA support available Am186 Embedded CPU All members of the Am186 family, including the Am186CC microcontroller, are compatible with the original industry-standard 186 parts, and build on the same core set of 186 registers, I/O space, address generation, instruction set, segments, data types, and addressing modes. Memory Organization Memory is organized in sets of segments. Each segment is a linear contiguous sequence of 64K (216) 8-bit bytes. Memor y is addressed using a twocomponent address consisting of a 16-bit segment value and a 16-bit offset. The 16-bit segment values are contained in one of four internal segment registers (CS, DS, SS, or ES). The physical address is calculated by shifting the segment value left by 4 bits - Independent baud generator with clock input source programmable to use CPU or external clock input pin n General Circuit Interface (GCI) provides IOM-2 Terminal Mode connection - Glueless connection between the Am186CC microcontroller and GCI-based ISDN transceiver devices, such as the Am79C30/Am79C32 - - - - Four-pin GCI connection Terminal mode operation Slave mode with pin reversal Telecom IC (TIC) bus support for D channel arbitration and collision detection - Support for one Monitor and two Command/ Indicate channels - Clock and Frame Sync conversion for PCM Highway coder-decoders (codecs) n Synchronous Serial Interface (SSI) provides half-duplex, bidirectional interface to highspeed peripherals - Useful with many telecommunication interface peripherals such as codecs, line interface units, and tranceivers - Selectable device-select polarity - Selectable bit shift order on transmit and receive - Glueless connection to AMD Subscriber Line Audio Processing Circuit (SLACTM) devices n Clocking options offer high flexibility - Separate crystal oscillator inputs for system and USB clock sources - CPU can run in 1x, 2x, or 4x mode - USB can run in 2x or 4x mode - USB can run from system clock if running at 48 MHz, allowing entire system to run from one 12-MHz or 24-MHz crystal and adding the 16-bit offset value to yield a 20-bit physical address (see Figure 2 on page 30). This allows for a 1-Mbyte physical address size. All instructions that address operands in memory must specify the segment value and the 16-bit offset value. For speed and compact instruction encoding, the segment register used for physical address generation is implied by the addressing mode used (see Table 5 on page 30). I/O Space The I/O space consists of 64K 8-bit or 32K 16-bit ports. Separate instructions (IN, INS and OUT, OUTS) address the I/O space with either an 8-bit port address specified in the instruction, or a 16-bit port address in the DX register. Eight-bit port addresses are zeroextended such that A15-A8 are Low. Am186TMCC Communications Controller Data Sheet 29 15 Shift Left 4 Bits 1 0 2 A 15 0 19 1 2 A 4 0 0 2 2 Offset Logical Address 0 0 0 0 2 19 1 Segment Base 0 15 0 4 2 0 2 A 6 2 Physical Address To Memory Figure 2. Two-Component Address Example Table 5. Segment Register Selection Rules Memory Reference Needed Instructions Local Data Stack External Data (Global) Segment Register Used Implicit Segment Selection Rule Code (CS) Instructions (including immediate data) Data (DS) All data references All stack pushes and pops; Stack (SS) any memory references that use the BP register Extra (ES) All string instruction references that use the DI register as an index Serial Communications Support The Am186CC microcontroller supports eight serial interfaces. This includes four HDLC channels, a USB peripheral controller, two UARTs, and a synchronous serial interface. USB peripheral functions in a device that also contains separate USB hub circuitry. Universal Serial Bus n An unlimited number of device descriptors The Am186CC microcontroller includes a highly flexible integrated USB peripheral controller that lets designers implement a variety of microcontroller-based USB peripheral devices for telephony, audio, and other high-end applications. This integrated USB peripheral controller can provide a significant system-cost reduction compared to other platforms that require a separate USB controller. The Am186CC microcontroller can be used in selfpowered USB peripherals that use the full-speed signalling rate of 12 Mbit/s. The USB low-speed rate (1.5 Mbit/s) is not supported. An integrated USB transceiver is provided to minimize system device count and cost, but an external transceiver can be used instead, if necessary. The USB controller does not support USB host or hub functions. However, the Am186CC microcontroller can be used to implement 30 In addition, the Am186CC USB controller supports the following: n A total of 6 endpoints: 1 control endpoint, 1 interrupt endpoint, and 4 data endpoints that can be configured as control, interrupt, bulk, or isochronous. The interrupt, bulk, and isochronous endpoints can be configured for the IN or OUT direction. n Two data endpoints have 16-byte FIFOs; two data endpoints have 64-byte FIFOs n Fully integrated differential driver, which supports the USB interface directly n Specialized hardware, which supports adaptive isochronous data streams and automatically synchronizes with HDLC data streams n General-purpose DMA and SmartDMA channels Am186TMCC Communications Controller Data Sheet Four HDLC Channels and Four TSAs The Am186CC microcontroller provides four HDLC channels that support the HDLC, SDLC, LAP-B, LAP-D, PPP, and v.120 protocols. The HDLC channels can also be used in transparent mode to support v.110. Each HDLC channel can connect to an external serial interface directly (nonmultiplexed mode), or can pass through a TSA (multiplexed mode). The flexible interface multiplexing arrangement allows each HDLC channel to have its own external raw DCE or PCM highway interface, share the GCI interface with up to two other channels, share a common PCM highway or other time TDM bus with three or more channels, or work in some combination. Each HDLC channel's independent TSA allows it to extract a subset of data from a TDM bus. The entire frame, or as little as 1 bit per frame, can be extracted. Twelve-bit counters define the start/stop bit times as the number of bits after frame synchronization. The time slot can be an arbitrary number of bits up to 4096 bits. Start bit and stop bit times identify the isolated portion of the TDM frame. Support of less than eight bits per time slot, or bit slotting, allows isolation of from one to eight bits in a single time slot, providing a convenient way to work with D-channel data. Each TDM bus can have up to 512 8-bit time slots. Support of these features allows interoperation with PCM highway, E1, IOM-2, T1, and other TDM buses. The HDLC channels have features that make the Am186CC microcontroller an attractive device for use where general HDLC capability is required. These features include CTS/RTR hardware handshaking and auto-enable operation, collision detection for multidrop applications, transparency mode, address comparison on receive, flag or mark idle operation, two dedicated buffer descriptor ring SmartDMA channels per HDLC, transmit and receive FIFOs, and full-duplex data transfer. Each TSA channel can support a burst data rate to/from the HDLC of up to 10 Mbit/s in both raw DCE and PCM Highway modes, and up to 768 Kbit/s in GCI mode. Total system data throughput is highly dependent on the amount of per-packet and per-byte CPU processing, the rate at which packets are being sent, and other CPU activity. When combined with the TSAs, the HDLC channels can be used in a wide variety of applications such as ISDN basic rate interface (BRI) and primary rate interface (PRI) B and D channels, PCM highway, X.25, Frame Relay, and other proprietary Wide Area Network (WAN) connections. General Circuit Interface The General Circuit Interface (GCI) is an interface specification developed jointly by Alcatel, Italtel, GPT, and Siemens. This specification defines an industry- standard ser ial bus for interconnecting telecommunications integrated circuits. The standard covers linecard, NT1, and terminal architectures for ISDN applications. The Am186CC microcontroller supports the terminal version of GCI. The Am186CC GCI interface provides a glueless connection between the Am186CC microcontroller and GCI/IOM-2 based ISDN transceiver devices, such as the AMD Am79C30 or Am79C32. The Am186CC microcontroller GCI interface provides a 4-pin connection to the transceiver device. The Am186CC microcontroller also allows conversion of the GCI clock and frame synchronization into a format usable by PCM codecs, allowing PCM codecs to be used directly with GCI/IOM-2 transceivers. Additional GCI features include slave mode with pin reversal, Terminal Interchip Communication (TIC) bus support for D channel arbitration and collision detection, and support for one Monitor and two Command/Indicate channels. Eight SmartDMATM Channels The Am186CC microcontroller provides a total of 12 DMA channels. Eight of these channels are SmartDMA channels, which provide a method for transmission and reception of data across multiple memory buffers and a sophisticated buffer-chaining mechanism. These channels are always used in pairs: transmitter and receiver. The transmit channels can only transfer data from memory to a peripheral; the receive channels can only transfer data from a peripheral to memory. Four of the channels (two pairs) are dedicated for use with two of the on-board HDLC channels. The remaining four SmartDMA channels (two pairs) can support either the third or fourth HDLC channel or USB endpoints A, B, C, or D. In addition to the eight SmartDMA channels, the Am186CC microcontroller provides four generalpurpose DMA channels. For more information about the four general-purpose DMA channels, refer to "Four General-Purpose DMA Channels" on page 32. Two Asynchronous Serial Ports The Am186CC microcontroller has two asynchronous serial ports (a UART and a High-Speed UART) that provide full-duplex, bidirectional data transfer at speeds of up to 115.2 Kbit/s or up to 460 Kbit/s, respectively. The High-Speed UART has 16-byte transmit and 32-byte receive FIFOs, special-character matching, and automatic baud-rate detection, which is suitable for implementation of a Hayes-compatible modem interface to a host PC. A lower speed UART is also available that is typically used for a low baud-rate system configuration port or debug port. Each of these UARTs can derive its baud rate from the system clock or from a separate baud-rate generator clock input. Both UARTs support 7-, 8-, or 9-bit data transfers; Am186TMCC Communications Controller Data Sheet 31 address bit generation and detection in 7- or 8-bit frames; one or two stop bits; even, odd, or not parity; break generation and detection; hardware flow control; and DMA to and/or from the serial ports using the general-purpose DMA channels. Synchronous Serial Port The Am186CC microcontroller includes one SSI, which provides a half-duplex, bidirectional, communications interface between the Am186CC microcontroller and other system components. This interface is typically used by the Am186CC microcontroller to monitor the status of other system devices and/or to configure these devices under software control. In a communications application, these devices could be system components such as audio codecs, line interface units, and transceivers. The SSI supports data transfer speeds of up to 25 Mbit/s with a 50-MHz system clock. The Am186CC SSI port operates as an interface master, with the other attached devices acting as slave d ev i c e s . U s i n g t h i s p r o t o c o l , t h e A m 1 8 6 C C microcontroller sends a command byte to the attached device, and then follows that with either a read or write of a byte of data. The SSI port consists of three I/O pins: an enable (SDEN), a clock (SCLK), and a bidirectional data pin (SDATA). SDEN can be used directly as an enable for a single attached device. When more than one device requires control via the SSI, PIOs can be used to provide enable pins for those devices. The Am186CC SSI is, in general, software compatible with software written for the Am186EM SSI. (Additional features have been added to the Am186CC SSI implementation.) In addition, the Am186CC microcontroller features the additional capability of selecting the polarity of the SCLK and SDEN pins, as well as the shift order of bits on the SDATA pin (leastsignificant-bit first versus most-significant-bit first). The Am186CC SSI port also offers a programmable clock divisor (dividing the clock from 2 to 256 in power of 2 increments), a bidirectional transmit/receive shift register, and direct connection to AMD SLAC devices. System Peripherals Interrupt Controller The Am186CC microcontroller features an interrupt controller, which arranges the 36 maskable interrupt requests by priority and presents them one at a time to the CPU. In addition to interrupts managed by the interrupt controller, the Am186CC microcontroller supports eight nonmaskable interrupts--an external or internal nonmaskable interrupt (NMI), a trace interrupt, and software interrupts and exceptions. 32 The Am186CC interrupt controller suppor ts 36 maskable interrupt sources through the use of 15 channels. Because of this, most channels support multiple interrupt sources. These channels are programmable to support the external interrupt pins and/ or various peripheral devices that can be configured to generate interrupts. The 36 maskable interrupt sources include 19 internal sources and 17 external sources. Four General-Purpose DMA Channels The Am186CC microcontroller provides a total of 12 DMA channels. Four of the channels are general purpose and can be used for data transfer between memory and I/O spaces (i.e., memory-to-I/O or I/O-tomemory) or within the same space (i.e., memory-tomemory or I/O-to-I/O). In addition, the Am186CC microcontroller suppor ts data transfer between peripherals and memory or I/O. On-chip peripherals that support general-purpose DMA are Timer 2, the two asynchronous serial ports (UART and High-Speed UART), and the USB controller. External peripherals support DMA transfers through the external DMA request pins. Each general-purpose channel can accept synchronized DMA requests from one of four sources: the DMA request pins (DRQ1-DRQ0), Timer 2, the UARTs, or the USB controller. In addition to the four general-pur pose channels, the Am186CC microcontroller provides eight SmartDMA channels. For more information about the eight SmartDMA channels, refer to "Eight SmartDMATM Channels" on page 31. 48 Programmable I/O Signals The Am186CC microcontroller provides 48 userprogrammable input/output signals (PIOs). Each of these signals shares a pin with at least one alternate function. If an application does not need the alternate func tion, the as soc iate d PIO c an be us ed by programming the PIO registers. If a pin is enabled to function as a PIO signal, the alternate function is disabled and does not affect the pin. A PIO signal can be configured to operate as an input or output, with or without internal pullup or pulldown resistors (pullup or pulldown depends on the pin configuration and is not user-configurable), or as an open-drain output. Additionally, eight PIOs can be configured as external interrupt sources. Three Programmable Timers There are three 16-bit programmable timers in the Am186CC microcontroller. Timers 0 and 1 are highly versatile and are each connected to two external pins (each one has an input and an output). These two timers can be used to count or time external events that drive the timer input pins. Timers 0 and 1 can also be used to generate nonrepetitive or variable-duty-cycle waveforms on the timer output pins. Am186TMCC Communications Controller Data Sheet Timer 2 is not connected to any external pins. It can be used by software to generate interrupts, or it can be polled for real-time coding and time-delay applications. Timer 2 can also be used as a prescaler to Timer 0 and Timer 1, or as a DMA request source. The source clock for Timer 2 is one-fourth of the system clock frequency. The source clock for Timers 0 and 1 can be configured to be one-fourth of the system clock, or they can be driven from their respective timer input pins. When driven from a timer input pin, the timer is counting the "event" of an input transition. The Am186CC microcontroller also provides a pulse width demodulation (PWD) option so that a toggling input signal's Low state and High state durations can be measured. Hardware Watchdog Timer The Am186CC microcontroller provides a full-featured watchdog timer, which includes the ability to generate Non-Maskable Interrupts (NMIs), microcontroller resets, and system resets when the timeout value is reached. The timeout value is programmable and ranges from 210 to 226 processor clocks. The watchdog timer is used to regain control when a system has failed due to a software error or to failure of an external device to respond in the expected way. Software errors can sometimes be resolved by recapturing control of the execution sequence via a watchdog-timer-generated NMI. When an external device fails to respond, or responds incorrectly, it may be necessary to reset the controller or the entire system, including external devices. The Am186CC watchdog timer provides the flexibility to support both NMI and reset generation. Memory and Peripheral Interface System Interfaces The Am186CC bus interface controls all accesses to the peripheral control block (PCB), memory-mapped and I/O-mapped external peripherals, and memory devices. Internal peripherals are accessed by the bus interface through the PCB. The Am186CC bus interface features programmable bus sizing; individually selectable chip selects for the upper (UCS) memory space, lower (LCS) memory space, all non-UCS, non-LCS and I/O memory spaces; separate byte-write enables; and boot option from an 8or 16-bit device. The integrated peripherals are controlled by 16-bit read/write registers. The peripheral registers are contained within an internal 1-Kbyte control block. At reset, the base of the PCB is set to FC00h in I/O space. The registers are physically located in the peripheral devices they control, but they are addressed as a single 1-Kbyte block. For registers, refer to the Am186TMCC/ CH/CU Microcontrollers Register Set Manual (order #21916). Accesses to the PCB should be performed by direct processor actions. The use of DMA to write or read from the PCB results in unpredictable behavior, except where explicit exception is made to suppor t a peripheral function, such as the High-Speed UART transmit and receive data registers. The 80C186 and 80C188 microcontrollers use a multiplexed address and data (AD) bus. The address is present on the AD bus only during the t1 clock phase. The Am186CC microcontroller continues to provide the multiplexed AD bus and, in addition, provide a nonmultiplexed address (A) bus. The A bus provides an address to the system for the complete bus cycle (t1- t4). During refresh cycles, the AD bus is driven during the t1 phase and the values are unknown during the t2, t3, and t4 phases. The value driven on the A bus is undefined during a refresh cycle. The nonmultiplexed address bus (A19-A0) is valid onehalf CLKOUT cycle in advance of the address on the AD bus. When used with the modified UCS and LCS outputs and the byte write enable signals, the A19-A0 bus provides a seamless interface to SRAM, DRAM, and Flash/EPROM memory systems. For systems where power consumption is a concern, it is possible to disable the address from being driven on the AD bus on the Am186CC microcontroller during the normal address portion of the bus cycle for accesses to upper (UCS) and/or lower (LCS) address spaces. In this mode, the affected bus is placed in a highimpedance state during the address portion of the bus cycle. This feature is enabled through the DA bits in the Upper Memor y Chip Select (UMCS) and Lower Memory Chip Select (LMCS) registers. When address disable is in effect, the number of signals that assert on the bus during all normal bus cycles to the associated address space is reduced, thus decreasing power consumption, reducing processor switching noise, and preventing bus contention with memory devices and peripherals when operating at high clock rates. If the ADEN pin is asserted during processor reset, the value of the DA bits in the UMCS and LMCS registers is ignored and the address is driven on the AD bus for all accesses, thus preserving the industry-standard 80C186 and 80C188 microcontrollers' multiplexed address bus and providing support for existing emulation tools. For r e g i s t e r s, r e f e r t o t h e A m 1 8 6 TM C C /C H / C U Microcontrollers Register Set Manual (order #21916). Figure 3 on page 35 shows the affected signals during a normal read or write operation. The address and data are multiplexed onto the AD bus. Am186TMCC Communications Controller Data Sheet 33 Figure 4 on page 36 shows a bus cycle when address bus disable is in effect, which causes the AD bus to operate in a nonmultiplexed data-only mode. The A bus has the address during a read or write operation. Bus Interface Unit The bus interface unit controls all accesses to external peripherals and memory devices. External accesses include those to memory devices, as well as those to memorymapped and I/O-mapped peripherals and the peripheral control block. The Am186CC microcontroller provides an enhanced bus interface unit with the following features: n Nonmultiplexed address bus n Separate byte write enables for high and low bytes n Output enable Mode DRAM, Asymmetrical DRAM, and 8-bit wide DRAM are not suppor ted. The Am186CC microcontroller includes a glueless DRAM interface providing zero-wait state operation at up to 50 MHz with 40-ns DRAM. This allows designs requiring larger amounts of memory to save system cost over SRAM designs by taking advantage of low DRAM memory costs. The DRAM interface uses various chip select pins to implement the RAS/CAS interface required by DRAMs. The Am186CC DRAM controller drives the RAS/CAS interface appropriately during both normal memory accesses and during refresh. All signals required are generated by the Am186CC microcontroller and no external logic is required. The standard 80C186/80C188 multiplexed address and data bus requires system interface logic and an external address latch. On the Am186CC microcontroller, byte write enables and a nonmultiplexed address bus can reduce design costs by eliminating this external logic. The DRAM multiplexed address pins are connected to the Am186CC microcontroller's odd address pins, starting with A1 on the Am186CC microcontroller connecting to MA0 on the DRAM. The correct row and column addresses are generated on these odd address pins during a DRAM access. Nonmultiplexed Address Bus The RAS pins are multiplexed with LCS and MCS3, allowing a DRAM bank to be present in either high or low memory space. The MCS2 and MCS1 function as the upper and lower CAS pins, respectively, and define which byte of data in a 16-bit DRAM is being accessed. The nonmultiplexed address bus (A19-A0) is valid onehalf CLKOUT cycle in advance of the address on the AD bus. When used in conjunction with the modified UCS and LCS outputs and the byte write enable signals, the A19-A0 bus provides a seamless interface to exter nal SRAM, and Flash memor y/EPROM systems. Byte Write Enables The Am186CC microcontroller provides the WHB (Write High Byte) and WLB (Write Low Byte) signals that act as byte write enables. WHB is the logical OR of BHE and WR. WHB is Low when both BHE and WR are Low. WLB is the logical OR of A0 and WR. WLB is Low when A0 and WR are both Low. T h e b y t e w r i t e e n a b l e s a r e d r i ve n w i t h t h e nonmultiplexed address bus as required for the write timing requirements of common SRAMs. Output Enable The Am186CC microcontroller provides the RD (Read) signal which acts as an output enable for memory or peripheral devices. The RD signal is Low when a word or byte is read by the Am186CC microcontroller. DRAM Support To support DRAM, the Am186CC microcontroller has a fully integrated DRAM controller that provides a glueless interface to 25-70-ns Extended Data Out (EDO) DRAM. (EDO DRAM is sometimes called Hyper-Page Mode DRAM.) Up to two banks of 4-Mbit (256 Kbit x 16 bit) DRAM can be accessed. Page Mode DRAM, Fast Page 34 The Am186CC microcontroller supports the most common DRAM refresh option, CAS-Before-RAS. All refresh cycles contain three wait states to support the DRAMs at various frequencies. The DRAM controller never performs a burst access. All accesses are single accesses to DRAM. If the PCS chip selects are decoded to be in the DRAM address range, PCS accesses take precedence over the DRAM. Chip Selects The Am186CC microcontroller provides six chip select outputs for use with memory devices and eight more for use with peripherals in either memory or I/O space. The six memory chip selects can be used to address three memory ranges. Each peripheral chip select addresses a 256-byte block offset from a programmable base address. The Am186CC microcontroller can be programmed to sense a ready signal for each of the peripheral or memory chip select lines. A bit in each chip select control register determines whether the external ready signal is required or ignored. The chip selects can control the number of wait states inserted in the bus cycle. Although most memory and peripheral devices can be accessed with three or less wait states, some slower devices cannot. This feature allows devices to use wait states to slow down the bus. Am186TMCC Communications Controller Data Sheet The chip select lines are active for all memory and I/O cycles in their programmed areas, whether they are generated by the CPU or by the integrated DMA unit. General enhancements over the original 80C186 include bus mastering (three-state) support for all chip selects and activation only when the associated register is written, not when it is read. t1 Clock Control The processor supports clock rates from 16 to 50 MHz using an integrated cr ystal oscillator and PLL. Commercial and industrial temperature ratings are available. Separate cr ystal oscillator inputs are provided for the USB and CPU. Flexibility is provided to run the entire device from a 12-, or 24-MHz crystal when the USB is in use. The CPU can run in 1x, 2x, or 4x mode; USB can run in 2x or 4x mode. t2 Address Phase t3 t4 Data Phase CLKOUT A19-A0 Address AD15-AD0 (Read) Address AD15-AD0 (Write) Address Data Data LCS or UCS MCSx, PCSx Figure 3. Am186CC Controller Address Bus -- Default Operation Am186TMCC Communications Controller Data Sheet 35 t1 Address Phase t2 t3 Data Phase t4 CLKOUT A19-A0 Address AD7-AD0 (Read) Data AD15-AD8 (Read) Data AD15-AD0 (Write) Data LCS or UCS Figure 4. 36 Am186CC Controller--Address Bus Disable In Effect Am186TMCC Communications Controller Data Sheet In-Circuit Emulator Support Because pins are an expensive resource, many play a dual role, and the programmer selects PIO operation or an alternate function. However, a pin configured to be a PIO may also be required for emulation support. Therefore, it is impor tant that before a design is committed to hardware, a user should contact potential emulator suppliers for a list of their emulator's pin r e q ui r em e n ts. T he fo l l owi n g P I O s i gn a l s ar e multiplexed with alternate signals that may be used by emulators: PIO8, PIO15, PIO33-PIO35. The Am186CC microcontroller was designed to minimize conflicts. In most cases, pin conflict is avoided. For example, if the ALE signal is required for m u l t i p l ex b u s s u p p o r t , t h e n i t w o u l d n o t b e programmed as PIO33. If the multiplexed AD bus is not used, then ALE can be programmed as a PIO pin. If the multiplexed bus is not in use, then the emulator does not require the ALE signal. However, an emulator is likely to always use the de-multiplexed address, regardless of how the AD bus is programmed. APPLICATIONS The Am186CC microcontroller, with its integrated HDLC, USB, and other communications features, provides a highly integrated, cost-effective solution for a wide range of telecommunications and networking applications. n ISDN Modems and Terminal Adapters: Nextgeneration ISDN equipment requires USB (or HighSpeed UART capability), in addition to three channels of HDLC. n Low-End Routers: ISDN to Ethernet-based personal routers, often used for connections in Small Office/Home Office (SOHO) environments, require three channels of HDLC, as well as the high performance of a 16-bit controller. n Linecard Applications: Typically, linecards used in Central Offices (COs), PABX equipment, and other telephony applications require one or two channels of HDLC. Linecard manufacturers are moving to more lines per card for analog POTS as a means of cost reduction. This, and digital linecards for support of ISDN, often require higher performance than existing 8-bit devices can offer. The Am186CC microcontroller is an ideal solution for these applications because it integrates much of the necessary glue logic while providing higher performance. n xDSL Applications: Today's xDSL applications, such as high-speed ADSL modems, require data handling of 2 Mbit/s or greater and can take advantage of the USB interface for easy connectivity to the PC. n Digital Corded Phones: Typical digital telephone applications use up to three channels of HDLC and may use USB for merged PC telephony applications. n USB Peripheral Devices: These devices will become more common as the PC market embraces the USB protocol. In addition to implementing communications device class systems such as an ISDN terminal adapter, the USB controller makes the Am186CC microcontroller suitable for certain PC desktop applications such as a USB camera interface, ink-jet printers, and scanners. n General Communications Applications: The Am186CC microcontroller will also find a home in general embedded applications, because many devices will incorporate communications capability in the future. Many designs are adding HDLC capability as a robust means of inter- and intra-system communications. The Am186CC microcontroller is especially attractive for 186 designs adding HDLC, USB, or both. Block diagrams on the following pages show some typical Am186CC microcontroller designs: Figure 5 on page 38 shows an ISDN terminal adapter system application, Figure 6 on page 38 shows an ISDN to Ethernet low-end router application, and Figure 7 on page 39 shows a 32-channel linecard application. The ISDN ter minal adapter features an S/T or U interface and either a High-Speed UART or USB connection for attaching the modem to the PC. The ISDN-to-Ethernet low-end router features an S/T or U interface, two POTS lines, and a 10-Mbit/s connection to the PC. The 32-channel linecard design demonstrates the Am186CC microcontroller's us e in a linecard application where 32 incoming POTS lines are aggregated onto a single E1 connection. n Industrial Control: Embedded x86 processors have long been used in the industrial control market. These applications often require a robust, highperformance processor solution with one or two channels of HDLC. Am186TMCC Communications Controller Data Sheet 37 I Figure 5. ISDN Terminal Adapter System Application Figure 6. ISDN to Ethernet Low-End Router System Application 38 Am186TMCC Communications Controller Data Sheet Figure 7. 32-Channel Linecard System Application Am186TMCC Communications Controller Data Sheet 39 CLOCK GENERATION AND CONTROL The Am186CC controller clocks include the general system clock (CLKOUT), USB clock, transmitter/ receiver clocks for each HDLC channel, and the baud rate generator clock for UART and High-Speed UART. The SSI and the timers (Timers 0, 1, and 2) derive their clocks from the system clock. from 8 to 40 MHz, depending on the PLL mode selected and the desired system frequency (see Figure 9 on page 42). The system PLL modes are chosen by the state of the {CLKSEL1} and {CLKSEL2} pins during reset. For thes e pins trap se ttings see Table 31 , "Res et Configuration Pins (Pinstraps)," on page A-10. The system clock can be generated in one of two ways: Features The Am186CC controller clocks include the following features and characteristics: n Two independent crystal-controlled oscillators that use exter nal fundamental mode cr ystals or oscillators to generate the system input clock and the USB input clock. n Two independent internal PLLs, one of which generates a system clock (CLKOUT) that is 1x, 2x, or 4x the system input clock, and one that generates the 48-MHz clock required for the USB from either a 48-, 24-, or 12-MHz input. n Single clock source operation possible by sharing the clock source between the system and the USB. n Each HDLC receives its clock inputs directly from the external communication clock pins (TCLK _X and RCLK_X) in all modes except in GCI mode. In GCI mode the external GCI communication clocks (TCLK_A and RCLK_A) are first converted to an internal clocking format (analogous to PCM Highway) before presentation to the HDLC. The system clock must be at least the same frequency as any HDLC clock. - HDLC DCE mode supports clocks up to 10 MHz. - HDLC PCM mode supports clocks up to 10 MHz. - HDLC GCI mode supports a 1.536-MHz clock input. (System clock must be at least twice the GCI clock.) n SSI clock (SCLK) is derived from the system clock, divided by 2, 4, 8, 16, 32, 64, 128, or 256. n Timers 0 and 1 can be configured to be driven by the timer input pins (TMRIN1, TMRIN0) or at onefourth of the system clock. Timer 2 is driven at onefourth of the system clock. n UART clock can be derived from the internal system clock frequency or from the UART clock (UCLK) input. See Figure 8 on page 41 for a diagram of the basic clock generation and Figure 9 on page 42 for suggested clock frequencies and modes. System Clock n Using the internal PLL running at 1x, 2x, or 4x the reference clock. The reference clock can be generated from an external crystal using the integrated oscillator or an external oscillator input. n Bypassing the internal PLL. The external reference generated from either a crystal or an external oscillator input is used to generate the system clock. For more information about bypassing the internal PLL, refer to "PLL Bypass Mode" on page 43. USB Clock The USB PLL provides the 48-MHz clock that is required for USB full-speed operation. This clock is divided down to provide a 12-MHz clock that supports the full-speed USB rate (12 Mbit/s). The low-speed rate of 1.5 Mbit/s is not supported. The USB PLL modes are chosen by the state of the {USBSEL1} and {USBSEL2} pins during reset. For these pinstrap settings, refer to Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. The USB clock can be generated in one of two ways: n Using the system clock. In this mode, the system PLL is restricted to 48-MHz operation only. Note: When using the system clock for the USB clock source, the designer must externally pull down the USBX1 input. n Using its own internal 48-MHz PLL. This PLL can run in 2x or 4x mode and requires a 12- or 24-MHz reference that can be generated by either the integrated cr ystal-controlled oscillator or an external oscillator input. Note: The system clock must be a minimum of 24 MHz when using the USB peripheral controller and its internal 48-MHz PLL. The USB specification requires a frequency tolerance of less than 2500 ppm, which must be met whether using an external clock source, a crystal on USBX1- USBX2, or clock sharing by system and USB. When using a crystal, some frequency tolerance margin must be allowed to account for the differences in external loading capacitances, etc. The usual rule of thumb is to specify a crystal with a frequency tolerance of one half the required frequency tolerance. The system PLL generates frequencies from 16 to 50 MHz. The reference for the system PLL can vary 40 Am186TMCC Communications Controller Data Sheet n The system can be run at 24 MHz by sharing an exter nal clock reference (X1) with the USB (USBX1). A 12-MHz source can be used with the system PLL in 2x mode and the USB PLL in 4x mode, or a 24-MHz source can be used with the system in 1x mode and the USB in 2x mode. Clock Sharing by System and USB The system and USB clocks can be generated from a single source in one of two ways: n The system can run at 48 MHz by using the system clock for the USB clock. Note: When using the system clock for the USB clock source, the designer must externally pull down the USBX1 input. Am186CC Controller System Clock 1x X1 PLL X2 CLKOUT 2x 4x PLL Bypass Mode {CLKSEL2}-{CLKSEL1} USBX1 2x USBX2 PLL 48-MHz USB Clock 4x {USBSEL2}-{USBSEL1} Figure 8. System and USB Clock Generation Am186TMCC Communications Controller Data Sheet 41 System Operating Frequency 20 MHz 0 MHz 30 MHz 24 MHz 40 MHz 32 MHz 16 MHz 8-MHz to 12.5-MHz Xtal or Clock 4x Mode 8-MHz to 25-MHz Xtal or Clock 2x Mode 16-MHz to 40-MHz Xtal or Clock1 1x Mode PLL Bypass Mode 0-MHz to 24-MHz Xtal or Clock PLL Bypass Mode 1The 1x Mode 2x Mode 4x Mode crystal oscillator is not guaranteed above 40 MHz. Figure 9. Suggested System Clock Frequencies, Clock Modes, and Crystal Frequencies Crystal-Driven Clock Source The internal oscillator circuit is designed to function with an external parallel-resonant fundamental mode crystal. The crystal frequency can vary from 8 to 40 MHz, depending on the PLL mode selected and desired system frequency. When selecting a crystal, the load capacitance should always be specified (C L ). This value can cause variance in the oscillation frequency from the desired specified value (resonance). The load capacitance and the loading of the feedback network have the following relationship: Table 6. Crystal Parameters Parameter Min. Value Max. Value Units Frequency 8 40 MHz 8-24 MHz 20 90 ohms 24-50 MHz 20 60 ohms Load Capacitance 10 -- pF ESR CL = (C1 C2) + CS (C1 + C2) X1/USBX1 Xtal where CS is the stray capacitance of the circuit. Table 6 shows crystal parameter values. Figure 10 shows the system clocks using an external crystal and the integrated oscillator. The specific values for C 1 and C 2 must be determined by the designer and are dependent on the characteristics of the chosen crystal and board design. 42 50 MHz X2/USBX2 C1 C2 Figure 10. External Interface to Support Clocks-- Fundamental Mode Crystal Am186TMCC Communications Controller Data Sheet External Clock Source The internal oscillator also can be driven by an external clock source. The external clock source should be connected to the input of the inverting amplifier (X1 or USBX1) with the output (X2 or USBX2) left unconnected. Figure 11 shows the system clocks using an external clock source (oscillator bypass). Note: X1, X2, USBX1, and USBX2 are not 5-V tolerant and have a maximum input equal to VCC. External Clock Figure 11. In the Am186CC microcontroller, the system clock must be at the same or a greater frequency than the HDLC clock and UCLK (if using UCLK). Therefore, if reducing the system clock frequency, disable these interfaces or run them at a lower frequency. The USB PLL and USBX1 determine the USB clock. USB requires the system clock to be 24 MHz or greater. Therefore, disable the USB peripheral controller before slowing the system clock to less than 24 MHz. If USB is not used, the USBX1 can be pulled down. X1/USBX1 NC When changing frequency in PLL Bypass mode, the X1 input must not have any short or "runt" pulses. At 24 MHz, the nominal High/Low time is 21 ns. The actual High times and Low times must not fall below 16 ns. These values allow a 60%/40% duty cycle at X1. X2/USBX2 External Interface to Support Clocks-- External Clock Source Static Operation The Am186CC controller is a fully static design and can be placed in static mode by stopping the input clock. PLL bypass mode must be used with an external clock source. For PLL bypass mode, refer to the PLL Bypass Mode discussion below. Note: It is the responsibility of the system designer to ensure that no short clock phases are generated when starting or stopping the clock. PLL Bypass Mode The Am 186CC microcontroller provides a PLL Bypass mode that allows the X1 input frequency to be anywhere from 0 to 24 MHz. When the microcontroller is in PLL Bypass mode, the CLKOUT frequency equals the X1 input frequency. This mode must be used with an external clock source. For PLL Bypass mode enabling, refer to Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. UART Baud Clock The UARTs (low- and high-speed) have two possible clock sources: the system clock or the UCLK input pin. If UCLK is used for the UART clock, the system clock must be at least the same frequency as UCLK. The clock configurations are shown graphically in Figure 12. The baud clock is generated by dividing the clock source by the value of baud rate divisor register. The serial port logic can select its baud rate clock from either an external pin (UCLK) or from the system clock. The system or UCLK clock is selected independent of any other settings. The formula for determining the baud rate divisor register value is: BAUDDIV = (clock frequency/(16 * baud rate)) Note: UCLK cannot be clocked at a frequency higher than the system cock frequency. Oversample Clock System Clock Baud Divisor UCLK UART/High-Speed UART Clock Select Divide for Oversampling Baud Clock Autobaud Clock (High-Speed UART Only) Figure 12. UART and High-Speed UART Clocks Am186TMCC Communications Controller Data Sheet 43 POWER SUPPLY OPERATION CMOS dynamic power consumption is proportional to the square of the operating voltage multiplied by capacitance and operating frequency. Static system operation can reduce power consumption by enabling the system designer to reduce operating frequency when possible. However, operating voltage is always the dominant factor in power consumption. By reducing the operating voltage from 5 V to 3.3 V for any device, the power consumed is reduced by 56%. Reduction of system logic operating voltage dramatically reduces overall system power consumption. Additional power savings can be realized as low-voltage mass storage and peripheral devices become available. Two basic strategies exist in designing systems containing the Am186CC controller. The first strategy is to design a homogenous system in which all logic components operate at 3.3 V. This provides the lowest overa ll power consumpti on. However, s ys tem designers may need to include devices for which 3.3-V versions are not available. In the second strategy, the system designer must then design a mixed 5-V/3.3-V system. This compromise enables the system designer to minimize the system logic power consumption while still including the functionality of the 5-V features. The choice of a mixed voltage system design also involves balancing design complexity with the need for the additional features. Power Supply Connections n Preferably, all inputs are driven by sources that can be three-stated during a system reset condition. The system reset condition should persist until stable V CC conditions are met. This should help ensure that the maximum input levels are not exceeded during power-up conditions. n Preferably, all pullup resistors are tied to the 3.3-V supply, which ensures that inputs requiring pullups are not over stressed during power-up. PIO Supply Current Limit Each programmable I/O output is able to sink or source a sustained 16-mA drive current. However, only 40 mA of sustained PIO current is allowed for each supply pin (VCC), and only 60 mA is allowed for each ground pin (VSS). To calculate the PIO current for each supply or ground pin, sum the applicable current (source or sink) of all PIO pins on either side of the pin (to the adjacent corresponding pins), and divide the sum by two. The resulting value should not exceed 40 mA for VCC or 60 mA for VSS. Exclude the following pins from this calculation: 72 ( V S S _ A) , 82 ( V S S _U SB ) , 77 ( V C C _A ) , an d 7 9 (VCC_USB). For example, to calculate the PIO current for pin 83 (VSS), total the sustained sinking current for all PIO pins between pin 71 (V SS ) and pin 100 (V SS ), and divide the sum by two. Connect all V CC pins together to the 3.3-V power supply and all ground pins to a common system ground. Input/Output Circuitry To accommodate current 5-V systems, the Am186CC controller has 5-V tolerant I/O drivers. The drivers produce TTL-compatible drive output (minimum 2.4-V logic High) and receive TTL and CMOS levels (up to VCC + 2.6 V). The following are some design issues that should be considered with mixed 3.3-V/5-V designs: n During power-up, if the 3.3-V supply has a significant delay in achieving stable operation relative to 5-V supply, then the 5-V circuitry in the system may start driving the processor's inputs above the maximum levels (V CC + 2.6 V). The system design should ensure that the 5-V supply does not exceed 2.6 V above the 3.3-V supply during a power-on sequence. 44 Am186TMCC Communications Controller Data Sheet ABSOLUTE MAXIMUM RATINGS1 Parameter Symbol 2 Minimum Maximum Unit Temperature under bias: Commercial TC 0 100 C Industrial TA3 -40 +85 C -- -65 +150 C Voltage on 5-V-tolerant pins with respect to ground -- -0.5 VCC + 2.6 V Voltage on other pins with respect to ground -- -0.5 VCC + 0.5 V Sustained PIO current on any supply (VCC) pin5 -- 40 -- mA Sustained PIO current on any ground (VSS) pin5 -- 60 -- mA Storage temperature 4 Notes: 1. Stresses above those listed under Absolute Maximum Ratings can cause permanent device failure. Functionality at or above these limits is not implied. Exposure to absolute maximum ratings for extended periods may affect device reliability. 2. TC = case temperature. 3. TA = ambient temperature. 4. 5 V-tolerant pins are indicated in Table 35, "Pin List Summary," on page A-12. 5. See "PIO Supply Current Limit" on page 44. OPERATING RANGES1 Parameter Symbol 2 Minimum Maximum Unit Commercial TC 0 100 C Industrial TA3 -40 + 85 C Supply voltage with respect to ground VCC 3.0 3.6 V Notes: 1. Operating Ranges define those limits between which the functionality of the device is guaranteed. 2. TC = case temperature. 3. TA = ambient temperature. DRIVER CHARACTERISTICS--UNIVERSAL SERIAL BUS Each USBD+ and USBD- pin connects through a series resistor directly to the USB. The series resistor value should be selected to achieve a total driver impedance between 29 and 44 ohms, as required by the USB Version 1.0 specification. A 36-W 1% series resistor is recommended for each pin. Characteristics of these two pins are defined in the U S B Ve r s i o n 1 . 0 s p e c i f i c a t i o n . C o n s u l t t h i s specification for details about overall USB system design. (At the time of this writing, the current USB specification and related information can be obtained on the Web at www.usb.org.) The Am186CC controller is guaranteed to meet all USB specifications. Required analog transceivers are integrated into the Am186CC controller. Am186TMCC Communications Controller Data Sheet 45 DC CHARACTERISTICS OVER COMMERCIAL AND INDUSTRIAL OPERATING RANGES1 Symbol VOH Preliminary Parameter Maximum 2.4 -- V VCC - 0.2 -- V -- 0.45 V Output High voltage (IOH = -2.4 mA) 2 Unit Minimum VOH Output High voltage (IOH = -0.1 mA) VOL Output Low voltage (IOL = 4.0 mA) VIH5 5-V tolerant Input High voltage 2.0 VCC + 2.6 V VIH Input High voltage, except 5-V tolerant 2.0 VCC+0.3 V VIL Input Low voltage -0.3 0.8 V ILI Input leakage current (0.1 V VOUT VCC) (All pins except those with internal pullup/pulldown resistors) -- 10 mA ILO Output leakage current3 (0.1 V VOUT VCC) -- 15 mA PCC Power consumption -- 1.2 W Notes: 1. Current out of pin is stated as a negative value. 2. Characterized but not tested. 3. This parameter is for three-state outputs where VOUT is driven on the three-state output. CAPACITANCE Symbol 46 Preliminary Parameter Minimum Maximum Unit CIN Input capacitance -- 15 pF CCLK Clock capacitance -- 15 pF COUT Output capacitance -- 20 pF CI/O I/O pin capacitance -- 20 pF Am186TMCC Communications Controller Data Sheet MAXIMUM LOAD DERATING n No DC loads on the output buffers All maximum delay numbers should be increased by 0.035 ns for every pF of load (up to a maximum of 150 pF) over the maximum load specified in Table 35, "Pin List Summary," on page A-12. n Output capacitive load set to 30 pF n AD bus set to data only n PIOs are disabled n Timer, serial port, refresh, and DMA are enabled POWER SUPPLY CURRENT Table 7 shows the values that are used to calculate the typical power consumption value for the Am186CC controller. For the following typical system specification shown in Figure 13, ICC has been measured at 6 mA per MHz of system clock. The typical system is measured while the system is executing code in a typical application with nominal voltage and maximum case temperature. Actual power supply current is dependent on system design and may be greater or less than the typical ICC figure presented here. Table 7. Typical Power Consumption Calculation MHz 1/4 ICC 1/4 Volts / 1000 = P MHz Typical ICC Volts Typical Power in Watts Typical current in Figure 13 is given by: ICC = 6 mA 1/4 freq(MHz) 25 6 3.3 0.495 40 6 3.3 0.792 Please note that dynamic ICC measurements are dependent upon chip activity, operating frequency, output buffer logic, and capacitive/resistive loading of the outputs. For these ICC measurements, the devices were set to the following modes: 50 6 3.3 0.99 320 280 240 200 ICC (mA) 160 120 80 40 0 10 20 30 40 50 Clock Frequency (MHz) Figure 13. Typical Icc Versus Frequency Am186TMCC Communications Controller Data Sheet 47 The variable P is power in watts. Power supply current (ICC) is in mA per MHz of clock frequency. THERMAL CHARACTERISTICS PQFP Package The Am186CC controller is specified for operation with case temperature ranges from 0C to +100C for 3.3 V 0.3 V (commercial). Case temperature is measured at the top center of the package as shown in Figure 14. The various temperatures and thermal resistances can be determined using the equations in Figure 15 with information given in Table 8. The total thermal resistance is qJA; qJA is the sum of qJC, the internal thermal resistance of the assembly, and qCA, the case to ambient thermal resistance. qJA qJA = qJC + qCA Figure 14. Thermal Resistance(C/Watt) qJA = qJC + qCA P = ICC 1/4 freq (MHz) 1/4 VCC TJ = TC + (P 1/4 qJC) TJ = TA + (P 1/4 qJA) 1/4 qJC) 1/4 qCA) TA = TJ - (P 1/4 qJA) TA = TC - (P 1/4 qCA) TC = TJ - (P TC = TA + (P Figure 15. Table 8. Package/Board PQFP/2-Layer PQFP/4-Layer to 6-Layer 48 qCA TC q JC Thermal Characteristics Equations Thermal Characteristics (C/Watt) Airflow (Linear Feet per Minute) qJC qCA qJA 0 fpm 7 38 45 200 fpm 7 32 39 400 fpm 7 28 35 600 fpm 7 26 33 0 fpm 5 18 23 200 fpm 5 16 21 400 fpm 5 14 19 600 fpm 5 12 17 Am186TMCC Communications Controller Data Sheet COMMERCIAL AND INDUSTRIAL SWITCHING CHARACTERISTICS AND WAVEFORMS In the switching waveforms that follow, several abbreviations are used to indicate the specific periods of a bus cycle. These periods are referred to as time states. A typical bus cycle is composed of four consecutive time states: t1, t2, t3, and t4. Wait states, which represent multiple t3 states, are referred to as tw states. When no bus cycle is pending, an idle (ti) state occurs. WAVEFORM I n th e sw i t c h i ng pa r a me t e r d e s c r i p ti o n s, t h e multiplexed address is referred to as the AD address bus; the demultiplexed address is referred to as the A address bus. Figure 16 defines symbols used in the switching waveform diagrams. Table 9 on page 50 contains an alphabetical listing of the switching parameter symbols, and Table 10 on page 54 contains a numerical listing of the switching parameter symbols. INPUT OUTPUT Must be Steady Will be Steady May change from H to L or from H to threestate Will be changing from H to L or from H to three-state May change from L to H or from L to threestate Will be changing from L to H or from L to threestate Figure 16. Key to Switching Waveforms Am186TMCC Communications Controller Data Sheet 49 Table 9. Alphabetical Key to Switching Parameter Symbols 50 Parameter Symbol No. Description tARYCH 49 ARDY resolution transition setup time tARYCHL 51 ARDY inactive holding time tARYHDSH 951 ARDY High to DS High 1 tARYHDV 89 tARYLCL 52 1 ARDY assert to data valid ARDY setup time tARYLDSH 96 tAVBL 87 A address valid to WHB, WLB Low ARDY Low to DS High tAVCH 14 AD address valid to clock High tAVLL 12 AD address valid to ALE Low tAVRL 66 A address valid to RD Low tAVWL 65 A address valid to WR Low tAZRL 24 AD address float to RD active tCH1CH2 45 CLKOUT rise time tCHAV 68 CLKOUT High to A address valid tCHCAS 404 Change in CAS delay tCHCK 38 X1 High time tCHCL 44 CLKOUT High time tCHCSV 67 CLKOUT High to LCS/UCS valid tCHCSX 18 MCS/PCS inactive delay tCHCTV 22 Control active delay 2 tCHCV 64 Command lines valid delay (after float) tCHCZ 63 Command lines float delay tCHDX 8 Status hold time tCHLH 9 ALE active delay tCHLL 11 ALE inactive delay tCHQ0SV 55 Queue status 0 output delay tCHQ1SV 56 Queue status 1 output delay tCHRAS 403 Change in RAS delay tCHRFD 791 CLKOUT High to RFSH valid tCHSV 3 Status active delay tCICO 69 X1 to CLKOUT skew tCKHL 39 X1 fall time tCKIN 36 X1 period tCKLH 40 X1 rise time tCL2CL1 46 CLKOUT fall time tCLARX 50 ARDY active hold time tCLAV 5 AD address and BHE valid delay tCLAX 6 Address hold tCLAZ 15 AD address float delay tCLCH 43 CLKOUT Low time tCLCK 37 X1 Low time tCLCL 42 CLKOUT period tCLCLX 801 LCS inactive delay Am186TMCC Communications Controller Data Sheet Table 9. Alphabetical Key to Switching Parameter Symbols (Continued) Parameter Symbol No. Description tCLCSL 811 LCS active delay tCLCSV 16 MCS/PCS active delay tCLDOX 30 Data hold time tCLDV 7 Data valid delay tCLDX 2 Data in hold tCLHAV 62 HLDA valid delay tCLRF 821 CLKOUT High to RFSH invalid tCLRH 27 RD inactive delay tCLRL 25 RD active delay tCLSH 4 Status and BHE inactive delay tCLSRY 48 SRDY transition hold time tCLTMV 54 Timer output delay tCOLV 402 Column address valid delay tCSHARYL 881 Chip select to ARDY Low tCVCTV 20 Control active delay 1 tCVCTX 31 Control inactive delay tCVDEX 21 DEN/DS inactive delay tCXCSX 17 MCS/PCS hold from command inactive tDSHDIR 921 DS High to data invalid--read tDSHDIW 98 1 DS High to data invalid--write 93 1 DS High to data bus turn-off time tDSHDX tDSHLH 41 DS inactive to ALE inactive tDSLDD 901 DS Low to data driven tDSLDV 911 DS Low to data valid tDVCL 1 tDVDSL 971 Data valid to DS Low tDXDL 19 DEN/DS inactive to DT/R Low tHVCL 58 HOLD setup tINVCH 53 Peripheral setup time tLCRF 861 LCS inactive to RFSH active delay tLHAV 23 ALE High to address valid tLHLL 10 ALE width tLLAX 13 AD address hold from ALE inactive tLRLL 841 LCS precharge pulse width tRESIN 57 RES setup time tRFCY 851 RFSH cycle time tRHAV 29 RD inactive to AD address active tRHDX 59 RD High to data hold on AD bus tRHDZ 941 RD High to data bus turn-off time tRHLH 28 RD inactive to ALE High tRLRH 26 RD pulse width tSRYCL 47 SRDY transition setup time Data in setup Am186TMCC Communications Controller Data Sheet 51 Table 9. Alphabetical Key to Switching Parameter Symbols (Continued) Parameter Symbol No. Description tWHDEX 35 WR inactive to DEN inactive tWHDX 34 Data hold after WR tWHLH 33 WR inactive to ALE High tWLWH 32 WR pulse width USB Timing (Clocks) tUCHCK 3 USBX1 High time tUCKHL 4 USBX1 fall time tUCKIN 1 USBX1 period tUCKLH 5 USBX1 rise time tUCLCK 2 USBX1 Low time USB Timing (Data/Jitter) tF 2 Fall time tJR1 3 Consecutive transition jitter tJR2 4 Paired transition jitter tR 1 Rise time tTCLKH 2 DCE clock High tTCLKHD 6 DCE clock hold tTCLKL 3 DCE clock Low tTCLKO 4 DCE clock to output delay tTCLKPER 1 DCE clock period tTCLKR 7 DCE clock rise/fall tTCLKSU 5 DCE clock setup 1 PCM clock period DCE PCM (Slave) tCLKP 52 tDCD 8 Delay time from CLK High to TXD valid tDCLT 13 Delay from CLK Low of last bit to TSC invalid tDCT 11 Delay to TSC valid from CLK tDFT 12 Delay to TSC valid from FSC tDTW 17 Delay from last bit CLK Low to TXD weak drive tDZF 5 Delay time to valid TXD from CLK tDZF 6 Delay time to valid TXD from FSC tHCD 10 Hold time from CLK Low to RXD invalid tHCF 4 Hold time from CLK Low to FSC valid tHFI 14 Hold time from CLK Low to FSC invalid tSUDC 9 Setup time from RXD valid to CLK tSUFC 7 Setup time for FSC High to CLK Low tSYNSS 15 Time between successive synchronization pulses tWH 2 PCM clock High tWL 3 PCM clock Low tWSYN 16 FSC width invalid tDTZ 18 Delay from last bit CLK (plus one) High to TXD disable Am186TMCC Communications Controller Data Sheet Table 9. Alphabetical Key to Switching Parameter Symbols (Continued) Parameter Symbol No. Description PCM (Master) tDCFH 1 Delay time from CLK High to FSC High tDCFL 2 Delay time from CLK High to FSC Low tDHC 9 Data hold/clock tDSC 7 Data delay/clock tDSF 8 Data delay/FSC tFD 5 Frame delay/clock tFH 4 Frame hold/clock tHD 11 Data hold tSD 10 Data setup tSF 3 Frame setup tWFH 6 Frame width High tWH 1 Pulse width High tWL 2 Pulse width Low tCLEV 1 CLKOUT Low to SDEN valid GCI SSI tCLSL 2 CLKOUT Low to SCLK Low tDVSH 3 Data valid to SCLK High tSHDX 4 SCLK High to data invalid tSLDV 5 SCLK Low to data valid Notes: 1. Specification defined but not in use at this time. Am186TMCC Communications Controller Data Sheet 53 Table 10. 54 Numerical Key to Switching Parameter Symbols No. Parameter Symbol Description 1 tDVCL Data in setup 2 tCLDX Data in hold 3 tCHSV Status active delay 4 tCLSH Status and BHE inactive delay 5 tCLAV AD address and BHE valid delay 6 tCLAX Address hold 7 tCLDV Data valid delay 8 tCHDX Status hold time 9 tCHLH ALE active delay 10 tLHLL ALE width 11 tCHLL ALE inactive delay 12 tAVLL AD address valid to ALE Low 13 tLLAX AD address hold from ALE inactive 14 tAVCH AD address valid to clock High 15 tCLAZ AD address float delay 16 tCLCSV MCS/PCS active delay 17 tCXCSX MCS/PCS hold from command inactive 18 tCHCSX MCS/PCS inactive delay 19 tDXDL DEN/DS inactive to DT/R Low 20 tCVCTV Control active delay 1 21 tCVDEX DEN/DS inactive delay 22 tCHCTV Control active delay 2 23 tLHAV ALE High to address valid 24 tAZRL AD address float to RD active 25 tCLRL RD active delay 26 tRLRH RD pulse width 27 tCLRH RD inactive delay 28 tRHLH RD inactive to ALE High 29 tRHAV RD inactive to AD address active 30 tCLDOX Data hold time 31 tCVCTX Control inactive delay 32 tWLWH WR pulse width 33 tWHLH WR inactive to ALE High 34 tWHDX Data hold after WR 35 tWHDEX WR inactive to DEN inactive 36 tCKIN X1 period 37 tCLCK X1 Low time 38 tCHCK X1 High time 39 tCKHL X1 fall time 40 tCKLH X1 rise time 41 tDSHLH DS inactive to ALE inactive 42 tCLCL CLKOUT period 43 tCLCH CLKOUT Low time Am186TMCC Communications Controller Data Sheet Table 10. Numerical Key to Switching Parameter Symbols (Continued) No. Parameter Symbol 44 tCHCL CLKOUT High time 45 tCH1CH2 CLKOUT rise time 46 tCL2CL1 CLKOUT fall time 47 tSRYCL SRDY transition setup time 48 tCLSRY SRDY transition hold time 49 tARYCH ARDY resolution transition setup time 50 tCLARX ARDY active hold time 51 tARYCHL ARDY inactive holding time 52 tARYLCL ARDY setup time 53 tINVCH Peripheral setup time 54 tINVCL DRQ setup time 54 tCLTMV Timer output delay 56 tCHQSV Queue status output delay Description 57 tRESIN RES setup time 58 tHVCL HOLD setup 59 tRHDX RD High to data hold on AD bus 62 tCLHAV HLDA valid delay 63 tCHCZ Command lines float delay 64 tCHCV Command lines valid delay (after float) 65 tAVWL A address valid to WR Low 66 tAVRL A address valid to RD Low 67 tCHCSV CLKOUT High to LCS/UCS valid 68 tCHAV CLKOUT High to A address valid 69 tCICO X1 to CLKOUT skew 79 tCHRFD CLKOUT High to RFSH valid 1 80 tCLCLX LCS inactive delay 811 tCLCSL LCS active delay 1 tCLRF CLKOUT High to RFSH invalid 1 tLRLL LCS precharge pulse width 1 85 tRFCY RFSH cycle time 861 tLCRF LCS inactive to RFSH active delay 1 tAVBL A address valid to WHB, WLB Low 1 tCSHARYL Chip select to ARDY Low 1 89 tARYHDV ARDY assert to data valid 901 tDSLDD DS Low to data driven 1 tDSLDV DS Low to data valid 1 tDSHDIR DS High to data invalid--read 1 93 tDSHDX DS High to data bus turn-off time 941 tRHDZ RD High to data bus turn-off time 82 84 87 88 91 92 1 tARYHDSH ARDY High to DS High 1 tARYLDSH ARDY Low to DS High 1 tDVDSL 95 96 97 Data valid to DS Low Am186TMCC Communications Controller Data Sheet 55 Table 10. Numerical Key to Switching Parameter Symbols (Continued) No. Parameter Symbol 981 tDSHDIW Description DS High to data invalid--write Column address valid delay 402 tCOLV 403 tCHRAS Change in RAS delay 404 tCHCAS Change in CAS delay USB Timing (Clocks) 1 tUCKIN USBX1 period 2 tUCLCK USBX1 Low time 3 tUCHCK USBX1 High time 4 tUCKHL USBX1 fall time 5 tUCKLH USBX1 rise time USB Timing (Data/Jitter) 1 tR Rise time 2 tF Fall time 3 tJR1 Consecutive transition jitter 4 tJR2 Paired transition jitter DCE DCE clock period 1 tTCLKPER 2 tTCLKH DCE clock High 3 tTCLKL DCE clock Low 4 tTCLKO DCE clock to output delay 5 tTCLKSU DCE clock setup 6 tTCLKHD DCE clock hold 7 tTCLKR DCE clock rise/fall 1 tCLKP PCM clock period 2 tWH PCM clock High 3 tWL PCM clock Low 4 tHCF Hold time from CLK Low to FSC valid 5 tDZF Delay time to valid TXD from CLK 6 tDZF Delay time to valid TXD from FSC 7 tSUFC Setup time for FSC High to CLK Low 8 tDCD Delay time from CLK High to TXD valid 9 tSUDC Setup time from RXD valid to CLK 10 tHCD Hold time from CLK Low to RXD invalid 11 tDCT Delay to TSC valid from CLK 12 tDFT Delay to TSC valid from FSC 13 tDCLT Delay from CLK Low of last bit to TSC invalid PCM (Slave) 56 Hold time from CLK Low to FSC invalid 14 tHFI 15 tSYNSS Time between successive synchronization pulses 16 tWSYN FSC width invalid 17 tDTW Delay from last bit CLK Low to TXD weak drive 18 tDTZ Delay from last bit CLK (plus one) High to TXD disable Am186TMCC Communications Controller Data Sheet Table 10. No. Numerical Key to Switching Parameter Symbols (Continued) Parameter Symbol Description PCM (Master) 1 tDCFH Delay time from CLK High to FSC High 2 tDCFL Delay time from CLK High to FSC Low GCI 1 tWH Pulse width High 2 tWL Pulse width Low 3 tSF Frame setup 4 tFH Frame hold/clock 5 tFD Frame delay/clock 6 tWFH Frame width High 7 tDSC Data delay/clock 8 tDSF Data delay/FSC 9 tDHC Data hold/clock 10 tSD Data setup 11 tHD Data hold SSI tCLEV CLKOUT Low to SDEN valid 2 tCLSL CLKOUT Low to SCLK Low 3 tDVSH Data valid to SCLK High 4 tSHDX SCLK High to data invalid 5 tSLDV SCLK Low to data valid 1 Notes: 1. Specification defined but not in use at this time. Am186TMCC Communications Controller Data Sheet 57 Switching Characteristics over Commercial and Industrial Operating Ranges In this section the following timings and timing waveforms are shown: n System clocks (page 71) n Read (page 58) n GCI bus (page 73) n Write (page 61) n PCM highway (slave) (page 74) n Software halt (page 64) n PCM highway (master) (page 76) n Peripheral (page 65) n DCE interface (page 77) n Reset (page 66) n USB (page 78) n External ready (page 68) n SSI (page 79) n Bus hold (page 69) n DRAM (page 80) n USB clocks (page 72) Table 11. Read Cycle Timing1 Preliminary Parameter No. Symbol 25 MHz Description 50 MHz (Commercial Only) 40 MHz Min Max Min Max Min Max Unit General Timing Requirements 1 2 tDVCL Data in setup 10 -- 5 -- 5 -- ns tCLDX hold2 3 -- 2 -- 2 -- ns Data in General Timing Responses 3 tCHSV Status active delay 0 20 0 12 0 10 ns 4 tCLSH Status and BHE inactive delay 0 20 0 12 0 10 ns 5 tCLAV AD address and BHE valid delay 0 20 0 12 0 10 ns 6 tCLAX Address hold 0 -- 0 -- 0 -- ns 8 tCHDX Status hold time 0 -- 0 -- 0 -- ns 9 tCHLH ALE active delay 10 tLHLL ALE width -- 20 -- 12 -- 10 ns tCLCL-10=30 -- tCLCL-5=20 -- tCLCL-5=15 -- ns 11 tCHLL ALE inactive delay -- 20 -- 12 -- 10 ns 12 tAVLL AD address valid to ALE Low3 0.5 * tCLCH -- 0.5 * tCLCH -- 0.5 * tCLCH -- ns 13 tLLAX AD address hold from ALE inactive3 tCHCL -- tCHCL -- tCHCL -- ns 14 tAVCH AD address valid to clock High 0 -- 0 -- 0 -- ns 15 tCLAZ AD address float delay tCLAX=0 20 tCLAX=0 12 tCLAX=0 10 ns 16 tCLCSV MCS/PCS active delay 0 20 0 12 0 10 ns 17 tCXCSX MCS/PCS hold from command inactive tCLCH -- tCLCH -- tCLCH -- ns 18 tCHCSX MCS/PCS inactive delay 0 20 0 12 0 10 ns 19 tDXDL DEN/DS inactive to DT/R Low3, 4 -1 -- -1 -- -1 -- ns 20 tCVCTV Control active delay 1 0 20 0 12 0 10 ns 58 Am186TMCC Communications Controller Data Sheet Read Cycle Timing1 (Continued) Table 11. Preliminary Parameter 25 MHz 50 MHz (Commercial Only) 40 MHz Unit No. Symbol Description Min Max Min Max Min Max 21 tCEVDX DEN/DS inactive delay4 0 20 0 12 0 10 ns 22 tCHCTV Control active delay 2 0 20 0 12 0 10 ns 23 tLHAV ALE High to address valid 15 -- 7.5 -- 5 -- ns Read Cycle Timing Responses 24 tAZRL AD address float to RD active 0 -- 0 -- 0 -- ns 25 tCLRL RD active delay 0 20 0 10 0 10 ns 26 tRLRH RD pulse width 2tCLCL-15=65 -- 2tCLCL-10=40 -- 2tCLCL-10=30 -- ns 27 tCLRH RD inactive delay 0 20 0 12 0 10 ns 28 tRHLH RD inactive to ALE High3 tCLCH-3 -- tCLCH-2 -- tCLCH-2 -- ns 29 tRHAV RD inactive to AD address active 3 tCLCL-10=30 -- tCLCL-5=20 -- tCLCL-5=15 -- ns 59 tRHDX RD High to data hold on AD Bus2 3 -- 2 -- 0 -- ns 66 tAVRL A address valid to RD Low 1.5tCLCL-15=45 -- 1.5tCLCL-10= 27.5 -- 1.5tCLCL-10=20 -- ns 67 tCHCSV CLKOUT High to LCS/UCS valid 0 20 0 10 0 10 ns 68 tCHAV CLKOUT High to A address valid 0 20 0 10 0 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. If either specification 2 or specification 59 is met with respect to data hold time, then the device functions correctly. 3. Testing is performed with equal loading on referenced pins. 4. The timing of this signal is the same for a read cycle, whether it is configured to be DEN or DS. Am186TMCC Communications Controller Data Sheet 59 T4 T1 T2 T3 T4 1 14 2 CLKOUT tw 66 68 A19-A0 6 3 8 S61 23 13 5 12 AD15-AD0 15 59 24 29 Addr. Data 11 9 10 28 ALE 27 25 26 17 RD 5 4 BHE 67 LCS, UCS 16 18 MCS3-MCS0, PCS7-PCS0 19 20 21 DEN, DS 22 22 DT/R 3 4 S2-S0 Notes: 1. S6 is not valid for the first fetch until the timing for parameter 3 (status active delay (tCHSV)) is met. Figure 17. Read Cycle Waveforms 60 Am186TMCC Communications Controller Data Sheet Table 12. Write Cycle Timing1 Preliminary Parameter No. Symbol 25 MHz Description 50 MHz (Commercial Only) 40 MHz Min Max Min Max Min Max Unit General Timing Responses 3 tCHSV Status active delay 0 20 0 12 0 10 ns 4 tCLSH Status and BHE inactive delay 0 20 0 12 0 10 ns 5 tCLAV AD address and BHE valid delay 0 20 0 12 0 10 ns 6 tCLAX Address hold 0 -- 0 -- 0 -- ns 7 tCLDV Data valid delay 0 20 0 12 0 10 8 tCHDX Status hold time 0 -- 0 -- 0 9 tCHLH ALE active delay -- 20 -- 12 -- 10 ns 10 tLHLL ALE width tCLCL - 10 = 30 -- tCLCL - 5 = 20 -- tCLCL - 5 = 15 -- ns 11 tCHLL ALE inactive delay -- 20 -- 12 -- 10 ns 12 tAVLL AD address valid to ALE Low2 0.5 * tCLCH -- 0.5 * tCLCH -- 0.5 * tCLCH -- ns 13 tLLAX AD address hold from ALE inactive tCHCL -- tCHCL -- tCHCL -- ns 14 tAVCH AD address valid to clock High 0 -- 0 -- 0 -- ns 16 tCLCSV MCS/PCS active delay 0 20 0 12 0 10 ns 17 tCXCSX MCS/PCS hold from command inactive tCLCH -- tCLCH -- tCLCH -- ns 18 tCHCSX MCS/PCS inactive delay 0 20 0 12 0 10 ns 19 tDXDL DEN inactive to DT/R2, 3 -1 -- -1 -- -1 -- ns 20 tCVCTV Control active delay 13,4 0 20 0 12 0 10 ns 21 tCVDEX DS inactive delay3,4 0 20 0 12 0 10 ns 23 tLHAV ALE High to address valid 15 -- 7.5 -- 5 -- ns Am186TMCC Communications Controller Data Sheet ns ns 61 Write Cycle Timing1 (Continued) Table 12. Preliminary Parameter No. Symbol 25 MHz Description 50 MHz (Commercial Only) 40 MHz Min Max Min Max Min Max Unit Write Cycle Timing Responses 30 tCLDOX Data hold time 0 -- 0 -- 0 -- ns 31 tCVCTX Control inactive delay3,4 0 20 0 12 0 10 ns 32 tWLWH WR pulse width 2tCLCL - 10 = 70 -- 2tCLCL - 10 = 40 -- 2tCLCL - 10 = 30 -- ns 33 tWHLH WR inactive to ALE High2 tCLCH - 2 -- tCLCH - 2 -- tCLCH - 2 -- ns 34 tWHDX Hold data after WR2 tCLCL - 10 = 30 -- tCLCL - 10 = 15 -- tCLCL - 10 = 10 -- ns 35 tWHDEX WR inactive to DEN inactive2,3 tCLCH - 3 -- tCLCH -- tCLCH -- ns 65 tAVWL A address valid to WR Low tCLCL + tCHCL -3 -- tCLCL + tCHCL - 1.25 -- tCLCL + tCHCL - 1.25 -- ns 67 tCHCSV CLKOUT High to LCS/UCS valid 0 20 0 10 0 10 ns 68 tCHAV CLKOUT High to A address valid 0 20 0 10 0 10 ns 87 tAVBL A address valid to WHB, WLB Low tCHCL - 3 20 tCHCL - 1.25 12 tCHCL - 1.25 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. Testing is performed with equal loading on referenced pins. 3. The timing of this signal is different during a write cycle depending on whether it is configured to be DEN or DS. 4. This parameter applies to the DEN, DS, WR, WHB, and WLB signals. 62 Am186TMCC Communications Controller Data Sheet T4 T1 T2 T3 T4 14 CLKOUT tw 87 68 65 A19-A0 S6 6 3 1 23 12 5 8 7 34 13 AD15--AD0 Addr. 30 Data 11 10 9 33 ALE 31 20 35 17 32 WR 20 31 5 4 WHB, WLB BHE 67 LCS, UCS 16 18 MCS3-MCS0, PCS7-PCS0 31 20 19 DEN 20 21 DS 20 DT/R 31 3 4 S2-S0 Notes: 1. S6 is not valid for the first fetch until the timing for parameter 3 (status active delay (tCHSV)) is met. Figure 18. Write Cycle Waveforms Am186TMCC Communications Controller Data Sheet 63 Table 13. Software Halt Cycle Timing1 Preliminary Parameter No. 25 MHz Symbol Description 50 MHz (Commercial Only) 40 MHz Unit Min Max Min Max Min Max 3 tCHSV Status active delay 0 20 0 12 0 10 ns 4 tCLSH Status inactive delay 0 20 0 12 0 10 ns 5 tCLAV AD address invalid delay 0 20 0 12 0 10 ns 9 tCHLH ALE active delay -- 20 -- 12 -- 10 ns 10 tLHLL ALE width tCLCL - 10 = 30 -- tCLCL - 5 = 20 -- tCLCL - 5 = 15 -- ns 11 tCHLL ALE inactive delay -- 20 -- 12 -- 10 19 tDXDL DEN inactive to DT/R Low2 -1 -- -1 -- -1 22 tCHCTV Control active delay 23 0 20 0 12 0 10 ns 68 tCHAV CLKOUT High to A address invalid 0 20 0 12 0 10 ns ns ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. Testing is performed with equal loading on referenced pins. 3. This parameter applies to the DEN/DS signal. T4 T1 T2 TI CLKOUT 68 A19-A0 Invalid Address 5 S6, AD15-AD0 Invalid Address 11 10 9 ALE 22 19 DEN, DS DT/R 4 3 S2-S0 Figure 19. 64 Software Halt Cycle Waveforms Am186TMCC Communications Controller Data Sheet TI Table 14. Peripheral Timing1, 2 Preliminary Parameter 25 MHz Description 50 MHz (Commercial Only) 40 MHz Unit No. Symbol Min Max Min Max Min Max 53 tINVCH Peripheral setup time 10 -- 5 -- 5 -- ns 54 tCLTMV Timer output delay -- 25 -- 15 -- 12 ns 55 tCHQ0SV Queue status 0 output delay -- 25 -- 15 -- 12 ns 56 tCHQ1SV Queue status 1 output delay -- 25 -- 15 -- 12 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. PIO outputs change anywhere from the beginning of T3 to the first half of T4 of the bus cycle in which the PIO data register is written. 56 53 54 55 CLKOUT INT8-INT0, NMI, TMRINx DRQ0, DRQ1 TMROUT QS0 QS1 Figure 20. Peripheral Timing Waveforms Am186TMCC Communications Controller Data Sheet 65 Table 15. Reset Timing1 Preliminary Parameter 25 MHz Description 50 MHz (Commercial Only) 40 MHz Unit No. Symbol Min Max Min Max Min Max 57 tRESIN RES setup time 10 -- 5 -- 5 -- ns 61 tCLRO Reset delay -- 18 -- 15 -- 12 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 57 RES CLKOUT 61 RESOUT Notes: 1. RES must be held Low for 1 ms during power-up to ensure proper device initialization. 2. Diagram is shown for the system PLL in its 2x mode of operation. 3. Diagram assumes that VCC is stable (i.e., 3.3 V 0.3 V) during the 1-ms RES active time. Figure 21. Reset Waveforms 66 Am186TMCC Communications Controller Data Sheet RES CLKOUT All Pinstrap Pins1, 2 AD15-AD01 All Other Outputs RESOUT Notes: 1. The pinstraps and AD bus are sampled during the assertion of RESOUT for system configuration purposes. 2. For a list of all the pinstraps, refer to Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. Figure 22. Signals Related to Reset (System PLL in 1x or 2x Mode) RES CLKOUT All Pinstrap Pins1, 2 AD15-AD01 All Other Outputs RESOUT Notes: 1. The pinstraps and AD bus are sampled during the assertion of RESOUT for system configuration purposes. 2. For a list of all the pinstraps, refer to Table 31, "Reset Configuration Pins (Pinstraps)," on page A-10. Figure 23. Signals Related to Reset (System PLL in 4x Mode) Am186TMCC Communications Controller Data Sheet 67 Table 16. External Ready Cycle Timing1 Preliminary Parameter No. Symbol 25 MHz Description 40 MHz 50 MHz (Commercial Only) Unit Min Max Min Max Min Max 10 -- 5 -- 5 -- ns 3 -- 2 -- 2 -- ns Ready Timing Requirements 47 48 tSRYCL tCLSRY SRDY transition setup time2 2 SRDY transition hold time 3 49 tARYCH ARDY resolution transition setup time 10 -- 5 -- 5 -- ns 50 tCLARX ARDY active hold time2 4 -- 3 -- 3 -- ns 51 tARYCHL ARDY inactive holding time 10 -- 5 -- 5 -- ns 15 -- 5 -- 5 -- ns 52 tARYLCL 2 ARDY setup time Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. This timing must be met to guarantee proper operation. 3. This timing must be met to guarantee recognition at the clock edge. Case 11 Tw Tw Tw T4 21 T3 Tw Tw T4 Case 31 T2 T3 Tw T4 42 T1 T2 T3 Case 51 T1 T2 T3 Tw T4 Case Case CLKOUT 47 Note 1 SRDY Note 2 Notes: 1. Normally not ready system. 48 2. Normally ready system. Figure 24. Synchronous Ready Waveforms 68 Am186TMCC Communications Controller Data Sheet T4 Case 11 Tw Tw Tw T4 Case 21 T3 Tw Tw T4 1 T2 T3 Tw T4 Case 42 T1 T2 T3 Tw Case 51 T1 T2 T3 T4 Case 3 T4 50 CLKOUT 49 ARDY1 (Normally Not-Ready System) 49 ARDY2 (Normally Ready System) 50 51 52 Notes: 1. In a normally not ready system, wait states are added after T3 until tARYCH and tCLARX are met. 2. In a normally ready system, a wait state is added if tARYCH and tARYCHL during T2 or tARYLCL and tCLARX during T3 are met. Figure 25. Asynchronous Ready Waveforms Table 17. Bus Hold Timing1 Preliminary Parameter Description 25 MHz 40 MHz 50 MHz (Commercial Only) Unit No. Symbol Min Max Min Max Min Max 5 tCLAV AD address valid delay 0 20 0 12 0 10 ns 15 tCLAZ AD address float delay 0 20 0 12 0 10 ns 18 tCHCSX MCSx/PCSx inactive delay 0 20 0 12 0 10 ns setup2 58 tHVCL HOLD 10 -- 5 -- 5 -- ns 62 tCLHAV HLDA valid delay 0 20 0 12 0 10 ns 63 tCHCZ Command lines float delay -- 20 -- 12 -- 10 ns 64 tCHCV Command lines valid delay (after float) -- 25 -- 12 -- 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. This timing must be met to guarantee recognition at the next clock. Am186TMCC Communications Controller Data Sheet 69 Case 1 Ti Ti Ti Case 2 T4 Ti Ti CLKOUT 58 HOLD 62 HLDA 15 AD15-AD0, DEN 18 MCS3-MCS0, PCS7-PCS0 63 A19-A0, S6, RD, WR, BHE, DT/R, S2-S0, WHB, WLB, UCS, LCS, ALE Figure 26. Entering Bus Hold Waveforms Case 1 Ti Ti Ti T1 Case 2 Ti Ti T4 T1 CLKOUT 58 HOLD 62 HLDA 5 AD15-AD0, DEN MCS3-MCS0), PCS7-PCS0) 64 A19-A0, S6, RD, WR, BHE, DT/R, S2-S0, WHB, WLB, UCS, LCS, ALE Figure 27. 70 Exiting Bus Hold Waveforms Am186TMCC Communications Controller Data Sheet Table 18. System Clocks Timing1 Preliminary Parameter No. Symbol 25 MHz Description Min 50 MHz (Commercial Only) 40 MHz Max Unit Min Max Min Max 100 125 80 125 ns CLKIN Requirements for 4x PLL Mode 36 tCKIN X1 period2 37 tCLCK X1 Low time (1.5 V) 45 -- 35 -- ns Not Supported 38 tCHCK X1 High time (1.5 V) 45 -- 35 -- ns 39 tCKHL X1 fall time (3.5 to 1.0 V) -- 5 -- 5 ns 40 tCKLH X1 rise time (1.0 to 3.5 V) -- 5 -- 5 ns CLKIN Requirements for 2x PLL Mode 36 tCKIN X1 period2 80 125 50 125 40 125 ns 37 tCLCK X1 Low time (1.5 V) 35 -- 20 -- 15 -- ns 38 tCHCK X1 High time (1.5 V) 35 -- 20 -- 15 -- ns 39 tCKHL X1 fall time (3.5 to 1.0 V) -- 5 -- 5 -- 5 ns 40 tCKLH X1 rise time (1.0 to 3.5 V) -- 5 -- 5 -- 5 ns CLKIN Requirements for 1x PLL Mode 36 tCKIN X1 period2 40 60 25 60 37 tCLCK X1 Low time (1.5 V) 15 -- 7.5 -- ns 38 tCHCK X1 High time (1.5 V) 15 -- 7.5 -- ns 39 tCKHL X1 fall time (3.5 to 1.0 V) -- 5 -- 5 ns 40 tCKLH X1 rise time (1.0 to 3.5 V) -- 5 -- 5 ns 40 -- 25 -- 20 -- ns Not Supported ns CLKOUT Timing3 42 tCLCL CLKOUT period 43 tCLCH CLKOUT Low time (CL = 50 pF) 0.5tCLCL-2 =18 -- 0.5tCLCL-1.25 =11.25 -- 0.5tCLCL-1 = 9 -- ns 44 tCHCL CLKOUT High time (CL = 50 pF) 0.5tCLCL-2 =18 -- 0.5tCLCL-1.25 =11.25 -- 0.5tCLCL-1 = 9 -- ns 45 tCH1CH2 CLKOUT rise time (1.0 to 3.5 V) -- 3 -- 3 -- 3 ns 46 tCL2CL1 CLKOUT fall time (3.5 to 1.0 V) -- 3 -- 3 -- 3 ns 69 tCICO X1 to CLKOUT skew -- 10 -- 10 -- 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. Testing is performed with equal loading on referenced pins. 3. The PLL requires a maximum of 1 ms to achieve lock after all other operating conditions (VCC) are stable, which is normally achieved by holding RES active for at least 1 ms. Am186TMCC Communications Controller Data Sheet 71 X2 36 37 38 X1 39 40 46 45 CLKOUT 42 69 44 43 Figure 28. System Clock Timing Waveforms--Active Mode (PLL 1x Mode) Table 19. USB Clocks Timing1 Preliminary Parameter No. Symbol 48 MHz Description Unit Min Max CLKIN Requirements for 4x PLL Mode 1 tUCKIN USBX1 period 80 85 ns 2 tUCLCK USBX1 Low time (1.5 V) 35 -- ns 3 tUCHCK USBX1 High time (1.5 V) 35 -- ns 4 tUCKHL USBX1 fall time (3.5 to 1.0 V) -- 5 ns 5 tUCKLH USBX1 rise time (1.0 to 3.5 V) -- 5 ns CLKIN Requirements for 2x PLL Mode 1 tUCKIN USBX1 period 40 42 ns 2 tUCLCK USBX1 Low time (1.5 V) 15 -- ns 3 tUCHCK USBX1 High time (1.5 V) 15 -- ns 4 tUCKHL USBX1 fall time (3.5 to 1.0 V) -- 5 ns 5 tUCKLH USBX1 rise time (1.0 to 3.5 V) -- 5 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. USBX2 1 USBX1 4 2 3 5 Figure 29. USB Clock Timing Waveforms 72 Am186TMCC Communications Controller Data Sheet Table 20. GCI Bus Timing1 Parameter No. Symbol 1 Preliminary Unit Description Min Max tWH Pulse width High 240 -- ns 2 tWL Pulse width Low 240 -- ns 3 tSF Frame setup 70 -- ns 4 tFH Frame hold/clock 20 -- ns 5 tFD Frame delay/clock 0 -- ns 6 tWFH Frame width High 130 -- ns 7 tDSC Data delay/clock -- 1002 ns 8 tDSF Data delay/FSC -- 1002 ns Data hold/clock 702 -- ns 9 tDHC 10 tSD Data setup tWH + 20 -- ns 11 tHD Data hold 50 -- ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. CL = 150 pF. 10 7 GCI_DCL_A 5 11 1 2 3 4 9 6 GCI_FSC_A 8 GCI_DD_A GCI_DU_A Figure 30. GCI Bus Waveforms Am186TMCC Communications Controller Data Sheet 73 Table 21. PCM Highway Timing (Timing Slave)1, 2 Parameter No. Symbol 1 tCLKP 2 3 Preliminary Unit Description Min Max PCM clock period 200 -- ns tWH PCM clock High 80 -- ns tWL PCM clock Low 80 -- ns 4 tHCF Hold time from CLK Low to FSC valid 0 -- ns 5 tDZF Delay time to valid TXD from CLK 1 25 ns 6 tDZF Delay time to valid TXD from FSC 1 25 ns 7 tSUFC Setup time for FSC High to CLK Low 35 -- ns 8 tDCD Delay time from CLK High to TXD valid 1 25 ns 9 tSUDC Setup time from RXD valid to CLK 35 -- ns 10 tHCD Hold time from CLK Low to RXD invalid 5 -- ns 11 tDCT Delay to TSC valid from CLK 1 25 ns 12 tDFT Delay to TSC valid from FSC 1 25 ns 13 tDCLT Delay from CLK Low of last bit to TSC invalid 1 25 ns 14 tHFI Hold time from CLK Low to FSC invalid 0 -- ns 15 tSYNSS Time between successive synchronization pulses 16 -- CLK 16 tWSYN FSC width invalid 8 -- CLK 17 tDTW3 Delay from last bit CLK Low to TXD weak drive 1 25 ns 18 tDTZ Delay from last bit CLK (plus 1) High to TXD disable 1 25 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. TXD becomes valid after the CLK rising edge or FSC enable, whichever is later. 3. During the second half of the last bit transmittal, TXD is driven weak so that other devices can safely drive during this time. 74 Am186TMCC Communications Controller Data Sheet 15 1 16 7 PCM_CLK_x 8 6 4 5 14 1 2 2 18 9 17 10 3 3 4 n n+1 PCM_FSC_x PCM_TXD_x PCM_RXD_x 11 12 13 PCM_TSC_x Notes: Note that the PCM_TXD_x outputs three-state. In the signal description and pin list summary tables, PCM_TXD_x is listed as O-LS-OD (totem pole output/programmable to hold last state of pin/open drain output) because of the following design characteristic. On the last bit to be transmitted in PCM highway mode, PCM_TXD_x will be driven normally during the first 1/2 bit time. During the last 1/2 bit time of the last bit of the transmission, PCM_TXD_x control will be in the hold-last-state condition (LS). In this condition, the output is driven, but at a much weaker strength. This permits another device (external to the microcontroller) to start driving during this time without bus contention problems. After this 1/2 bit time of hold-last-state condition, the PCM_TXD_x pin will be fully three-stated. In some applications, several PCM highway devices may have their PCM_TXD pins tied together. The time slot assigners should be programmed so that only one device is active at any time. The PCM_TSC_x signal permits external bus drivers, possibly to go external to the board. Each PCM_TSC_x signal is opendrain so that multiple PCM_TSC_x pins can be connected together. For example, two Am186CC microcontrollers could be connected on the same PCM highway and (with proper configuration of the time slot assigners) could occupy different time slots. An external bus driver would need to be active for both Am186CC time slots. The open drain on the PCM_TSC_x pins permits them to be wired together to achieve this. Figure 31. PCM Highway Waveforms (Timing Slave) Am186TMCC Communications Controller Data Sheet 75 Table 22. PCM Highway Timing (Timing Master)1 Parameter No. Symbol 1 tDCFH 2 tDCFL Preliminary Description Unit Min Max Delay time from CLK High to FSC High 0 30 ns Delay time from CLK High to FSC Low 0 30 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 1 2 PCM_CLK_x PCM_FSC_x Figure 32. 76 PCM Highway Waveforms (Timing Master) Am186TMCC Communications Controller Data Sheet Table 23. DCE Interface Timing1, 2 Parameter No. Symbol Description 1 tTCLKPER Preliminary Unit Min Max DCE clock period 95 -- ns 2 tTCLKH DCE clock High 40 -- ns 3 tTCLKL DCE clock Low 40 -- ns 4 tTCLKO DCE clock to output delay 1 20 ns 5 tTCLKSU DCE clock setup 15 -- ns 6 tTCLKHD DCE clock hold 5 -- ns 7 tTCLKR DCE clock rise/fall -- 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. Timings are shown with TCLK and RCLK in the default mode without the optional clock inversion. 7 1 DCE_TCLK_x 2 4 DCE_TXD_x 7 3 4 5 6 DCE_CTS_x Figure 33. DCE Transmit Waveforms 7 1 DCE_RCLK_x 5 DCE_RXD_x DCE_RTR_x 2 6 7 3 5 4 4 Figure 34. DCE Receive Waveforms Am186TMCC Communications Controller Data Sheet 77 Table 24. USB Timing1, 2 Preliminary Parameter No. Symbol Unit 48 MHz Description Min Max 1 tR Rise time (Cl = 50 pF) 4 20 ns 2 tF Fall time (Cl = 50 pF) 4 20 ns 3 tJR1 Consecutive transition jitter (measured at crossover point) -18.5 18.5 ns 4 tJR2 Paired transition jitter (measured at crossover point) -9 9 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. 2. Parameters 3 (tJR1) and 4 (tJR2) show jitter for the receiver, not the transmitter. See the USB Version 1.0 specification for more details. Fall Time Rise Time 90% Differential Data Lines (D+/D-) 10% 10% 1 2 Figure 35. USB Data Signal Rise and Fall Times CLK 3 D+/D- Consecutive Transition Paired Transition Figure 36. USB Receiver Jitter Tolerance 78 Am186TMCC Communications Controller Data Sheet 4 Table 25. SSI Timing1 Preliminary Parameter 25 MHz Description 40 MHz 50 MHz (Commercial Only) Unit No. Symbol Min Max Min Max Min Max 1 tCLEV CLKOUT Low to SDEN valid 0 20 0 12 0 10 ns 2 tCLSL CLKOUT Low to SCLK Low 0 20 0 15 0 12 ns 3 tDVSH Data valid to SCLK High 10 -- 5 -- 5 -- ns 4 tSHDX SCLK High to data invalid 3 -- 2 -- 2 -- ns 5 tSLDV SCLK Low to data valid -- 20 -- 12 -- 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. CLKOUT 1 SDEN 2 2 3 SCLK 4 SDATA (RX) 5 SDATA (TX) Notes: 1. SDEN is configured to be active High. 2. SCLK is configured to be CLKOUT/2. 3. Waveforms are shown for "normal" clock mode (i.e., transmit on negative edge of SCLK and receive on positive edge of SCLK). Figure 37. Synchronous Serial Interface Waveforms Am186TMCC Communications Controller Data Sheet 79 DRAM Timing1 Table 26. Preliminary Parameter 25 MHz Description 50 MHz (Commercial Only) 40 MHz Unit No. Symbol Min Max Min Max Min Max 1 tDVCL Data in setup 10 -- 5 -- 5 -- ns 2 tCLDX Data in hold 3 -- 2 -- 2 -- ns 5 tCLAV AD address valid delay 0 20 0 12 0 10 ns 7 tCLDV Data valid delay 0 20 0 12 0 10 ns 15 tCLAZ AD address float delay 0 20 0 12 0 10 ns 20 tCVCTV Control active delay 1 0 20 0 12 0 10 ns 25 tCLRL RD active delay 0 20 0 12 0 10 ns 27 tCLRH RD inactive delay 0 20 0 12 0 10 ns 30 tCLDOX Data hold time 0 -- 0 -- 0 -- ns 31 tCVCTX Control inactive delay 0 20 0 12 0 10 ns 68 tCHAV CLKOUT High to A address valid 0 20 0 12 0 10 ns 402 tCOLV Column address valid delay 0 20 0 12 0 10 ns 403 tCHRAS Change in RAS delay 3 20 3 12 3 10 ns 404 tCHCAS Change in CAS delay 3 20 3 12 3 10 ns Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 35, "Pin List Summary," on page A-12. T4 T1 T2 T3 T4 1 2 CLKOUT 5 AD15-A0 15 Addr. Data 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 402 Row Column 403 403 RAS0, RAS1 404 404 CAS0, CAS1 25 RD Figure 38. DRAM Read Cycle without Wait-States Waveform 80 Am186TMCC Communications Controller Data Sheet 27 T4 T1 T2 TW T3 T4 1 2 CLKOUT 5 15 AD15-AD0 Addr. DATA 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 402 Row Column 403 403 RAS0, RAS1 404 404 CAS0, RAS1 25 27 RD Figure 39. DRAM Read Cycle with Wait-States Waveform T4 T1 T2 T3 T4 CLKOUT 5 7 AD15-AD0 402 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 30 Data Addr. Row Column 403 403 RAS0, RAS1 404 404 CAS0, CAS1 20 31 WR Figure 40. DRAM Write Cycle without Wait-States Waveform Am186TMCC Communications Controller Data Sheet 81 T4 T1 T2 TW T3 T4 CLKOUT 5 7 AD15-AD0 30 Data Addr. 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 402 Row Column 403 403 RAS0, RAS1 404 404 CAS0, CAS1 20 31 WR Figure 41. DRAM Write Cycle with Wait-States Waveform T4 T1 T2 TW1 TW2 TW3 T3 T4 CLKOUT 5 AD15-AD0 15 Addr. 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 402 Row (Invalid) Column (Invalid) 403 403 RAS0, RAS1 404 404 CAS0, CAS1 25 RD Figure 42. 82 DRAM Refresh Cycle Waveform Am186TMCC Communications Controller Data Sheet 27 APPENDIX A--PIN TABLES This appendix contains pin tables for the Am186CC controller. Several different tables are included with the following characteristics: Power-on reset pin defaults including pin numbers and multiplexed functions--Table 27 on page A-2. Multiplexed page A-5. signal trade-offs--Table 28 on Programmable I/O pins ordered by PIO pin number and multiplexed signal name, respectively, including pin numbers, multiplexed functions, and pin configurations following system reset--Table 29 on page A-8 and Table 30 on page A-9. Pinstraps and page A-10. pinstrap options--Table 31 on Pin and signal summary showing signal name and alternate function, pin number, I/O type, maximum load values, power-on reset default function, reset state, POR default operation, hold state, and voltage column--Table 35 on page A-12. For pin tables showing pins sorted by pin number and signal name, respectively, see Table 1, "PQFP Pin Assignments--Sorted by Pin Number" on page 10 and Table 2, "PQFP Pin Assignments--Sorted by Signal Name" on page 11. For s ign al de sc r ipti ons, se e Tabl e 4, " Si gna l Descriptions" on page 14. In all tables the brackets, [ ], indicate alternate, multiplexed functions, and braces, { }, indicate reset configuration pins (pinstraps). The line over a pin name indicates an active Low. The word pin refers to the physical wire; the word signal refers to the electrical signal that flows through it. Am186TMCC Communications Controller Data Sheet A-1 Table 27. Power-On Reset (POR) Pin Defaults POR Default Pin Number Multiplexed Signal Multiplexed Signal Multiplexed Signal PIO Pinstrap 30 31 32 36 37 42 43 44 45 49 50 64 65 69 70 84 85 88 89 90 28 34 38 46 51 66 86 92 29 35 39 47 52 67 87 93 19 14 20 94 18 105 17 98 99 97 57 56 55 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- DS -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- PIO33 PIO8 PIO34 -- PIO30 -- PIO29 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- {ADEN} -- -- -- -- -- -- -- {USBXCVR} -- -- Bus Interface Unit A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 ALE ARDY BHE BSIZE8 DEN DRQ1 DT/R HLDA HOLD RD S0 S1 S2 A-2 Am186TMCC Communications Controller Data Sheet Table 27. Power-On Reset (POR) Pin Defaults (Continued) POR Default Pin Number 54 15 95 96 16 Multiplexed Signal -- -- -- -- -- Multiplexed Signal -- -- -- -- -- S6 SRDY WHB WLB WR Chip Selects LCS 131 RAS0 -- 127 CAS1 -- MCS1 MCS2 128 CAS0 -- PCS0 5 -- -- 6 -- -- PCS1 PCS2 7 -- -- PCS3 8 -- -- 132 -- -- UCS Reset/Clocks CLKOUT 60 -- -- RES 114 -- -- RESOUT 58 -- -- USBX1 75 -- -- USBX2 76 -- -- X1 73 -- -- X2 74 -- -- Interrupts INT0 107 -- -- INT1 109 -- -- INT2 110 -- -- INT3 111 -- -- INT4 112 -- -- INT5 113 -- -- NMI 115 -- -- Synchronous Communications Interfaces Channel A (DCE) DCE_RXD_A 118 GCI_DD_A PCM_RXD_A DCE_TXD_A 119 GCI_DU_A PCM_TXD_A DCE_RCLK_A 117 GCI_DCL_A PCM_CLK_A DCE_TCLK_A 116 GCI_FSC_A PCM_FSC_A High-Speed UART/HDLC Channel D Handshaking TXD_HU 26 -- -- Debug Support QS0 62 -- -- QS1 63 -- -- Universal Serial Bus USBD+ 81 UDPLS -- USBD80 UDMNS -- PIOs PIO0 144 TMRIN1 -- PIO1 143 TMROUT1 -- PIO2 10 PCS5 -- PIO3 9 PCS4 -- PIO4 126 MCS0 -- Multiplexed Signal -- -- -- -- -- PIO Pinstrap -- PIO35 -- -- PIO15 -- -- -- -- -- -- -- -- -- -- -- PIO13 PIO14 -- -- -- -- -- -- -- -- -- -- -- -- {USBSEL1} {USBSEL2} -- -- {ONCE} -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Am186TMCC Communications Controller Data Sheet -- -- -- {CLKSEL2} {UCSX8} A-3 Table 27. Power-On Reset (POR) Pin Defaults (Continued) POR Default PIO5 PIO6 PIO7 PIO9 PIO10 PIO11 PIO12 PIO16 PIO17 PIO18 PIO19 PIO20 PIO21 PIO22 PIO23 PIO24 PIO25 PIO26 PIO27 PIO28 PIO31 PIO32 PIO36 PIO37 PIO38 PIO39 PIO40 PIO41 PIO42 PIO43 PIO44 PIO45 PIO46 PIO47 Reserved1 RSVD_104 RSVD_103 RSVD_102 RSVD_101 Pin Number 129 147 146 124 2 3 4 25 123 122 145 159 22 150 149 157 156 158 142 141 13 11 138 139 137 136 135 134 153 154 152 151 24 23 Multiplexed Signal MCS3 INT8 INT7 DRQ0 SDEN SCLK SDATA RXD_HU DCE_CTS_A DCE_RTR_A INT6 TXD_U UCLK DCE_RCLK_C DCE_TCLK_C CTS_U RTR_U RXD_U TMRIN0 TMROUT0 PCS7 PCS6 DCE_RXD_B DCE_TXD_B DCE_CTS_B DCE_RTR_B DCE_RCLK_B DCE_TCLK_B DCE_RXD_C DCE_TXD_C DCE_CTS_C DCE_RTR_C CTS_HU RTR_HU Multiplexed Signal RAS1 PWD -- -- -- -- -- -- PCM_TSC_A -- -- DCE_TXD_D USBSOF PCM_CLK_C PCM_FSC_C DCE_TCLK_D DCE_RCLK_D DCE_RXD_D -- -- -- -- PCM_RXD_B PCM_TXD_B PCM_TSC_B -- PCM_CLK_B PCM_FSC_B PCM_RXD_C PCM_TXD_C PCM_TSC_C -- DCE_CTS_D DCE_RTR_D Multiplexed Signal -- -- -- -- -- -- -- -- -- -- -- PCM_TXD_D USBSCI -- -- PCM_FSC_D PCM_CLK_D PCM_RXD_D -- -- -- -- -- -- -- -- -- -- -- -- -- -- PCM_TSC_D -- 104 103 102 101 UXVRCV UXVOE UTXDMNS UTXDPLS -- -- -- -- -- -- -- -- Notes: 1. For default operation and reset states, refer to Table 35, "Pin List Summary," on page A-12. A-4 Am186TMCC Communications Controller Data Sheet PIO Pinstrap -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Table 28. DESIRED FUNCTION Interface Multiplexed Signal Trade-offs LOST FUNCTION Name Pin Interface DRAM Name Interface Name Interface Name Interface Name Memory SRAM DRAM LCS 131 RAS0 -- -- -- -- -- -- MCS1 127 CAS1 -- -- -- -- -- -- MCS2 128 CAS0 -- -- -- -- -- -- MCS3 129 RAS1 -- -- -- -- -- -- CAS0 128 CAS1 127 RAS0 RAS1 MCS2 -- -- -- -- -- -- MCS1 -- -- -- -- -- -- 131 LCS -- -- -- -- -- -- 129 MCS3 -- -- -- -- -- -- PCM_RXD_A -- -- GCI_DD_A PIO -- PCM_TXD_A -- -- GCI Channel A SRAM Synchronous Communications Interfaces DCE Channel A DCE Channel B DCE Channel C DCE Channel D PCM Channel A PCM Channel B DCE_RXD_A 118 DCE_TXD_A 119 DCE_RCLK_A PCM Channel A -- GCI_DU_A 117 PCM_CLK_A -- -- GCI_DCL_A -- DCE_TCLK_A 116 PCM_FSC_A -- -- GCI_FSC_A -- DCE_CTS_A 123 PCM_TSC_A -- -- -- PIO17 DCE_RTR_A 122 -- -- -- -- PIO18 DCE_RXD_B 138 DCE_TXD_B 139 PCM Channel B PCM_RXD_B -- -- -- -- PCM_TXD_B -- -- -- -- PIO37 PIO PIO36 DCE_RCLK_B 135 PCM_CLK_B -- -- -- -- PIO40 DCE_TCLK_B 134 PCM_FSC_B -- -- -- -- PIO41 DCE_CTS_B 137 PCM_TSC_B -- -- -- -- PIO38 DCE_RTR_B 136 -- -- -- -- -- PIO39 DCE_RXD_C 153 GCI to PCM Conversion -- PCM_RXD_C -- -- PCM_TXD_C -- -- 150 PCM_CLK_C -- -- DCE_TCLK_C 149 PCM_FSC_C -- DCE_CTS_C DCE_TXD_C 154 DCE_RCLK_C PCM Channel C PIO PIO42 -- PIO43 PCM_CLK_C PIO22 -- PCM_FSC_C PIO23 152 PCM_TSC_C -- -- -- PIO44 DCE_RTR_C 151 -- -- -- -- PIO45 DCE_RXD_D 158 PCM_RXD_D LowSpeed UART RXD_U PCM Channel D PCM_TXD_D PIO PIO26 DCE_TXD_D 159 DCE_RCLK_D 156 DCE_TCLK_D 157 PCM_FSC_D CTS_U DCE_CTS_D 24 PCM_TSC_D -- CTS_HU PIO46 DCE_RTR_D 23 -- -- RTR_HU PIO47 PCM_RXD_A 118 PCM_CLK_D TXD_U HighSpeed UART (Flow Control) RTR_U DCE_RXD_A -- -- DCE_TXD_A -- -- 117 DCE_RCLK_A -- PCM_FSC_A 116 DCE_TCLK_A -- PCM_TXD_A 119 PCM_CLK_A DCE Channel A GCI Channel A PIO20 PIO25 PIO24 GCI_DD_A PIO -- GCI_DU_A -- -- GCI_DCL_A -- -- GCI_FSC_A -- -- PIO17 PCM_TSC_A 123 DCE_CTS_A -- -- PCM_RXD_B 138 DCE_RXD_B -- -- -- -- PCM_TXD_B 139 DCE_TXD_B -- -- -- -- PIO37 PCM_CLK_B 135 DCE_RCLK_B -- -- -- -- PIO40 DCE Channel B PIO PIO36 PCM_FSC_B 134 DCE_TCLK_B -- -- -- -- PIO41 PCM_TSC_B 137 DCE_CTS_B -- -- -- -- PIO38 Am186TMCC Communications Controller Data Sheet A-5 Table 28. DESIRED FUNCTION Multiplexed Signal Trade-offs (Continued) LOST FUNCTION Interface Name Pin Interface Name Interface Name Interface Name Interface Name PCM Channel C PCM_RXD_C 153 DCE_RXD_C -- -- PIO PIO42 154 DCE_TXD_C -- -- PCM_CLK_C 150 DCE_RCLK_C -- -- GCI to PCM Conversion -- PCM_TXD_C DCE Channel C PCM_FSC_C 149 DCE_TCLK_C -- -- PCM_FSC_C PIO23 PCM_TSC_C 152 DCE_CTS_C -- -- -- PIO44 DCE_RXD_D LowSpeed UART RXD_U PCM Channel D LowSpeed UART HighSpeed UART GCI Channel A GCI to PCM Conversion PCM_RXD_D 158 PCM_TXD_D 159 DCE Channel D DCE_TXD_D TXD_U PCM_CLK_D 156 DCE_RCLK_D RTR_U PCM_FSC_D 157 DCE_TCLK_D CTS_U PCM_TSC_D 24 RXD_U 158 TXD_U 159 RTR_U DCE_CTS_D DCE Channel D DCE_RXD_D DCE_TXD_D HighSpeed UART -- PCM Channel D -- PIO43 PCM_CLK_C PIO22 -- PIO PIO26 -- PIO20 -- PIO25 -- PIO24 CTS_HU PCM_RXD_D -- -- PCM_TXD_D -- -- PIO46 PIO PIO26 PIO20 156 DCE_RCLK_D PCM_CLK_D -- -- PIO25 CTS_U 157 DCE_TCLK_D PCM_FSC_D -- -- PIO24 RXD_HU 25 -- -- -- TXD_HU 26 -- -- -- RTR_HU DCE Channel D -- -- PCM Channel D PIO PIO16 -- 23 DCE_RTR_D -- -- -- PIO47 CTS_HU 24 DCE_CTS_D PCM_TSC_D -- -- PIO46 GCI_DD_A 118 PCM_RXD_A -- -- GCI_DU_A 119 PCM_TXD_A -- -- GCI_DCL_A DCE Channel A DCE_RXD_A DCE_TXD_A PCM Channel A PIO -- -- 117 DCE_RCLK_A PCM_CLK_A -- -- -- GCI_FSC_A 116 DCE_TCLK_A PCM_FSC_A -- -- -- PCM_CLK_C 150 PCM_CLK_C -- -- PCM_FSC_C -- -- -- -- -- -- -- -- PIO PIO21 PCM_FSC_C 149 DCE Channel C DCE_RCLK_C Bus Interface DS DCE_TCLK_C PCM Channel C PIO PIO22 PIO23 Miscellaneous 18 Bus Interface DEN DS 18 Clocks UCLK 22 USBSOF 22 USBSCI -- DEN -- -- -- -- USBSOF Clocks USBSCI -- -- UCLK USBSCI -- -- PIO21 22 UCLK USBSOF -- -- PIO21 PIO0 144 TMRIN1 -- -- PIO1 143 TMROUT1 -- -- PIO2 10 PCS5 -- -- Clocks PIOs A-6 -- PIO3 9 PCS4 -- -- PIO4 126 MCS0 -- -- PIO5 129 MCS3 RAS1 -- PIO6 147 INT8 PWD -- PIO7 146 INT7 -- -- PIO8 14 ARDY -- -- PIO9 124 DRQ0 -- -- PIO10 2 SDEN -- -- PIO11 3 SCLK -- -- PIO12 4 SDATA -- -- Am186TMCC Communications Controller Data Sheet Table 28. DESIRED FUNCTION Interface Multiplexed Signal Trade-offs (Continued) LOST FUNCTION Name Pin PIO13 5 Interface PCS0 Name Interface Name -- Interface Name -- PIO14 6 PCS1 -- -- PIO15 16 WR -- -- PIO16 25 RXD_HU -- -- PIO17 123 DCE_CTS_A PCM_TSC_A -- PIO18 122 DCE_RTR_A -- -- PIO19 145 INT6 -- -- PIO20 159 TXD_U DCE_TXD_D PCM_TXD_D PIO21 22 UCLK USBSOF USBSCI PIO22 150 DCE_RCLK_C PCM_CLK_C -- PIO23 149 DCE_TCLK_C PCM_FSC_C -- PIO24 157 CTS_U DCE_TCLK_D PCM_FSC_D PIO25 156 RTR_U DCE_RCLK_D PCM_CLK_D PIO26 158 RXD_U DCE_RXD_D PCM_RXD_D PIO27 142 TMRIN0 -- -- PIO28 141 TMROUT0 -- -- PIO29 17 DT/R -- -- PIO30 18 DEN DS -- PIO31 13 PCS7 -- -- PIO32 11 PCS6 -- -- PIO33 19 ALE -- -- PIO34 20 BHE -- -- PIO35 15 SRDY -- -- PIO36 138 DCE_RXD_B PCM_RXD_B -- PIO37 139 DCE_TXD_B PCM_TXD_B -- PIO38 137 DCE_CTS_B PCM_TSC_B -- PIO39 136 DCE_RTR_B -- -- PIO40 135 DCE_RCLK_B PCM_CLK_B -- PIO41 134 DCE_TCLK_B PCM_FSC_B -- PIO42 153 DCE_RXD_C PCM_RXD_C -- PIO43 154 DCE_TXD_C PCM_TXD_C -- PIO44 152 DCE_CTS_C PCM_TSC_C -- PIO45 151 DCE_RTR_C -- -- PIO46 24 CTS_HU DCE_CTS_D PCM_TSC_D PIO47 23 RTR_HU DCE_RTR_D -- Am186TMCC Communications Controller Data Sheet Interface Name A-7 Table 29. Multiplexed Signal PIOs Sorted by PIO Number Multiplexed Signal Multiplexed Signal Pin Configuration Following System Reset1 PIO No. Pin No. PIO0 144 TMRIN1 -- -- Input with pullup PIO1 143 TMROUT1 -- -- Input with pulldown PIO2 10 PCS5 -- -- Input with pullup PIO3 9 PCS4 -- -- Input with pullup PIO4 126 MCS0 -- -- Input with pullup PIO5 129 MCS3 RAS1 -- Input with pullup PIO6 147 INT8 PWD -- Input with pullup PIO7 146 INT7 -- -- Input with pullup PIO8 14 ARDY -- -- Alternate operation2 PIO9 124 DRQ0 -- -- Input with pulldown PIO10 2 SDEN -- -- Input with pulldown PIO11 3 SCLK -- -- Input with pullup PIO12 4 SDATA -- -- Input with pullup PIO13 5 PCS0 -- -- Alternate operation2 PIO14 6 PCS1 -- -- Alternate operation2 PIO15 16 WR -- -- Alternate operation2 PIO16 25 RXD_HU -- -- Input with pullup PIO17 123 DCE_CTS_A PCM_TSC_A -- Input with pullup PIO18 122 DCE_RTR_A -- -- Input with pullup PIO19 145 INT6 -- -- Input with pullup PIO20 159 TXD_U DCE_TXD_D PCM_TXD_D Input with pullup PIO21 22 UCLK USBSOF USBSCI Input with pullup PIO22 150 DCE_RCLK_C PCM_CLK_C -- Input with pulldown PIO23 149 DCE_TCLK_C PCM_FSC_C -- Input with pulldown PIO24 157 CTS_U DCE_TCLK_D PCM_FSC_D Input with pullup PIO25 156 RTR_U DCE_RCLK_D PCM_CLK_D Input with pullup PIO26 158 RXD_U DCE_RXD_D PCM_RXD_D Input with pullup PIO27 142 TMRIN0 -- -- Input with pullup PIO28 141 TMROUT0 -- -- Input with pulldown PIO29 17 DT/R -- -- Alternate operation2 PIO30 18 DEN DS -- Alternate operation2 PIO31 13 PCS7 -- -- Input with pullup PIO32 11 PCS6 -- -- Input with pullup PIO33 19 ALE -- -- Alternate operation3 PIO34 20 BHE -- -- Alternate operation2 PIO35 15 SRDY -- -- Alternate operation2 PIO36 138 DCE_RXD_B PCM_RXD_B -- Input with pullup PIO37 139 DCE_TXD_B PCM_TXD_B -- Input with pullup PIO38 137 DCE_CTS_B PCM_TSC_B -- Input with pullup PIO39 136 DCE_RTR_B -- -- Input with pullup PIO40 135 DCE_RCLK_B PCM_CLK_B -- Input with pullup PIO41 134 DCE_TCLK_B PCM_FSC_B -- Input with pullup PIO42 153 DCE_RXD_C PCM_RXD_C -- Input with pulldown PIO43 154 DCE_TXD_C PCM_TXD_C -- Input with pulldown PIO44 152 DCE_CTS_C PCM_TSC_C -- Input with pullup PIO45 151 DCE_RTR_C -- -- Input with pullup PIO46 24 CTS_HU DCE_CTS_D PCM_TSC_D Input with pullup PIO47 23 RTR_HU DCE_RTR_D -- Input with pullup Notes: 1. System reset is defined as a power-on reset (i.e., the RES input pin transitioning from its Low to High state) or a reset due to a watchdog timer timeout. 2. When used as a PIO, input with pullup option available. 3. When used as a PIO, input with a pulldown option available. A-8 Am186TMCC Communications Controller Data Sheet Table 30. PIOs Sorted by Signal Name Signal PIO No. Pin No. Multiplexed Signal Multiplexed Signal Pin Configuration Following System Reset1 ALE PIO33 19 -- -- Alternate operation2 ARDY PIO8 14 -- -- Alternate operation3 BHE PIO34 20 -- -- Alternate operation3 CTS_HU PIO46 24 DCE_CTS_D PCM_TSC_D Input with pullup CTS_U PIO24 157 DCE_TCLK_D PCM_FSC_D Input with pullup DCE_CTS_A PIO17 123 PCM_TSC_A -- Input with pullup DCE_CTS_B PIO38 137 PCM_TSC_B -- Input with pullup DCE_CTS_C PIO44 152 PCM_TSC_C -- Input with pullup DCE_RCLK_B PIO40 135 PCM_CLK_B -- Input with pullup DCE_RCLK_C PIO22 150 PCM_CLK_C -- Input with pulldown DCE_RTR_A PIO18 122 -- -- Input with pullup DCE_RTR_B PIO39 136 -- -- Input with pullup DCE_RTR_C PIO45 151 -- -- Input with pullup DCE_RXD_B PIO36 138 PCM_RXD_B -- Input with pullup DCE_RXD_C PIO42 153 PCM_RXD_C -- Input with pulldown DCE_TCLK_B PIO41 134 PCM_FSC_B -- Input with pullup DCE_TCLK_C PIO23 149 PCM_FSC_C -- Input with pulldown DCE_TXD_B PIO37 139 PCM_TXD_B -- Input with pullup DCE_TXD_C PIO43 154 PCM_TXD_C -- Input with pulldown DEN PIO30 18 DS -- Alternate operation3 DRQ0 PIO9 124 -- -- Input with pulldown DT/R PIO29 17 -- -- Alternate operation3 INT6 PIO19 145 -- -- Input with pullup INT7 PIO7 146 -- -- Input with pullup Input with pullup INT8 PIO6 147 PWD -- MCS0 PIO4 126 -- -- Input with pullup MCS3 PIO5 129 RAS1 -- Input with pullup PCS0 PIO13 5 -- -- Alternate operation3 PCS1 PIO14 6 -- -- Alternate operation3 PCS4 PIO3 9 -- -- Input with pullup PCS5 PIO2 10 -- -- Input with pullup PCS6 PIO32 11 -- -- Input with pullup PCS7 PIO31 13 -- -- Input with pullup RTR_HU PIO47 23 DCE_RTR_D -- Input with pullup RTR_U PIO25 156 DCE_RCLK_D PCM_CLK_D Input with pullup RXD_HU PIO16 25 -- -- Input with pullup RXD_U PIO26 158 DCE_RXD_D PCM_RXD_D Input with pullup SCLK PIO11 3 -- -- Input with pullup SDATA PIO12 4 -- -- Input with pullup SDEN PIO10 2 -- -- Input with pulldown SRDY PIO35 15 -- -- Alternate operation3 TMRIN0 PIO27 142 -- -- TMRIN1 PIO0 144 TMROUT0 PIO28 141 -- -- Input with pulldown TMROUT1 PIO1 143 -- -- Input with pulldown TXD_U PIO20 159 DCE_TXD_D PCM_TXD_D Input with pullup UCLK PIO21 22 USBSOF USBSCI Input with pullup WR PIO15 16 -- -- Alternate operation3 Input with pullup Input with pullup Notes: 1. System reset is defined as a power-on reset (i.e., the RES input pin transitioning from its Low to High state) or a reset due to a watchdog timer timeout. 2. When used as a PIO, input with a pulldown option available. 3. When used as a PIO, input with a pullup option available. Am186TMCC Communications Controller Data Sheet A-9 Table 31. Signal Name {ADEN} Multiplexed Signal(s) BHE PIO34 {CLKSEL1} HLDA {CLKSEL2} [PCS4] PIO3 Reset Configuration Pins (Pinstraps)1 Description Address Enable: If {ADEN} is held High or left floating during power-on reset, the address portion of the AD bus (AD15-AD0) is enabled or disabled during LCS, UCS, or other memory bus cycles based on how the software configures the DA bit setting. In this case, the memory address is accessed on the A19-A0 pins. There is a weak internal pullup resistor on {ADEN} so no external pullup is required. This mode of operation reduces power consumption. If {ADEN} is held Low on power-on reset, the AD bus drives both addresses and data, regardless of how software configures the DA bit setting. CPU PLL Mode Select 1 determines the PLL mode for the system clock source. CPU PLL Mode Select 2 is sampled on the rising edge of reset and determines the PLL mode for the system clock source. This pin has an internal pullup resistor that is active only during reset. There are four CPU PLL modes that are selected by the values of {CLKSEL1} and {CLKSEL2} as shown in Table 32. (For details on clocks see "Clock Generation and Control" on page 40.) Table 32. {CLKSEL1} 1 1 0 0 {ONCE} UCS {UCSX8} [MCS0] PIO4 {USBSEL2} PCS1 PIO14 {USBSEL1} PCS0 PIO13 {CLKSEL2} 1 0 1 0 CPU PLL Modes CPU PLL Mode 2X, CPU PLL enabled (default) 4X, CPU PLL enabled 1X, CPU PLL enabled PLL Bypass ONCE Mode Request asserted Low places the Am186CC microcontroller into ONCE mode. Otherwise, the controller operates normally. In ONCE mode, all pins are threestated and remain in that state until a subsequent reset occurs. To guarantee that the controller does not inadvertently enter ONCE mode, {ONCE} has a weak internal pullup resistor that is active only during a reset. A reset ending ONCE mode should be as long as a power-on reset for the PLL to stabilize. Upper Memory Chip Select, 8-Bit Bus asserted Low configures the upper chip select region for an 8-bit bus size. This pin has a pullup resistor that is active only during reset, so no external pullup is required to set the bus to 16-bit mode. USB Clock Mode Selects 1-2 select the USB PLL operating mode. The pins have internal pullups that are active only during reset. The USB PLL can operate in one of three modes. With a crystal and the internal USB oscillator or an external oscillator, the USB PLL can output 4x or 2x the input frequency. The USB PLL can also be disabled and the USB peripheral controller can receive its clock from the CPU PLL, which is the default mode. The pins are encoded as shown in Table 33. (For details on clocks see "Clock Generation and Control" on page 40.) Table 33. USB PLL Modes {USBXCVR} S0 {USBSEL1} 1 {USBSEL2} 1 1 0 0 0 1 0 USB PLL Mode Use system clock (after CPU PLL mode select), USB PLL disabled (default) 4x, USB PLL enabled 2x, USB PLL enabled Reserved USB External Transceiver Enable asserted Low disables the internal USB transceiver and enables the pins needed to hook up an external transceiver. This pin has a pullup resistor that is active only during reset, so no external pullup is required as long as the user ensures that this input is not driven Low during a power-on reset. Notes: 1. A pinstrap is used to enable or disable features based on the state of the pin during an external reset. The pinstrap must be held in its desired state for at least 4.5 clock cycles after the deassertion of RES. The pinstraps are sampled in an external reset only (when RES is asserted), not during an internal watchdog timer-generated reset. A-10 Am186TMCC Communications Controller Data Sheet Table 34. Pin List Table Definitions Pin List Table Column Definitions The following paragraphs describes the individual columns of information in Table 35, "Pin List Summary," on page A-12. The pins are grouped alphabetically by function. Type B Bidirectional Note: All maximum delay numbers should be increased by 0.035 ns for every pF of load (up to a maximum of 150 pF) over the maximum load specified in Table 35 on page A-12. H High LS Programmable to hold last state of pin O Totem pole output OD Open drain output Column #1--Signal Name, [Alternate Function], {Pinstrap} This column denotes the primar y and alternate functions of the pins. Most of the pins that have alternate functions are configured for these functions via firmware modifying values in the Peripheral Control Block. Refer to the Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916, for full documentation of this process. Brackets, [ ], are used to indicate the alternate, multiplexed function of a pin (i.e., not power-on reset default). Braces, { }, are used to indicate the functionality of a pin only during a processor reset. These signals are called pinstraps. To select the desired configuration, the pinstraps are terminated internally with pullup resistors or externally with pulldown resistors. Their state is sampled during a processor reset and latched on the rising edge of reset. The signals must be held in the desired state for 4.5 system clock cycles after the deassertion of reset. Based on the pinstrap's state at the time they are latched, certain features of the Am186CC controller are enabled or disabled. All external termination should be implemented with 10kohm resistors on these signals. T h e pi ns tr a p s a r e l i s t e d i n Ta bl e 3 1 , " R e s e t Configuration Pins (Pinstraps)," on page A-10. Column #2--Pin No. Definition [] Pin alternate function {} Pinstrap pin OD-O Open drain output or totem pole output PD Internal pulldown resistor PU Internal pullup resistor STI STI-OD TS Schmitt trigger Input Schmitt trigger input or open drain output Three-state output Column #4--Max Load (pF) The Max Load column designates the capacitive load at which the I/O timing for that pin is guaranteed. Column #5--POR Default Function The POR Default Function column shows the status of these pins after a power-on reset. In some cases the pin is the function outlined in the "Signal Name" column of the table. The signal name is listed in the POR Default Function column if the signal is the default function and not a PIO after a processor reset. In other cases the pin is a PIO configured as an input. Column #6--Reset State The Reset State column indicates the termination present on the signal at reset (pullup or pulldown) and indicates whether the signal is a three-stated output or a Sc hmitt tr igger input. Refer to Table 34 for abbreviations used in this column. Column #7--POR Default Operation The pin number column identifies the pin number of the individual I/O signal on the package. The POR Default Operation column describes the type of input and/or output that is default pin operation. Refer to Table 34 for abbreviations used in this column. Column #3--Type Column #8--Hold State Definitions of the abbreviations in the Type column are shown in Table 34. The Hold State column shows the state of the pin in hold state. Refer to Table 34 for abbreviations used in this column. Column #9--5 V A "5 V" in the 5-V column indicates 5-V tolerant inputs. These inputs are not damaged and do not draw excess power when driven with levels up to VCC + 2.6 volts. These pins only drive to VCC. Am186TMCC Communications Controller Data Sheet A-11 Table 35. Signal Name [Alternate Function] {Pinstrap} Pin List Summary Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V O 70 A0 TS-PD O TS-PD 5V 31 O 70 A1 TS-PD O TS-PD 5V A2 32 O 70 A2 TS-PD O TS-PD 5V A3 36 O 70 A3 TS-PD O TS-PD 5V A4 37 O 70 A4 TS-PD O TS-PD 5V A5 42 O 70 A5 TS-PD O TS-PD 5V A6 43 O 70 A6 TS-PD O TS-PD 5V A7 44 O 70 A7 TS-PD O TS-PD 5V A8 45 O 70 A8 TS-PD O TS-PD 5V A9 49 O 70 A9 TS-PD O TS-PD 5V A10 50 O 70 A10 TS-PD O TS-PD 5V A11 64 O 70 A11 TS-PD O TS-PD 5V A12 65 O 70 A12 TS-PD O TS-PD 5V A13 69 O 70 A13 TS-PD O TS-PD 5V A14 70 O 70 A14 TS-PD O TS-PD 5V A15 84 O 70 A15 TS-PD O TS-PD 5V A16 85 O 70 A16 TS-PD O TS-PD 5V A17 88 O 70 A17 TS-PD O TS-PD 5V A18 89 O 70 A18 TS-PD O TS-PD 5V A19 90 O 70 A19 TS-PD O TS-PD 5V AD0 28 B 70 AD0 TS-PD B TS 5V AD1 34 B 70 AD1 TS-PD B TS 5V AD2 38 B 70 AD2 TS-PD B TS 5V AD3 46 B 70 AD3 TS-PD B TS 5V AD4 51 B 70 AD4 TS-PD B TS 5V AD5 66 B 70 AD5 TS-PD B TS 5V AD6 86 B 70 AD6 TS-PD B TS 5V AD7 92 B 70 AD7 TS-PD B TS 5V AD8 29 B 70 AD8 TS-PD B TS 5V AD9 35 B 70 AD9 TS-PD B TS 5V AD10 39 B 70 AD10 TS-PD B TS 5V AD11 47 B 70 AD11 TS-PD B TS 5V AD12 52 B 70 AD12 TS-PD B TS 5V AD13 67 B 70 AD13 TS-PD B TS 5V AD14 87 B 70 AD14 TS-PD B TS 5V AD15 93 B 70 AD15 TS-PD B TS 5V ALE [PIO33] 19 O STI-PD [STI] [O] 50 ALE TS-PD O TS-PD 5V ARDY [PIO8] 14 STI-PU STI-PU [STI] [O] 50 ARDY STI-PU STI-PU STI 5V Pin No. Type A0 30 A1 Bus Interface Unit A-12 Am186TMCC Communications Controller Data Sheet Table 35. Pin List Summary (Continued) Signal Name [Alternate Function] {Pinstrap} Pin No. BHE [PIO34] {ADEN} 20 BSIZE8 Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V O STI-PU [STI] [O] STI 50 BHE STI-PU O TS-PU 5V Type 94 O 50 BSIZE8 TS-PU O -- -- DEN [DS] [PIO30] 18 O O STI-PU [STI] [O] 50 DEN TS-PU O TS-PU 5V [DRQ0] PIO9 124 STI-PD STI-PD [STI] [O] 50 PIO9 STI-PD STI-PD [STI] [O] -- 5V DRQ1 105 STI-PD -- DRQ1 STI-PD STI-PD -- 5V DT/R [PIO29] 17 O STI-PU [STI] [O] 50 DT/R TS-PU O TS-PU 5V HLDA {CLKSEL1} 98 O STI 50 HLDA STI-PU O H 5V HOLD 99 STI -- HOLD STI-PD STI H 5V RD 97 O 70 RD TS-PU O TS-PU 5V S0 {USBXCVR} 57 O STI 50 S0 STI-PU O TS 5V S1 56 O 50 S1 TS-PU O TS 5V S2 55 O 50 S2 TS-PU O TS 5V S6 54 O 50 S6 TS-PD O TS 5V SRDY [PIO35] 15 STI-PU STI-PU [STI] [O] 50 SRDY STI-PU STI-PU -- 5V WHB 95 O 70 WHB TS-PU O TS-PU 5V WLB 96 O 70 WLB TS-PU O TS-PU 5V WR [PIO15] 16 O STI-PU [STI] [O] STI 50 WR STI-PU O TS-PU 5V LCS [RAS0] 131 O O 50 LCS TS-PU O TS-PU 5V [MCS0] PIO4 {UCSX8} 126 O STI-PU [STI] [O] STI 50 PIO4 STI-PU STI-PU [STI] [O] TS-PU 5V MCS1 [CAS1] 127 O O 50 MCS1 TS-PU O TS-PU 5V MCS2 [CAS0] 128 O O 50 MCS2 TS-PU O TS-PU 5V [MCS3] [RAS1] PIO5 129 O O STI-PU [STI] [O] 50 PIO5 STI-PU STI-PU [STI] [O] TS-PU 5V PCS0 [PIO13] {USBSEL1} 5 O STI-PU [STI] [O] STI 50 PCS0 STI-PU O TS-PU 5V PCS1 [PIO14] {USBSEL2} 6 O STI-PU [STI] [O] STI 50 PCS1 STI-PU O TS-PU 5V PCS2 7 O 50 PCS2 TS-PU O TS-PU 5V Chip Selects Am186TMCC Communications Controller Data Sheet A-13 Table 35. Pin List Summary (Continued) Signal Name [Alternate Function] {Pinstrap} Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V O 50 PCS3 TS-PU O TS-PU 5V 9 O STI-PU [STI] [O] STI 50 PIO3 STI-PU STI-PU [STI] [O] TS-PU 5V [PCS5] PIO2 10 O STI-PU [STI] [O] 50 PIO2 STI-PU O TS-PU 5V [PCS6] PIO32 11 O STI-PU [STI] [O] 50 PIO32 STI-PU STI-PU [STI] [O] TS-PU 5V [PCS7] PIO31 13 O STI-PU [STI] [O] 50 PIO31 STI-PU STI-PU [STI] [O] TS-PU 5V UCS {ONCE} 132 O STI 50 UCS STI-PU O TS-PU 5V CLKOUT 60 O 70 CLKOUT -- O -- -- RES 114 ST -- RES STI STI -- 5V RESOUT Pin No. Type PCS3 8 [PCS4] PIO3 {CLKSEL2} Reset/Clocks 58 O 50 RESOUT H O -- 5V [UCLK] [USBSOF] [USBSCI] PIO21 22 STI O STI STI-PU [STI] [O] 50 PIO21 STI-PU STI-PU [STI] [O] -- 5V USBX1 75 STI -- USBX1 -- STI -- -- USBX2 76 O -- USBX2 -- O -- -- X1 73 STI -- X1 -- STI -- -- X2 74 O -- X2 -- O -- -- [TMRIN0] PIO27 142 STI-PU STI-PU [STI] [O] 50 PIO27 STI-PU STI-PU [STI] [O] -- 5V [TMRIN1] PIO0 144 STI-PU STI-PU [STI] [O] 50 PIO0 STI-PU STI-PU [STI] [O] -- 5V [TMROUT0] PIO28 141 O STI-PD [STI] [O] 50 PIO28 STI-PD STI-PD [STI] [O] TS 5V [TMROUT1] PIO1 143 O STI-PD [STI] [O] 50 PIO1 STI-PD STI-PD [STI] [O] TS 5V INT0 107 STI -- INT0 STI-PU STI -- 5V INT1 109 STI -- INT1 STI-PU STI -- 5V INT2 110 STI -- INT2 STI-PU STI -- 5V INT3 111 STI -- INT3 STI-PU STI -- 5V INT4 112 STI -- INT4 STI-PU STI -- 5V INT5 Programmable Timers Interrupts 113 STI -- INT5 STI-PU STI -- 5V [INT6] PIO19 145 STI STI-PU [STI] [O] 50 PIO19 STI-PU STI-PU [STI] [O] -- 5V [INT7] PIO7 146 STI STI-PU [STI] [O] 50 PIO7 STI-PU STI-PU [STI] [O] -- 5V A-14 Am186TMCC Communications Controller Data Sheet Table 35. Pin List Summary (Continued) Signal Name [Alternate Function] {Pinstrap} Pin No. [INT8] [PWD] PIO6 147 NMI 115 Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V STI STI STI-PU [STI] [O] 50 PIO6 STI-PU STI-PU [STI] [O] -- 5V STI -- NMI STI-PU STI -- 5V Type Synchronous Communications Interfaces Channel A DCE_RXD_A [GCI_DD_A] [PCM_RXD_A] 118 STI B-OD STI 50 DCE_RXD_A STI-PU STI -- 5V DCE_TXD_A [GCI_DU_A] [PCM_TXD_A] 119 O-OD B-OD O-LS-OD 50 DCE_TXD_A TS-PU OD-O -- 5V DCE_RCLK_A [GCI_DCL_A] [PCM_CLK_A] 117 STI STI STI -- DCE_RCLK_A STI-PU STI -- 5V DCE_TCLK_A [GCI_FSC_A] [PCM_FSC_A] 116 STI STI STI -- DCE_TCLK_A STI-PU STI -- 5V [DCE_CTS_A] [PCM_TSC_A] PIO17 123 STI OD STI-PU [STI] [O] 50 PIO17 STI-PU STI-PU [STI] [O] -- 5V [DCE_RTR_A] PIO18 122 O STI-PU [STI] [O] 30 PIO18 STI-PU STI-PU [STI] [O] -- 5V [DCE_RXD_B] [PCM_RXD_B] PIO36 138 STI STI STI-PU [STI] [O] 50 PIO36 STI-PU STI-PU [STI] [O] -- 5V [DCE_TXD_B] [PCM_TXD_B] PIO37 139 OD-O O-LS-OD STI-PU [STI] [O] 50 PIO37 STI-PU STI-PU [STI] [O] -- 5V [DCE_RCLK_B] [PCM_CLK_B] PIO40 135 STI STI STI-PU [STI] [O] 50 PIO40 STI-PU STI-PU [STI] [O] -- 5V [DCE_TCLK_B] [PCM_FSC_B] PIO41 134 STI STI STI-PU [STI] [O] 50 PIO41 STI-PU STI-PU [STI] [O] -- 5V [DCE_CTS_B] [PCM_TSC_B] PIO38 137 STI OD STI-PU [STI] [O] 50 PIO38 STI-PU STI-PU [STI] [O] -- 5V [DCE_RTR_B] PIO39 136 O STI-PU [STI] [O] 30 PIO39 STI-PU STI-PU [STI] [O] -- 5V [DCE_RXD_C] [PCM_RXD_C] PIO42 153 STI STI STI-PD [STI] [O] 50 PIO42 STI-PD STI-PD [STI] [O] -- 5V [DCE_TXD_C] [PCM_TXD_C] PIO43 154 OD-O O-LS-OD STI-PD [STI] [O] 50 PIO43 STI-PD STI-PD [STI] [O] -- 5V Channel B Channel C Am186TMCC Communications Controller Data Sheet A-15 Table 35. Pin List Summary (Continued) Signal Name [Alternate Function] {Pinstrap} Pin No. [DCE_RCLK_C] [PCM_CLK_C] PIO22 150 [DCE_TCLK_C] [PCM_FSC_C] PIO23 Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V STI STI-O STI-PD [STI] [O] 50 PIO22 STI-PD STI-PD [STI] [O] -- 5V 149 STI STI-O STI-PD [STI] [O] 50 PIO23 STI-PD STI-PD [STI] [O] -- 5V [DCE_CTS_C] [PCM_TSC_C] PIO44 152 STI OD STI-PU [STI] [O] 50 PIO44 STI-PU STI-PU [STI] [O] -- 5V [DCE_RTR_C] PIO45 151 O STI-PU [STI] [O] 30 PIO45 STI-PU STI-PU [STI] [O] -- 5V Type Low-Speed UART/Synchronous Communications Channel D [RXD_U] (UART) [DCE_RXD_D] [PCM_RXD_D] PIO26 158 STI STI STI STI-PU [STI] [O] 50 PIO26 STI-PU STI-PU [STI] [O] -- 5V 159 O OD-O O-LS-OD STI-PU [STI] [O] 50 PIO20 STI-PU STI-PU [STI] [O] -- 5V 157 STI STI STI STI-PU [STI] [O] 50 PIO24 STI-PU STI-PU [STI] [O] -- 5V 156 O STI STI STI-PU [STI] [O] 30 PIO25 STI-PU STI-PU [STI] [O] -- 5V [RXD_HU] PIO16 25 STI STI-PU [STI] [O] 50 PIO16 STI-PU STI-PU [STI] [O] -- 5V TXD_HU [TXD_U] (UART) [DCE_TXD_D] [PCM_TXD_D] PIO20 [CTS_U] (UART) [DCE_TCLK_D] [PCM_FSC_D] PIO24 [RTR_U] (UART) [DCE_RCLK_D] [PCM_CLK_D] PIO25 High-Speed UART 26 O 30 TXD_HU TS-PU O -- 5V [CTS_HU] [DCE_CTS_D] [PCM_TSC_D] PIO46 24 STI STI OD STI-PU [STI] [O] 50 PIO46 STI-PU STI-PU [STI] [O] -- 5V [RTR_HU] [DCE_RTR_D] PIO47 23 O O STI-PU [STI] [O] 30 PIO47 STI-PU STI-PU [STI] [O] -- 5V QS0 62 O 30 QS0 TS-PD O -- 5V QS1 63 O 30 QS1 TS-PD O -- 5V USBD+ [UDPLS] 81 B STI -- USBD+ TS B -- -- USBD[UDMNS] 80 B STI -- USBD- TS B -- -- Debug Support Universal Serial Bus A-16 Am186TMCC Communications Controller Data Sheet Table 35. Pin List Summary (Continued) Signal Name [Alternate Function] {Pinstrap} Pin No. Type Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V Synchronous Serial Interface [SCLK] PIO11 3 O STI-PU [STI] [O] 50 PIO11 STI-PU STI-PU [STI] [O] -- 5V [SDATA] PIO12 4 O STI-PU [STI] [O] 50 PIO12 STI-PU STI-PU [STI] [O] -- 5V [SDEN] PIO10 2 O STI-PD [STI] [O] 50 PIO10 STI-PD STI-PD [STI] [O] -- 5V RSVD_104 [UXVRCV] 104 -- STI -- -- STI-PU -- -- -- RSVD_103 [UXVOE] 103 -- O 50 -- TS-PU -- -- -- RSVD_102 [UTXDMNS] 102 -- O 50 -- PU -- -- -- RSVD_101 [UTXDPLS] 101 -- O 50 -- PU -- -- -- VCC 12 -- -- -- -- -- -- -- VCC 27 -- -- -- -- -- -- -- VCC 40 -- -- -- -- -- -- -- VCC 48 -- -- -- -- -- -- -- VCC 59 -- -- -- -- -- -- -- VCC 68 -- -- -- -- -- -- -- VCC 78 -- -- -- -- -- -- -- VCC 91 -- -- -- -- -- -- -- VCC 106 -- -- -- -- -- -- -- VCC 120 -- -- -- -- -- -- -- VCC 125 -- -- -- -- -- -- -- VCC 133 -- -- -- -- -- -- -- VCC 148 -- -- -- -- -- -- -- VCC 160 -- -- -- -- -- -- -- Reserved Pins Power and Ground VCC_A 77 -- -- -- -- -- -- -- VCC_USB 79 -- -- -- -- -- -- -- VSS 1 -- -- -- -- -- -- -- VSS 21 -- -- -- -- -- -- -- VSS 33 -- -- -- -- -- -- -- VSS 41 -- -- -- -- -- -- -- VSS 53 -- -- -- -- -- -- -- VSS 61 -- -- -- -- -- -- -- VSS 71 -- -- -- -- -- -- -- VSS 83 -- -- -- -- -- -- -- VSS 100 -- -- -- -- -- -- -- VSS 108 -- -- -- -- -- -- -- VSS 121 -- -- -- -- -- -- -- Am186TMCC Communications Controller Data Sheet A-17 Table 35. Pin List Summary (Continued) Signal Name [Alternate Function] {Pinstrap} Pin No. Type VSS 130 VSS Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V -- -- -- -- -- -- -- 140 -- -- -- -- -- -- -- VSS 155 -- -- -- -- -- -- -- VSS_A 72 -- -- -- -- -- -- -- VSS_USB 82 -- -- -- -- -- -- -- A-18 Am186TMCC Communications Controller Data Sheet APPENDIX B--PHYSICAL DIMENSIONS: PQR160, PLASTIC QUAD FLAT PACK (PQFP) Pin 160 25.35 REF 27.90 28.10 31.00 31.40 Pin 120 Pin 1 I.D. 25.35 REF 27.90 28.10 31.00 31.40 Pin 40 Pin 80 3.20 3.60 0.65 BASIC 3.95 MAX 0.25 Min SEATING PLANE 16-038-PQR-1 PQR160 12-22-95 lv Am186TMCC Communications Controller Data Sheet B-1 B-2 Am186TMCC Communications Controller Data Sheet APPENDIX C--CUSTOMER SUPPORT AMD-K6TM-2E Microprocessor AMD-K6TME Microprocessor Am5x86(R) Microprocessor Am486(R)DX Microprocessor ElanSC400 Microcontroller Am386(R)SX/DX Microprocessors ElanTMSC310 Microcontroller ElanSC520 Microcontroller ElanSC410 Microcontroller ElanSC300 Microcontroller Am186CC Communications Controller Am186CH HDLC Microcontroller Am186TMCU USB Microcontroller Am186EM and Am188TMEM Microcontrollers 80C186 and 80C188 Microcontrollers Am186EMLV & Am188EMLV Microcontrollers Am186ES and Am188ES Microcontrollers Am186ER and Am188ER Microcontrollers Am186ESLV & Am188ESLV Microcontrollers 80L186 and 80L188 Microcontrollers Am186ED Microcontroller Am186EDLV Microcontroller -- Microprocessors -- 16- and 32-bit microcontrollers -- 16-bit microcontrollers E86TM Family of Embedded Microprocessors and Microcontrollers Related AMD Products--E86TM Family Devices Device 80C186/80C188 80L186/80L188 Am186TMEM/Am188TMEM Am186EMLV/Am188EMLV Am186ES/Am188ES Am186ESLV/Am188ESLV Am186ED Am186EDLV Am186ER/Am188ER Am186CC Am186CH Am186CU ElanTMSC300 ElanSC310 ElanSC400 ElanSC410 ElanSC520 Am386(R)DX Am386(R)SX Am486(R)DX Am5x86(R) AMD-K6TME AMD-K6TM-2E Description 16-bit microcontroller Low-voltage, 16-bit microcontroller High-performance, 16-bit embedded microcontroller High-performance, 16-bit embedded microcontroller High-performance, 16-bit embedded microcontroller High-performance, 16-bit embedded microcontroller High-performance, 80C186- and 80C188-compatible, 16-bit embedded microcontroller with 8- or 16-bit external data bus High-performance, 80C186- and 80C188-compatible, low-voltage, 16-bit embedded microcontroller with 8- or 16-bit external data bus High-performance, low-voltage, 16-bit embedded microcontroller with 32 Kbyte of internal RAM High-performance, 16-bit embedded communications controller High-performance, 16-bit embedded HDLC microcontroller High-performance, 16-bit embedded USB microcontroller High-performance, highly integrated, low-voltage, 32-bit embedded microcontroller High-performance, single-chip, 32-bit embedded PC/AT microcontroller Single-chip, low-power, PC/AT-compatible microcontroller Single-chip, PC/AT-compatible microcontroller High-performance, 32-bit embedded microcontroller High-performance, 32-bit embedded microprocessor with 32-bit external data bus High-performance, 32-bit embedded microprocessor with 16-bit external data bus High-performance, 32-bit embedded microprocessor with 32-bit external data bus High-performance, 32-bit embedded microprocessor with 32-bit external data bus High-performance, 32-bit embedded microprocessor with 64-bit external data bus High-performance, 32-bit embedded microprocessor with 64-bit external data bus and 3DNow!TM technology Notes: 1. 186 = 16-bit microcontroller and 80C186-compatible (except where noted otherwise); 188 = 16-bit microcontroller with 8-bit external data bus and 80C188-compatible (except where noted otherwise); LV = low voltage Am186TMCC Communications Controller Data Sheet C-1 Related Documents T h e f o l l ow i n g d o c u m e n t s p r o v i d e a d d i t i o n a l information regarding the Am186CC microcontroller. Am186TMCC/CH/CU Microcontrollers User's Manual, order #21914 Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916 Am186TM and Am188TM Family Instruction Set Manual, order #21267 Interfacing an Am186TMCC Communications Controller to an AMD SLACTM Device Using the Enhanced SSI Application Note, order #21921 Other information of interest includes: E86TM Family Products and Development Tools CD, order #21058 Am186CC/CH/CU Microcontroller Customer Development Platform The Am186CC/CH/CU customer development platform (CDP) is provided as a test and development platform for the Am186CC/CH/CU microcontrollers. The Am186CC/CH/CU CDP ships with the Am186CC microcontroller. Because this device suppor ts a superset of the features of the Am186CH HDLC and the Am186CU USB microcontrollers, the development platform can be used to evaluate the Am186CH and the Am186CU devices. The CDP is divided into two major sections: a main board and a development module. The main board serves as the primary platform for silicon evaluation and software development. The board provides connectors for accessing the major communications pe r i ph era l s, sw it ch e s to ea s il y c on fi gu r e th e microcontroller, logic analyzer, and debug headers. The development module, which attaches to the top of the main board, provides ready-to-run hardware for three of the most common communications requirements: A 10 Mbit/s Ethernet connection An ISDN connection (with both an S/T and a U interface) UARTs, PCnet-ISA II (AMD's single-chip Ethernet solution), and several other common peripherals. The CodeKit software comes complete with instructions, royalty-free distribution rights, and software in both binary and source code formats. Third-Party Development Support Products T h e F u s i o n E 8 6 P r o gr a m o f Pa r t n e r s h i p s f o r Application Solutions provides the customer with an array of products designed to meet critical time-tomarket needs. Products and solutions available from the AMD FusionE86 partners include protocol stacks, emulators, hardware and software debuggers, boardlevel products, and software development tools, among others. In addition, mature development tools and applications for the x86 platform are widely available in the general marketplace. Customer Service The AMD customer service network includes U.S. offices, international offices, and a customer training center. Expert technical assistance is available from the AMD worldwide staff of field application engineers and factory support staff to answer E86 and Comm86 family hardware and software development questions. Note: The support telephone numbers listed below are subject to change. For current telephone numbers, refer to www.amd.com/support/literature. Hotline and World Wide Web Support For answers to technical questions, AMD provides e-mail support as well as a toll-free number for direct access to our corporate applications hotline. The AMD World Wide Web home page provides the latest product infor mation, including technical information and data on upcoming product releases. In addition, EPD CodeKit software on the Web site provides tested source code example applications. Corporate Applications Hotline (800) 222-9323 Toll-free for U.S. and Canada 44-(0) 1276-803-299 U.K. and Europe hotline Two POTS interfaces The CDP provides a good starting point for hardware designers, and software development can begin immediately without the normal delay that occurs while waiting for prototypes. Additional contact information is listed on the back of this datasheet. For technical support questions on all E86 and Comm86 products, send e-mail to epd.support@amd.com. The CDP also comes with AMD's CodeKit software that provides customers with pre-written driver software for the major communications peripherals associated with a typical Am186Cx design. Included are drivers for the HDLC channels, USB peripheral controller (for the Am186CU USB microcontroller), C-2 Am186TMCC Communications Controller Data Sheet World Wide Web Home Page To access the AMD home page go to: www.amd.com. Then follow the Embedded Processors link for information about E86 and Comm86 products. Questions, requests, and input concerning AMD's WWW pages can be sent via e-mail to webmaster@amd.com. Documentation and Literature Free information such as data books, user's manuals, data sheets, application notes, the E86TM Family Products and Development Tools CD, order #21058, and other literature is available with a simple phone call. Internationally, contact your local AMD sales office for product literature. Additional contact information is listed on the back of this data sheet. Literature Ordering (800) 222-9323 Toll-free for U.S. and Canada Am186TMCC Communications Controller Data Sheet C-3 C-4 Am186TMCC Communications Controller Data Sheet INDEX A B A19-A0 signals, 14 absolute maximum ratings, 45 AD15-AD0 signals, 14 address and data bus, 14, 17 address bus address bus disable in effect, 36 default operation, 35 description, 14, 17 ALE signal, 14 Am186CC controller architectural overview, 28 block diagram, 28 DC characteristics over commercial and industrial operating ranges, 46 detailed description, 28 distinctive characteristics, 1 general description, 1 I/O circuitry, 44 logic diagram by default pin function, 7 logic diagram by interface, 6 ordering information, 2 pin assignment tables, 10 pin tables (Appendix A), A-1 PQFP package, B-1 related AMD E86 family devices, C-1 signal description table, 14 static operation, 43 applications, 37 32-channel linecard system, 39 ISDN terminal adapter system, 38 ISDN to ethernet low-end router system, 38 architectural overview, 28 ARDY signal, 14 asynchronous communications asynchronous ready waveforms, 69 asynchronous serial ports (description), 31 baud clock, 43 High-Speed UART clocks, 43 High-Speed UART signal descriptions, 23 UART signal descriptions, 22 BHE signal, 15 block diagram, 28 BSIZE8 signal, 15 bus address bus description, 14, 17 bus hold timing, 69 bus status pins, 17 entering bus hold waveforms, 70 exiting bus hold waveforms, 70 bus interface signal list, 14 C capacitance, 46 chip selects description, 34 ranges and DRAM configuration, 14, 20 signal descriptions, 19 CLKOUT signal, 17 clock CLKOUT signal description, 17 clock generation and control, 40 clock sharing by system and USB, 41 crystal parameters, 42 crystal selection, 42 crystal-driven clock source, 42 external clock source, 43 external interface to support clocks, 42-43 features, 40 High-Speed UART clocks, 43 PLL bypass mode, 43 suggested system clock frequencies, clock modes and crystal frequencies, 42 system and USB clock generation, 41 system clock, 40 system interfaces and clock control, 33 UART baud clock, 43 USB clock, 40 USB clock timing waveforms, 72 USB clocks timing, 72 CPU Am186 embedded CPU, 29 CPU PLL modes, A-10 Am186TMCC Communications Controller Data Sheet Index-1 crystal crystal-driven clock source, 42 parameters, 42 selecting a crystal, 42 suggested crystal frequencies, 42 customer support documentation and literature, C-3 hotline and web, C-2 literature ordering, C-3 ordering the Am186CC controller, 2 third-party development support products, C-2 web home page, C-3 E emulation in-circuit emulator support, 37 evaluation platform, C-2 G GCI (general circuit interface) bus timing, 73 bus waveforms, 73 description, 31 signal descriptions, 26 D DC characteristics over commercial and industrial operating ranges, 46 USB, 46 DCE (data communications equipment) DCE interface timing, 77 DCE receive waveforms, 77 DCE transmit waveforms, 77 signal descriptions, 23 DCE_RCLK_A signal, 23 DCE_RCLK_D signal, 25 DCE_RXD_A signal, 23 DCE_RXD_D signal, 24 DCE_TCLK_A signal, 24 DCE_TXD_A signal, 23 debug debug support signals, 19 DEN signal, 15 DMA (direct memory access) DMA request signals, 15 general-purpose DMA channels, 32 SmartDMA channels, 31 documentation, C-3 DRAM chip selects and DRAM configuration, 14 description, 34 read cycle with wait-states waveform, 81 read cycle without wait-states waveform, 80 refresh cycle waveform, 82 signal descriptions, 20 timing, 80 write cycle with wait-states waveform, 82 write cycle without wait-states waveform, 81 driver characteristics - universal serial bus, 45 DRQ1 signal, 15 DT/R signal, 15 Index-2 H HDLC (high-level data link control) channels, 31 signal descriptions, 23 High-Speed UART signal descriptions, 23 HLDA signal, 16 HOLD signal, 16 hotline and world wide web support, C-2 I I/O I/O circuitry, 44 I/O space, 29 programmable I/O (PIO), 32 INT5-INT0 signals, 21 interrupts interrupt controller, 32 signal descriptions, 21 L LCS signal, 19 logic diagram by default pin function, 7 logic diagram by interface, 6 M MCS1 signal, 19 MCS2 signal, 19 memory memory organization, 29 segment register selection rules, 30 memory and peripheral interface, 33 multiplexed functions signal trade-offs, A-5 Am186TMCC Communications Controller Data Sheet N power power consumption calculation, 47 power supply operation, 44 supply connections, 44 supply current, 47 typical ICC versus frequency, 47 PQFP package physical dimensions, B-1 NMI signal, 21 O operating ranges, 45 ordering information, 2 Q P package PQFP physical dimensions, B-1 PCM (pulse-code modulation) highway signal descriptions, 25 timing (timing master), 76 timing (timing slave), 74 waveforms (timing master), 76 waveforms (timing slave), 75 PCS0 signal, 20 PCS1 signal, 20 PCS2 signal, 20 PCS3 signal, 20 peripherals memory and peripheral interface, 33 peripheral timing, 65 peripheral timing waveforms, 65 system interfaces, 32 pins pin and signal tables, 9 pin assignments sorted by pin number, 10 pin assignments sorted by signal name, 11 pin connection diagram, 8 pin defaults, A-2 pin list summary, A-12 pin tables (Appendix A), A-1 pinstraps pinstraps table, A-10 PIO supply current limit, 44 PIO47-PIO0 signals, 22 PIOs (programmable I/Os) description, 32 signal descriptions, 22 sorted by pin number, A-8 sorted by signal name, A-9 PLL (phase-locked loop) modes, A-10 PLL bypass (CPU), A-10 PLL bypass mode, 43 system PLL, 40 USB PLL, 40 PLL bypass mode, 43 POR (power-on reset) pin defaults, A-2 QS1-QS0 signal, 19 R RD signal, 16 read cycle timing, 58 read cycle waveforms, 60 RES signal, 18 reset definition of types, 13 power-on reset pin defaults table, A-2 signals related to reset, 67 timing, 66 waveforms, 66 reset configuration pins See pinstraps, A-10 RESOUT signal, 18 RSVD_101 pin, 18 RSVD_102 pin, 18 RSVD_103 pin, 18 RSVD_104 pin, 18 S S0 signal, 17 S1 signal, 17 S2 signal, 17 S6 signal, 16 serial communications asynchronous serial ports, 31 description, 30 GCI, 31 HDLC, 31 SmartDMA, 31 synchronous serial port, 32 TSAs, 31 USB, 30 Am186TMCC Communications Controller Data Sheet Index-3 signals multiplexed signal trade-offs table, A-5 pin and signal tables, 9 pin assignments sorted by signal name, 11 signal descriptions, 14 signals related to reset, 67 SmartDMA channels, 31 software halt cycle timing, 64 software halt cycle waveforms, 64 SRDY signal, 16 static operation, 43 switching characteristics and waveforms key to switching waveforms, 49 numerical key to switching parameter symbols, 54 over commercial/industrial operating ranges, 58 parameter symbols, 50 synchronous serial interface (SSI) signal descriptions, 23 synchronous ready waveforms, 68 synchronous serial port, 32 timing, 79 waveforms, 79 system system clock timing waveforms, 72 system clocks timing, 71 T thermal characteristics, 48 equations, 48 thermal resistance, 48 timers programmable timers, 32 signal descriptions, 22 timing asynchronous ready waveforms, 69 bus hold, 69 DCE interface, 77 DRAM, 80 external ready cycle, 68 GCI, 73 PCM highway, 74-76 peripheral timing, 65 read cycle timing, 58 reset, 66 software halt cycle, 64 SSI, 79 synchronous ready waveforms, 68 system clocks, 71 USB, 78 USB clocks, 72 write cycle timing, 61 Index-4 TSAs (time slot assigners) description, 31 TXD_HU signal, 23 U UART, 23 asynchronous ready waveforms, 69 asynchronous serial ports (description), 31 baud clock, 43 High-Speed UART clocks, 43 High-Speed UART signal descriptions, 23 UART signal descriptions, 22 UCS signal, 20 universal serial bus driver characteristics, 45 USB clock, 40 clock timing waveforms, 72 clocks timing, 72 data signal rise and fall times, 78 description, 30 external transceiver signals, 26 PLL modes, A-10 receiver jitter tolerance, 78 signal descriptions, 26 system and USB clock generation, 41 timing, 78 USBD- signal, 26 USBD+ signal, 26 USBX1 signal, 18 USBX2 signal, 18 UTXDMNS signal, 27 UTXDPLS signal, 27 UXVOE signal, 27 UXVRCV signal, 27 W watchdog timer description, 33 RES and watchdog timer reset, 18 WHB signal, 17 WLB signal, 17 WR signal, 17 write cycle timing, 61 write cycle waveforms, 63 www home page, C-3 support, C-2 Am186TMCC Communications Controller Data Sheet X X1 signal, 18 X2 signal, 18 Am186TMCC Communications Controller Data Sheet Index-5 Trademarks E 2000 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD logo, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Am5x86, Am386, and Am486 are registered trademarks, and AMD-K6, 3DNow!, Am186, Am188, CodeKit, Comm86, E86, Elan, PCnet, SLAC, and SmartDMA are trademarks of Advanced Micro Devices, Inc. FusionE86 is a service mark of Advanced Micro Devices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies. Disclaimer The contents of this document are provided in connection with Advanced Micro Devices, Inc. ("AMD") products. AMD makes no representations or warranties with respect to the accuracy or completeness of the contents of this publication and reserves the right to make changes to specifications and product descriptions at any time without notice. No license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this publication. Except as set forth in AMD's Standard Terms and Conditions of Sale, AMD assumes no liability whatsoever, and disclaims any express or implied warranty, relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or infringement of any intellectual property right. AMD's products are not designed, intended, authorized or warranted for use as components in systems intended for surgical implant into the body, or in other applications intended to support or sustain life, or in any other application in which the failure of AMD's product could create a situation where personal injury, death, or severe property or environmental damage may occur. AMD reserves the right to discontinue or make changes to its products at any time without notice. (c) 2000 Advanced Micro Devices, Inc. All rights reserved. Am186TMCC Communications Controller Data Sheet