AM188 Advanced Micro Devices, AM188 Datasheet

no-image

AM188

Manufacturer Part Number
AM188
Description
AM188High-Performance, 80C186- and 80C188-Compatible, 16-Bit Embedded Microcontrollers with RAM
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AM18839QE
Manufacturer:
a
Quantity:
33
Part Number:
AM18844MBK
Quantity:
5 510
Part Number:
AM18844MBK
Quantity:
5 510
Part Number:
AM18845MP1
Quantity:
5 510
Part Number:
AM18845MP1
Quantity:
5 510
Part Number:
AM188EM-20KC
Manufacturer:
AMD
Quantity:
20 000
Company:
Part Number:
AM188EM-20KC
Quantity:
533
Part Number:
AM188EM-20VC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM188EM-33VC
Manufacturer:
AMD
Quantity:
20 000
Am186
High-Performance, 80C186- and 80C188-Compatible,
16-Bit Embedded Microcontrollers with RAM
DISTINCTIVE CHARACTERISTICS
n E86
n Memory integration
n High performance
n Enhanced features provide faster access to
n Enhanced integrated peripherals
GENERAL DESCRIPTION
The Am186
p a r t o f t h e A M D E 8 6 ™ f a m i l y o f e m b e d d e d
microcontrollers and microprocessors based on the
x86 architecture. The Am186ER and Am188ER
microcontrollers are the ideal upgrade for designs
r e q u i r i n g 8 0 C 1 8 6 / 8 0 C 1 8 8 m i c r o c o n t r o l l e r
c o m p a t i b i l i t y, i n c r e a s e d p e r f o r m a n c e, s e r i a l
communications, a direct bus interface, and integrated
memory.
The Am186ER and Am188ER microcontrollers
integrate memory and the functions of the CPU,
nonmultiplexed address bus, timers, chip selects,
interrupt controller, DMA controller, PSRAM controller,
w a t c h d o g t i m e r, a s y n c h r o n o u s s e r i a l p o r t ,
synchronous serial interface, and programmable I/O
© Copyright 2000 Advanced Micro Devices, Inc. All rights reserved.
microcontrollers with enhanced bus interface
— Lower system cost with high performance
— 3.3-V
— 32 Kbyte of internal SRAM
— Internal SRAM provides same performance as
— 25-, 33-, 40- and 50-MHz operating frequencies
— Supports zero-wait-state operation at 50 MHz
— 1-Mbyte memory address space
— 64-Kbyte I/O space
memory and various clock input modes
— Nonmultiplexed address bus provides glueless
— Phase-locked loop (PLL) enables processor to
— Thirty-two programmable I/O (PIO) pins
— Asynchronous serial port allows full-duplex, 7-bit
zero-wait-state external memory
with 55-ns external memory
interface to external RAM and ROM
operate at up to four times clock input frequency
or 8-bit data transfers
TM
family 80C186- and 80C188-compatible
TM
ER and Am188
0.3-V operation with 5-V tolerant I/O
TM
ER
and Am188
TM
ER microcontrollers are
TM
ER
n Familiar 80C186 peripherals with enhanced
n Software-compatible with the 80C186 and
n Widely available native development tools,
n Available in the following packages:
(PIO) pins on one chip. Compared to the 80C186/
8 0 C 1 8 8 m i c r o c o n t r o l l e r s, t h e A m 1 8 6 E R a n d
Am188ER microcontrollers enable designers to reduce
the size, power consumption, and cost of embedded
s y s t e m s , w h i l e i n c r e a s i n g f u n c t i o n a l i t y a n d
performance.
The Am186ER and Am188ER microcontrollers have
b e e n d e s i g n e d t o m e e t t h e m o s t c o m m o n
requirements of embedded products developed for the
communications, office automation, mass storage, and
general embedded markets. Specific applications
include feature phones, cellular phones, PBXs,
multiplexers, modems, disk drives, hand-held terminals
and desktop ter minals, fax machines, printers,
photocopiers, and industrial controls.
— DMA to and from asynchronous serial port
— Synchronous serial interface allows half-duplex,
— Reset configuration register
— Additional external interrupts
— Hardware watchdog timer can generate NMI or
— Pseudo static RAM (PSRAM) controller includes
functionality
— Two independent DMA channels
— Programmable interrupt controller with six
— Three programmable 16-bit timers
— Programmable memory and peripheral
— Programmable wait state generator
— Power-save clock mode
80C188 microcontrollers
applications, and system software
— 100-pin, thin quad flat pack (TQFP)
— 100-pin, plastic quad flat pack (PQFP)
bidirectional data transfer to and from ASICs
system reset
auto refresh capability
external interrupts
chip-select logic
Publication# 20732
Issue Date: June 2000
Rev: D Amendment/0

Related parts for AM188

AM188 Summary of contents

Page 1

... The Am186ER and Am188ER microcontrollers have ...

Page 2

... Control PSRAM Registers Control Unit 32 Kbyte SRAM Chip-Select (16K x 16) Unit RD LCS/ONCE0 MCS3/RFSH MCS2–MCS0 PCS3–PCS0 UCS/ONCE1 TM ER and Am188 ER Microcontrollers Data Sheet TMROUT1 TMRIN1 DRQ0 DRQ1 DMA Unit 20-Bit Source Pointers 20-Bit Destination Pointers 16-Bit Count Registers Control ...

Page 3

... Am188™ER MICROCONTROLLER BLOCK DIAGRAM INT2/INTA0 INT3/INTA1/IRQ CLKOUTA INT4 CLKOUTB X2 X1 Clock and Power Interrupt Management Control Unit V CC Watchdog GND Timer (WDT) Control Control Registers Registers RES Control Refresh Registers Control ARDY Unit SRDY S2 S1/IMDIS S0/SREN Bus DT/R Interface DEN Unit ...

Page 4

... MHz – MHz DEVICE NUMBER/DESCRIPTION Am186ER = High-Performance, 80C186-Compatible, 16-Bit Embedded Microcontroller with RAM Am188ER = High-Performance, 80C188-Compatible, 16-Bit Embedded Microcontroller with RAM Valid combinations list configurations planned to be supported in volume for this device. Consult the local AMD sales office to confirm availability of ...

Page 5

... TQFP Pin Assignments—Am186™ER Microcontroller (Sorted by Pin Number) ...................... 17 TQFP Pin Assignments—Am186™ER Microcontroller (Sorted by Pin Name) .......................... 18 TQFP Connection Diagram and Pinouts—A TQFP Pin Assignments—Am188™ER Microcontroller (Sorted by Pin Number) ...................... 20 m TQFP Pin Assignments—A 188™ER Microcontroller (Sorted by Pin Name) ......................... 21 PQFP Connection Diagram and Pinouts— ...

Page 6

... LCS/ONCE0 ................................................................................................................... 33 MCS3/RFSH/PIO25 ....................................................................................................... 33 MCS2–MCS0 (MCS2/PIO24, MCS1/PIO15, MCS0/PIO14) .......................................... 34 NMI ................................................................................................................................ 34 PCS3–PCS0 (PCS3/PIO19, PCS2/PIO18, PCS1/PIO17, PCS0/PIO16) ...................... 34 PCS5/A1/PIO3 ............................................................................................................... 34 PCS6/A2/PIO2 ............................................................................................................... 34 PIO31–PIO0 (Shared) .................................................................................................... 35 RD .................................................................................................................................. 35 RES ................................................................................................................................ 35 RFSH2/ADEN (Am188™ER Microcontroller Only) ........................................................ 35 RXD/PIO28 .................................................................................................................... 35 S2 ................................................................................................................................... 35 S1/IMDIS ........................................................................................................................ 37 S0/SREN ........................................................................................................................ 37 S6/CLKSEL1/PIO29 ....................................................................................................... 37 SCLK/PIO20 .................................................................................................................. 37 SDATA/PIO21 ................................................................................................................ 37 SDEN1/PIO23, SDEN0/PIO22 ....................................................................................... 37 SRDY/PIO6 .................................................................................................................... 38 TMRIN0/PIO11 .............................................................................................................. 38 TMRIN1/PIO0 ................................................................................................................ 38 TMROUT0/PIO10 .......................................................................................................... 38 TMROUT1/PIO1 ...

Page 7

... Write Cycle (25 MHz and 33 MHz) ................................................................................ 73 Switching Characteristics over Commercial and Industrial Operating Ranges, Write Cycle (40 MHz and 50 MHz) ................................................................................ 74 Write Cycle Waveforms ................................................................................................. 75 Switching Characteristics over Commercial and Industrial Operating Ranges, Internal RAM Show Read Cycle (25 MHz and 33 MHz) ................................................ 76 TM Am186 TM ER and Am188 ER Microcontrollers Data Sheet 7 ...

Page 8

... Reset Waveforms ........................................................................................................ 100 Signals Related to Reset Waveforms .......................................................................... 100 Bus Hold Waveforms—Entering .................................................................................. 101 Bus Hold Waveforms—Leaving ................................................................................... 101 Switching Characteristics over Commercial and Industrial Operating Ranges, Synchronous Serial Interface (SSI) (25 MHz and 33 MHz) ......................................... 102 TM 8 Am186 TM ER and Am188 ER Microcontrollers Data Sheet ...

Page 9

... Am186™ER Microcontroller—Address Bus Disable in Effect ............................... 42 Figure 6. Am188™ER Microcontroller Address Bus—Normal Operation ............................. 43 Figure 7. Am188™ER Microcontroller—Address Bus Disable in Effect ............................... 43 Figure 8. Am186™ER and Am188™ER Microcontrollers Oscillator Configurations ............ 45 Figure 9. Peripheral Control Block Register Map .................................................................. 46 Figure 10. Clock Organization ................................................................................................ 48 Figure 11. ...

Page 10

... May 2000 D feature, "a PSRAM controller" was added. Under “HOLD” on page 32, the sentence, "A HOLD request is second only to DRAM or PSRAM May 2000 D refresh requests in priority of activity requests received by the processor." is changed Am186 TM ER and Am188 ER Microcontrollers Data Sheet ...

Page 11

... In “Read Cycle Waveforms” on page 72, the UZI line in the diagram was changed. May 2000 D In “Write Cycle Waveforms” on page 75, the UZI line in the diagram was changed. May 2000 D Added the diagram, Table 11, “ARDY and SRDY Synchronization Logic Diagram,” on page 49. May 2000 D Added an index. TM Am186 ER and Am188 TM ER Microcontrollers Data Sheet 11 ...

Page 12

... Microcontroller ÉlanSC400 Microcontroller ÉlanSC410 Microcontroller Am186CC Communications Controller Am186ES and Am188ES Microcontrollers Am186ESLV & Am188ESLV Microcontrollers TM ER and Am188 ER Microcontrollers Data Sheet Am186ED Microcontroller Am186ER and Am188ER Microcontrollers Am186EDLV Microcontroller — Microprocessors — 16- and 32-bit microcontrollers — 16-bit microcontrollers ...

Page 13

... The Advantages of Integrated RAM Technical Bul- letin (Available only at www.amd.com/products/ epd/techdocs.) A full description of the Am186ER and Am188ER mi- crocontrollers’ registers and instructions is included in the Am186ER and Am188ER Microcontrollers User’s Manual listed above. To order literature, contact the nearest AMD sales of- fice or call the literature center at one of the numbers listed on the back cover of this manual ...

Page 14

... Both multiplexed and nonmultiplexed address buses are available on the Am186ER and Am188ER microcontrollers. The nonmultiplexed address bus eliminates system-support logic ordinarily needed to interface with external memory devices, while the mul- ...

Page 15

... Data UCS LCS PIOs LATCH Serial PCS0 Timer 0–2 INT3 INT2–INT0 DMA 0–1 20 MHz CLKOUT Typical 80C186 System Design TM ER and Am188 ER Microcontrollers Data Sheet Am186ER Am29F400 Flash Microcontroller A19–A0 Address X1 Data AD15–AD0 RD OE UCS CS 32 Kbyte SRAM Timer 0– ...

Page 16

... V CC AD14 16 AD7 17 AD15 18 19 S6/CLKSEL1 20 UZI/CLKSEL2 TXD 21 RXD 22 SDATA 23 SDEN1 24 SDEN0 25 Notes: Pin 1 is marked for orientation Am186 Am186ER Microcontroller TM ER and Am188 ER Microcontrollers Data Sheet 75 INT4 74 MCS1 73 MCS0 72 DEN 71 DT/R 70 NMI 69 SRDY 68 HOLD 67 HLDA 66 WLB 65 WHB 64 GND ...

Page 17

... HOLD SRDY/PIO6 CC 45 A17/PIO7 70 NMI 46 A16 71 DT/R/PIO4 47 A15 72 DEN/PIO5 48 A14 73 MCS0/PIO14 49 A13 74 MCS1/PIO15 50 A12 75 INT4 TM ER and Am188 ER Microcontrollers Data Sheet Pin No. Name 76 INT3/INTA1/IRQ 77 INT2/INTA0 78 INT1/SELECT 79 INT0 80 UCS/ONCE1 81 LCS/ONCE0 82 PCS6/A2/PIO2 83 PCS5/A1/PIO3 PCS3/PIO19 86 PCS2/PIO18 87 GND 88 PCS1/PIO17 89 PCS0/PIO16 ...

Page 18

... MCS2 31 MCS3/RFSH 27 NMI 39 PCS0/PIO16 40 PCS1/PIO17 72 PCS2/PIO18 100 PCS3/PIO19 99 PCS5/A1/PIO3 71 PCS6/A2/PIO2 RES 41 RXD 64 S0/SREN 87 S1/IMDIS TM ER and Am188 ER Microcontrollers Data Sheet No. Pin Name No S6/CLKSEL1/PIO29 19 68 SCLK/PIO20 26 79 SDATA/PIO21 23 78 SDEN0/PIO22 25 77 SDEN1/PIO23 24 76 SRDY/PIO6 69 75 TMRIN0/PIO11 98 81 ...

Page 19

... TQFP CONNECTION DIAGRAM AND PINOUTS—Am188™ER MICROCONTROLLER Top Side View—100-Pin Thin Quad Flat Pack (TQFP) AD0 1 AO8 2 AD1 3 AO9 4 AD2 5 AO10 6 AD3 7 AO11 8 AD4 9 AO12 10 AD5 11 GND 12 AO13 13 AD6 AO14 16 AD7 17 AO15 18 19 S6/CLKSEL1 20 UZI/CLKSEL2 TXD 21 RXD ...

Page 20

... TQFP PIN ASSIGNMENTS—Am188™ER MICROCONTROLLER (Sorted by Pin Number) Pin No. Name Pin No. Name 1 AD0 2 AO8 3 AD1 4 AO9 5 AD2 6 AO10 7 AD3 8 AO11 9 AD4 10 AO12 11 AD5 12 GND 13 AO13 14 AD6 AO14 17 AD7 18 AO15 19 S6/CLKSEL1/PIO29 20 UZI/CLKSEL2/PIO26 21 TXD/PIO27 22 RXD/PIO28 23 SDATA/PIO21 24 SDEN1/PIO23 25 SDEN0/PIO22 TM 20 Am186 Pin No ...

Page 21

... TQFP PIN ASSIGNMENTS—Am188™ER MICROCONTROLLER (Sorted by Pin Name) Pin Name No. Pin Name A0 63 AD5 A1 62 AD6 A2 60 AD7 A3 59 ALE A4 58 AO8 A5 57 AO9 A6 56 AO10 A7 55 AO11 A8 54 AO12 A9 53 AO13 A10 52 AO14 A11 51 AO15 A12 50 ARDY A13 49 CLKOUTA ...

Page 22

... A18 A17 23 A16 24 A15 25 A14 26 A13 27 A12 28 A11 29 A10 30 A9 Notes: Pin 1 is marked for orientation Am186 Am186ER Microcontroller TM ER and Am188 ER Microcontrollers Data Sheet 80 AD1 79 AD8 78 AD0 77 DRQ0 76 DRQ1 75 TMRIN0 74 TMROUT0 73 TMROUT1 72 TMRIN1 71 RES 70 GND 69 MCS3/RFSH 68 MCS2 67 ...

Page 23

... PCS0/PIO16 WHB WLB 68 MCS2/PIO24 HLDA 69 MCS3/RFSH/PIO25 HOLD 70 GND SRDY/PIO6 71 RES NMI 72 TMRIN1/PIO0 DT/R/PIO4 73 TMROUT1/PIO1 DEN/PIO5 74 TMROUT0/PIO10 MCS0/PIO14 75 TMRIN0/PIO11 TM ER and Am188 ER Microcontrollers Data Sheet Pin No. Name 76 DRQ1/PIO13 77 DRQ0/PIO12 78 AD0 79 AD8 80 AD1 81 AD9 82 AD2 83 AD10 84 AD3 85 AD11 86 AD4 87 AD12 88 AD5 89 GND ...

Page 24

... MCS1/PIO15 7 MCS2/PIO24 8 MCS3/RFSH/PIO25 4 NMI 16 PCS0/PIO16 17 PCS1/PIO17 49 PCS2/PIO18 77 PCS3/PIO19 76 PCS5/A1/PIO3 48 PCS6/A2/PIO2 RES 41 RXD/PIO28 64 S0/SREN 70 S1/IMDIS TM ER and Am188 ER Microcontrollers Data Sheet No. Pin Name No S6/CLKSEL1/PIO29 96 45 SCLK/PIO20 3 56 SDATA/PIO21 100 55 SDEN0/PIO22 2 54 SDEN1/PIO23 1 53 SRDY/PIO6 46 52 TMRIN0/PIO11 75 58 ...

Page 25

... PQFP CONNECTION DIAGRAM AND PINOUTS—Am188™ER MICROCONTROLLER Top Side View—100-Pin Plastic Quad Flat Pack (PQFP) 1 SDEN1 2 SDEN0 3 SCLK 4 RFSH2/ADEN ALE 8 ARDY S1/IMDIS S0/SREN 11 12 GND CLKOUTA 16 17 CLKOUTB 18 GND 19 A19 20 A18 ...

Page 26

... PQFP PIN ASSIGNMENTS—Am188™ER MICROCONTROLLER (Sorted by Pin Number) Pin No. Name Pin No. Name 1 SDEN1/PIO23 26 2 SDEN0/PIO22 27 3 SCLK/PIO20 28 4 RFSH2/ADEN ALE 32 8 ARDY S1/IMDIS 35 11 S0/SREN 36 12 GND CLKOUTA ...

Page 27

... PQFP PIN ASSIGNMENTS—Am188™ER MICROCONTROLLER (Sorted by Pin Name) Pin Name No. Pin Name A0 40 AD5 A1 39 AD6 A2 37 AD7 A3 36 ALE A4 35 AO8 A5 34 AO9 A6 33 AO10 A7 32 AO11 A8 31 AO12 A9 30 AO13 A10 29 AO14 A11 28 AO15 A12 27 ARDY A13 26 CLKOUTA ...

Page 28

... MCS2–MCS0 HLDA RD WR DT/R DEN ARDY SRDY BHE/ADEN WHB DRQ1–DRQ0 WLB TMRIN0 TMROUT0 TMRIN1 TMROUT1 SDEN1–SDEN0 PIO32–PIO0 TM ER and Am188 ER Microcontrollers Data Sheet RES INT4 * Reset Control and INT2/INTA0 Interrupt Service * INT0 NMI PCS6/A2 * PCS5/ PCS3–PCS0 * Memory and ...

Page 29

... ALE S2 S0/SREN HOLD HLDA RD WR DT/R DEN ARDY SRDY RFSH2/ADEN WB TMRIN0 TMROUT0 TMRIN1 TMROUT1 SDEN1–SDEN0 PIO31–PIO0 TM ER and Am188 ER Microcontrollers Data Sheet RES INT4 * Reset Control and INT2/INTA0 Interrupt Service * INT0 NMI PCS6/A2 * PCS5/ PCS3–PCS0 * Memory and LCS/ONCE0 Peripheral Control ...

Page 30

... Pins Used by Emulators The following pins are used by emulators: A19–A0, AO15–AO8, AD7–AD0, ALE, BHE/ADEN (on the Am186ER microcontroller), CLKOUTA, RFSH2/ADEN (on the Am188ER microcontroller), RD, S2, S1/IMDIS, S0/SREN, S6/CLKSEL1, and UZI/CLKSEL2. Emulators require that S6/CLKSEL1 and UZI/ CLKSEL2 be configured in their normal functionality, that is and UZI ...

Page 31

... This pin indicates to the system that an address ap- pears on the address and data bus (AD15–AD0 for the Am186ER microcontroller or AO15–AO8 and AD7–AD0 for the Am188ER microcontroller). The ad- dress is guaranteed valid on the trailing edge of ALE. This pin is three-stated during ONCE mode. ...

Page 32

... HLDA pin description Am186 The Am186ER and Am188ER microcontrollers’ HOLD latency time, the time between HOLD request and HOLD acknowledge function of the activity occur- ring in the processor when the HOLD request is re- ceived. A HOLD request is second only to DRAM or PSRAM refresh requests in priority of activity requests received by the processor ...

Page 33

... PSRAM devices only enabled to function as a refresh pulse when the PSRAM mode bit is set in the LMCS Register. An active Low pulse is generated for 1.5 clock cycles with an adequate deassertion pe- riod to ensure that overall auto refresh cycle time is met and Am188 ER Microcontrollers Data Sheet 33 ...

Page 34

... PCS3–PCS0 are held High during a bus hold condition. They are also held High during reset. PCS4 is not available on the Am186ER and Am188ER microcontrollers. Unlike the UCS/LCS chip selects, the PCS outputs as- sert with the multiplexed AD address bus. Note also ...

Page 35

... I/O pins. Each PIO can be programmed with the following attributes: PIO func- tion (enabled/disabled), direction (input/output), and weak pullup or pulldown. On the Am186ER and Am188ER microcontrollers, the internal pullup resistor has a value of approximately 100 kohms. The internal pulldown resistor has a value of approximately 100 kohms. ...

Page 36

... S2–S0, RES, NMI, CLKOUTA, BHE, ALE, AD15–AD0, and A16–A0.) 2. These pins revert to normal operation if BHE/ADEN (Am186ER microcontroller) or RFSH2/ADEN (Am188ER microcontroller) is held Low during power-on reset. 3. When used as a PIO, input with pullup option available. 4. When used as a PIO, input with pulldown option available. ...

Page 37

... S6 is three-stated. TM Am186 CLKSEL1—The clocking mode of the Am186ER and Am188ER microcontrollers is controlled by UZI/ CLKSEL2/PIO26 and S6/CLKSEL1/PIO29. Both CLKSEL2 and CLKSEL1 are held High during power- on reset because of an internal pullup resistor. This is the default clocking mode—Times Four. If CLKSEL1 is ...

Page 38

... ORing it with bits 15–10 of the address and data bus (AD15–AD10 on the Am186ER microcontroller and AO15–AO10 on the Am188ER microcontroller). UZI is the logical AND of the inverted A19–A16 bits. UZI is not held throughout the cycle. UZI is asserted in the first period and deasserted in the second period of a bus cycle ...

Page 39

... This pin and the X1 pin provide connections for a fun- damental mode crystal used by the internal oscillator circuit. If providing an external clock source, connect the source to X1 and leave X2 unconnected. Unlike the rest of the pins on the Am186ER and Am188ER micro- controllers not 5-V tolerant and Am188 ER Microcontrollers Data Sheet ...

Page 40

... The Am186ER and Am188ER microcontrollers are backward compatible with the 80C186/80C188 and Am186/Am188 micro- controllers. A full description of the Am186ER and Am188ER mi- crocontrollers’ registers and instructions is included in the Am186ER and Am188ER Microcontrollers User’s Manual , order #21684. ...

Page 41

... Byte Write Enables The Am186ER microcontroller provides the WHB (Write High Byte) and WLB (Write Low Byte) signals which act as byte write enables. The Am188ER micro- controller provides the WB (Write Byte) signal which acts as a write enable. WHB is the logical AND of BHE and WR. WHB is Low when both BHE and WR are Low ...

Page 42

... Figure 5. Am186™ER Microcontroller—Address Bus Disable in Effect TM 42 Am186 Address Phase Address Address Address Address Phase Address TM ER and Am188 ER Microcontrollers Data Sheet Data Phase Data Data Data Phase Data Data Data ...

Page 43

... Figure 6. Am188™ER Microcontroller Address Bus—Normal Operation t Address Phase CLKOUTA A19–A0 AD7–AD0 (Read) AO15–AO8 AD7–AD0 (Write) LCS or UCS Figure 7. Am188™ER Microcontroller—Address Bus Disable in Effect TM TM Am186 ER and Am188 Data Phase Address Data ...

Page 44

... Phase-Locked Loop (PLL traditional 80C186/80C188 design, the internal clock frequency is half the frequency of the crystal. Because of the internal PLL on the Am186ER and Am188ER micro- controllers, the internal clock generated by both micro- controllers can operate four times the frequency of the crystal. The Am186ER and Am188ER microcon- trollers operate in the following modes: n Divide by Two— ...

Page 45

... X2 Am188ER/ Am186ER Microcontroller a. External Clock Configuration Notes: X1 and X2 are not 5-V tolerant. The X1 maximum input is V Figure 8. Am186™ER and Am188™ER Microcontrollers Oscillator Configurations TM Am186 where C is the stray capacitance of the circuit. Placing S the crystal and C fier and tuning these values (C to oscillate at resonance ...

Page 46

... Low Memory Chip Select Register Upper Memory Chip Select Register Serial Port Receive Register Serial Port Transmit Register Serial Port Status Register Serial Port Control Register TM ER and Am188 ER Microcontrollers Data Sheet Note: Gaps in offset addresses indicate reserved registers. No access should be made to reserved registers ...

Page 47

... Synchronous Serial Transmit 0 Register 16 Synchronous Serial Transmit 1 Register 14 Synchronous Serial Enable Register 12 Synchronous Serial Status Register 10 Figure 9. Peripheral Control Block Register Map (Continued) TM Am186 ER and Am188 Notes: Gaps in offset addresses indicate reserved registers. No access should be made to reserved registers. Changed from original Am186 microcontroller TM ...

Page 48

... CLKSEL1 Notes: 1. Set via PDCON Register System Clocks The base system clock of the original Am186/Am188 microcontrollers is renamed CLKOUTA and the addi- tional output is called CLKOUTB. CLKOUTA and CLK- OUTB operate at either the fundamental processor frequency or the CPU clock (power-save) frequency. Figure 10 shows the organization of the clocks. ...

Page 49

... Ready and Wait-State Programming The Am186ER and Am188ER microcontrollers can be programmed to sense a ready signal for each of the ex- ternal peripheral or memory chip-select lines. The ex- ternal ready signal can be either the ARDY or SRDY signal as shown in Figure 11 ...

Page 50

... Memory Maps There are several possible ways to configure the ad- dress space of the Am186ER and Am188ER microcon- 1 Mbyte External Flash External Flash (UCS) 512 Kbytes External RAM 32 Kbytes Internal RAM Internal RAM 0 Kbyte 512 Kbytes Flash 256 Kbytes Flash No External RAM Internal RAM at 0 ...

Page 51

... LCS pin has tradition- ally been used to control data memory. The LCS pin is not active on reset. The Am186ER and Am188ER mi- crocontrollers also allow the IMCS Register and inter- nal memory to be programmed to address 0. This would allow the internal memory to be used for the in- terrupt vector table and data memory ...

Page 52

... The Am186ER and Am188ER microcontrollers provide six chip selects, PCS6–PCS5 and PCS3–PCS0, for use within a user-locatable memory or I/O block. PCS4 is not available on the Am186ER and Am188ER micro- controllers. The base address of the memory block can be located anywhere within the 1-Mbyte memory ad- ...

Page 53

... Am186ER and Am188ER microcontrollers. Use of the WDT is recommended for applications requir- ing this reset functionality. To maintain compatibility with previous versions of the Am186ER and Am188ER mi- crocontrollers, Timer 1 can be configured as a watchdog timer and can generate a maskable watchdog timer in- terrupt. The maskable watchdog timer interrupt provides a mechanism for detecting software crashes or hangs ...

Page 54

... DIRECT MEMORY ACCESS Direct memory access (DMA) permits transfer of data between memory and peripherals without CPU involve- ment. The DMA unit in the Am186ER and Am188ER microcontrollers, shown in Figure 13, provides two high-speed DMA channels. Data transfers can occur between memory and I/O spaces (e.g., memory to I/O) or within the same space (e ...

Page 55

... All registers can be modified during any DMA ac- tivity. Any changes made to the DMA registers are reflected immediately in DMA operation. The Am188ER microcontroller’s maximum DMA trans- fer rates are half that of those listed in Table 9 for the Am186ER microcontroller. Table 9. Am186ER Microcontroller Maximum DMA ...

Page 56

... Mbit/s. Unlike the asynchronous serial port, the SSI operates in a master/slave configuration. The Am186ER and Am188ER microcontrollers are the master ports. The SSI interface provides four pins for communicating with system components: two enables (SDEN0 and SDEN1), a clock (SCLK), and a data pin (SDATA) ...

Page 57

... PROGRAMMABLE I/O (PIO) PINS There are 32 pins on the Am186ER and Am188ER mi- crocontrollers that are available as multipurpose sig- nals. Table 3 and Table 4 on page 36 list the PIO pins. Each of these pins can be used as a user-programma- ble input or output signal if the normal shared function is not needed ...

Page 58

... Figure 15. Synchronous Serial Interface Multiple Read TM 58 Am186 PB=1 PB=0 DR/DT=0 DR/DT=1 Poll SSS for PB=0 Write to SSD PB=1 PB=0 DR/DT=0 DR/DT=1 Poll SSS for PB=0 Read from SSR Read from (dummy) SSR TM ER and Am188 ER Microcontrollers Data Sheet PB=1 PB=0 PB=0 DR/DT=0 DR/DT=1 DR/DT=0 Poll SSS for PB=0 Write to SSD Write to SSC, bit DE=0 PB=0 PB=1 PB=0 DR/DT=0 DR/DT=0 DR/DT=1 Poll SSS for PB=0 Write to SSC, ...

Page 59

... Input/Output Circuitry To accommodate current 5-V systems, the Am186ER and Am188ER microcontrollers have 5-V tolerant I/O drivers. The drivers produce TTL-compatible drive out- put (minimum 2.4-V logic High) and receive TTL and CMOS levels ( ...

Page 60

... MHz ............................. 3 2.6 V Where Notes: Operating Ranges define those limits between which the functionality of the device is guaranteed. * Industrial versions of Am186ER and Am188ER microcon- trollers are available in 25- and 33-MHz operating frequen- cies only. Notes –1 Note 8 Note 1 ...

Page 61

... THERMAL CHARACTERISTICS TQFP Package The Am186ER and Am188ER microcontrollers are specified for operation with case temperature ranges from +100 C for a commercial temperature device. Case temperature is measured at the top center of the package as shown in Figure 16. The various temperatures and thermal resistances can be determined using the equations in Figure 17 with information given in Table 10 ...

Page 62

... Typical Ambient Temperatures The typical ambient temperature specifications are based on the following assumptions and calculations: The commercial operating range of the Am186ER and Am188ER microcontrollers is a case temperature 100 degrees Centigrade measured at the top C center of the package. An increase in the ambient temperature causes a proportional increase in T The 50-MHz microcontroller is specified as 3 ...

Page 63

... Mhz 0 fpm Figure 18. Typical Ambient Temperatures for PQFP with Two-Layer Board TM Am186 Linear Feet per Minute Airflow 0 fpm 200 fpm 74.81 78.8 80.2 83.3 83.56 86.2 87.0 89.1 200 fpm Airflow (Linear Feet Per Minute and Am188 ER Microcontrollers Data Sheet 400 fpm 600 fpm 81.43 82.8 85.4 86.5 87.9 88.7 90.4 91.1 600 fpm 400 fpm 63 ...

Page 64

... Figure 19. Typical Ambient Temperatures for TQFP with Two-Layer Board TM 64 Am186 Linear Feet per Minute Airflow 0 fpm 200 fpm 69.5 76.1 76.0 81.2 80.1 84.4 84.2 87.7 200 fpm Airflow (Linear Feet Per Minute and Am188 ER Microcontrollers Data Sheet 400 fpm 600 fpm 80.1 81.4 84.3 85.4 87.0 87.9 89.7 90.4 600 fpm 400 fpm ...

Page 65

... Figure 20. Typical Ambient Temperatures for PQFP with Four-Layer to Six-Layer Board TM Am186 Linear Feet per Minute Airflow 0 fpm 200 fpm 88.0 89.4 90.6 91.6 92.3 93.1 93.8 94.5 200 fpm Airflow (Linear Feet Per Minute and Am188 ER Microcontrollers Data Sheet 400 fpm 600 fpm 90.7 92.0 92.7 93.7 93.9 94.9 95.2 95.9 600 fpm 400 fpm 65 ...

Page 66

... Figure 21. Typical Ambient Temperatures for TQFP with Four-Layer to Six-Layer Board TM 66 Am186 Linear Feet per Minute Airflow 0 fpm 200 fpm 84.1 85.5 87.44 88.5 89.64 90.5 91.84 92.5 200 fpm Airflow (Linear Feet Per Minute and Am188 ER Microcontrollers Data Sheet 400 fpm 600 fpm 86.8 88.1 89.5 90.6 91.4 92.2 93.2 93.9 600 fpm 400 fpm ...

Page 67

... Changing from from May Will be Change Changing from from Don’t Care, Changing, Any Change State Permitted Unknown Does Not Center Apply Line is High- Impedance Off State Invalid Invalid TM ER and Am188 ER Microcontrollers Data Sheet ) state i 67 ...

Page 68

... RHLH t RLRH t SHDX t SLDV t SRYCL t WHDEX t WHDX t WHLH t WLWH TM ER and Am188 ER Microcontrollers Data Sheet No. Description 2 Data in Hold 71 CLKOUTA Low to SDEN Valid 62 HLDA Valid Delay 82 CLKOUTA High to RFSH Invalid 27 RD Inactive Delay 25 RD Active Delay 4 Status Inactive Delay 72 CLKOUTA Low to SCLK Low ...

Page 69

... RFCY t 86 LCRF t 87 AVBL TM ER and Am188 ER Microcontrollers Data Sheet Description CLKOUTA Low Time CLKOUTA High Time CLKOUTA Rise Time CLKOUTA Fall Time SRDY Transition Setup Time SRDY Transition Hold Time ARDY Resolution Transition Setup Time ARDY Active Hold Time ...

Page 70

... CLCL 0 (a) t –3 CLCH (a) t –10=30 CLCL ( –15=65 CLCL with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 33 MHz Max Min Max Unit ...

Page 71

... CLCH t –5=20 CLCL ( • t –10=40 CLCL with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 50 MHz Min Max Unit ...

Page 72

... DEN 19 DT/R 22 S2–S0 3 UZI Notes: * Am186ER microcontroller only ** Am188ER microcontroller only TM 72 Am186 Address 14 7 Address Address BHE Status and Am188 ER Microcontrollers Data Sheet Data ...

Page 73

... CLCL (a) t –3 CLCH t +t –3 CLCL CHCL –3 CHCL /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 33 MHz Max Min Max Unit ...

Page 74

... CLCL (a) t CLCH t +t –1.25 CLCL CHCL –1.25 CHCL /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 50 MHz Max Min Max Unit ...

Page 75

... PCS3–PCS0 DEN DT/R S2–S0 3 UZI Notes: * Am186ER microcontroller only ** Am188ER microcontroller only TM Am186 Address 14 7 Address Address BHE Status and Am188 ER Microcontrollers Data Sheet Data ...

Page 76

... RD Inactive Delay CLRH t 68 CLKOUTA High to A Address Valid CHAV TM 76 Am186 Preliminary 25 MHz Min Max MHz Min and Am188 ER Microcontrollers Data Sheet 33 MHz Min Max Unit ...

Page 77

... Internal RAM Show Read Cycle Waveform CLKOUTA A19–A0 AD15–AD0 5 ALE RD LCS, UCS MCS3–MCS0, PCS6–PCS5, PCS3–PCS0 TM Am186 Address Address and Am188 ER Microcontrollers Data Sheet Data ...

Page 78

... CLCL CLCH –15=65 CLCL 0 (a) t –3 CLCH ( –15=65 CLCL 0 /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 33 MHz Min Max Unit – ...

Page 79

... CLCH –10=40 CLCL 0 (a) t –1.25 CLCH ( –10=40 CLCL 0 /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 50 MHz Max Min Max Unit ...

Page 80

... AD7–AD0** AO15–AO8 ALE RD 27 LCS 80 84 Notes: * Am186ER microcontroller only ** Am188ER microcontroller only TM 80 Am186 Address 7 Address Address and Am188 ER Microcontrollers Data Sheet Data Address ...

Page 81

... CLCH t –10=30 CLCL t +t –3 CLCL CHCL –3 20 CHCL /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 33 MHz Min Max Unit –10=20 ns CLCL ...

Page 82

... CLCH (a) t –10=15 CLCL t +t –1.25 CLCL CHCL –1.25 18 CHCL /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 50 MHz Min Max Unit ...

Page 83

... AD7–AD0** AO15–AO8 ALE WHB*, WLB* 87 WB** LCS 80 84 Notes: * Am186ER microcontroller only ** Am188ER microcontroller only TM Am186 Address 7 Address Address and Am188 ER Microcontrollers Data Sheet Data ...

Page 84

... CLCH CLCL 2t –3 CLCL /2 with 50 pF loading on CLKOUTA unless otherwise noted. All output test conditions CC =0.3 V and V =V –0 and Am188 ER Microcontrollers Data Sheet 33 MHz Min Max Unit –10=20 ns CLCL ...

Page 85

... CLCH CLCL 2t –1.25 CLCL /2 with 50 pF loading on CLKOUTA unless otherwise noted. All output test conditions CC =0.3 V and V =V –0 and Am188 ER Microcontrollers Data Sheet 50 MHz Min Max Unit ...

Page 86

... CLKOUTA A19– ALE LCS RFSH 86 Note: * The period t is fixed at three wait states for PSRAM auto refresh only Am186 Address and Am188 ER Microcontrollers Data Sheet ...

Page 87

... CLAX ( with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 33 MHz Min Max Unit –10=20 ...

Page 88

... CLAX ( 7.5 ( with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 50 MHz Min Max Unit ...

Page 89

... This parameter applies to an interrupt acknowledge cycle that follows a write cycle followed by a write cycle, this change occurs in the state preceding that write cycle. TM Am186 Address Address BHE ( Status . and Am188 ER Microcontrollers Data Sheet (b) 2 Ptr ( (d) 89 ...

Page 90

... CLCL 12 ( with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 33 MHz Min Max Unit –10=20 ns CLCL ...

Page 91

... Software Halt Cycle Waveforms CLKOUTA 68 A19–A0 5 S6, AD15–AD0*, AD7–AD0**, AO15-AO8** ALE 9 DEN 19 DT/R S2–S0 3 Notes: * Am186ER microcontroller only ** Am188ER microcontroller only TM Am186 Invalid Address Status TM ER and Am188 ER Microcontrollers Data Sheet Invalid Address 91 ...

Page 92

... CLCL L 0.5t –2=18 =50 pF) CLCL L /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet 25 MHz Max Unit ...

Page 93

... CLCL L 0.5t –1.5=13.5 =50 pF) CLCL L /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Max Unit 125 ...

Page 94

... CLCL L 0.5t –1.25=11.25 =50 pF) CLCL L /2 with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 50 MHz Max Min Max 125 80 125 Not Supported Not Supported ...

Page 95

... The CLKOUTB Output Frequency (CBF) bit in the Power Save Control Register (PDCON) is set The CLKOUTB Output Frequency (CBF) bit in the Power Save Control Register (PDCON) is cleared Am186 and Am188 ER Microcontrollers Data Sheet ...

Page 96

... MHz Min (a) 5 (a) 2 ( with 50 pF loading on CLKOUTA unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 33 MHz Max Min Max Unit ...

Page 97

... and Am188 ER Microcontrollers Data Sheet ...

Page 98

... Peripheral Waveforms CLKOUTA INT4–INT0, NMI, TMRIN1–TMRIN0 DRQ1–DRQ0 TMROUT1– TMROUT0 TM 98 Am186 and Am188 ER Microcontrollers Data Sheet 55 ...

Page 99

... CLKOUTA, unless otherwise noted. All CC =0.3 V and MHz Min with 50 pF loading on CLKOUTA, unless otherwise noted. All CC =0.3 V and and Am188 ER Microcontrollers Data Sheet Preliminary 33 MHz Max Min Max Unit ...

Page 100

... In Divide by Two mode and Times One mode, S6/CLKSEL1 and UZI/CLKSEL2 must be held for 3 clock cycles after reset negates. ***In Times Four mode, S6/CLKSEL1 and UZI/CLKSEL2 must be held for 5 clock cycles after reset negates. TM 100 Am186 57 Three-State TM ER and Am188 ER Microcontrollers Data Sheet 57 Three-State Three-State ...

Page 101

... CLKOUTA HOLD HLDA AD15–AD0, DEN A19–A0, S6, RD, WR, BHE, DT/R, S2–S0 WHB, WLB TM Am186 Case Case and Am188 ER Microcontrollers Data Sheet 101 ...

Page 102

... MHz Min with 50 pF loading on CLKOUTA, unless otherwise noted. All output test conditions CC =0.3 V and V =V –0 and Am188 ER Microcontrollers Data Sheet Preliminary 33 MHz Max Min Max Unit ...

Page 103

... Synchronous Serial Interface (SSI) Waveforms CLKOUTA SDEN1 or SDEN0 SCLK SDATA (RX) SDATA (TX) Note: SDATA is bidirectional and used for either transmit (TX) or receive (RX). Timing is shown separately for each case. TM Am186 and Am188 ER Microcontrollers Data Sheet 72 DATA 77 75 DATA 103 ...

Page 104

... TQFP PHYSICAL DIMENSIONS PQL 100, Trimmed and Formed Thin Quad Flat Pack 100 1 1.35 1.45 0.17 0.27 1.00 REF. Notes: 1. All measurements are in millimeters, unless otherwise noted. 2. Not to scale; for reference only. TM 104 Am186 13.80 14.20 15.80 16.20 11 – – 13 0.50 BSC TM ER and Am188 ER Microcontrollers Data Sheet 15.80 16.20 13.80 14.20 1.60 MAX 16-038-PQT-2_AI PQL100 9.3.96 lv ...

Page 105

... Plastic Quad Flat Pack Pin 100 12.35 REF Pin 1 I.D. Pin 30 2.70 2.90 0.25 MIN Notes: 1. All measurements are in millimeters, unless otherwise noted. 2. Not to scale; for reference only. TM Am186 17.00 17.40 13.90 14.10 Pin 50 0.65 BASIC TM ER and Am188 ER Microcontrollers Data Sheet Pin 80 18.85 REF 19.90 20.10 23.00 23.40 3.35 MAX SEATING PLANE 16-038-PQR-1_AH PQR100 DP92 6-20-96 lv 105 ...

Page 106

... TM 106 Am186 TM ER and Am188 ER Microcontrollers Data Sheet ...

Page 107

... AO15–AO8, 30 application considerations, 14 ARDY, 31 asynchronous ready waveforms, 97 asynchronous serial port BHE/ADEN, 31 block diagram Am186ER, 2 Am188ER, 3 bus cycle encoding, 37 bus hold waveforms entering, 101 leaving, 101 bus interface unit, 41 bus operation, 41 byte write enables, 41 Am186™CC Communications Controller Data Sheet ...

Page 108

D DC characteristics, 60 demonstration board products, 13 DEN/PIO5, 31 description, 1 functional, 40 direct memory access, 54 DMA Am186ER maximum transfer rates, 55 asynchronous serial port transfers, 55 channel control registers, 55–56 operation, 55 priority, 55–56 transfers through serial ...

Page 109

... RFSH2/ADEN, 35 RXD/PIO28, 35 S0/SREN, 37 S1/IMDIS, 37 S2, 35 S6/CLKSEL1/PIO29, 37 SCLK/PIO20, 37 SDATA/PIO21, 37 SDEN0/PIO22, 37 SDEN1/PIO23, 37 SRDY/PIO6, 38 TMRIN0/PIO11, 38 TMRIN1/PIO0, 38 TMROUT0/PIO10, 38 TMROUT1/PIO1, 38 TXD/PIO27, 38 UCS/ONCE1, 38 used by emulators, 30 UZI/CLKSEL2/PIO26, 38 VCC (Am188ER microcontroller only), 39 WHB, 39 WLB (Am186ER microcontroller only), 39 WR, 39 X1, 39 X2, 39 PIO31–PIO0, 35 plastic quad flat pack, 105 Index-3 ...

Page 110

... PLL, 44 power consumption calculation, 62 power savings, 59 power-save mode clock waveforms, 95 power-save operation, 48 PQFP connection diagram and pinouts Am186ER, 22 Am188ER, 25 PQFP physical dimensions, 105 PQFP pin assignments Am186ER sorted by pin name, 24 sorted by pin number, 23 Am188ER sorted by pin name, 27 sorted by pin number, 26 programmable I/O (PIO) pins, 57 ...

Page 111

... SSI, 103 synchronous ready, 97 synchronous serial interface, 103 write cycle (Am188ER microcontroller only), 39 WHB, 39 WLB (Am186ER microcontroller only), 39 world wide web support, 13 WR, 39 write cycle waveforms, 75 www home page, 13 ...

Page 112

... Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD logo, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Am386, Am5 86, and Am486 are registered trademarks, and Am186, Am188, E86, Élan, and AMD-K6 are trademarks of Advanced Micro x Devices, Inc. ...

Related keywords