at83c5132 ATMEL Corporation, at83c5132 Datasheet

no-image

at83c5132

Manufacturer Part Number
at83c5132
Description
Usb Microcontroller With 64k Bytes Flash Memory
Manufacturer
ATMEL Corporation
Datasheet
Features
Description
The AT89C5132 is a mass storage device controlling data exchange between various
Flash modules, HDD and CD-ROM.
The AT89C5132 includes 64K Bytes of Flash memory and allows In-System Program-
ming through an embedded 4K Bytes of Boot Flash Memory.
The AT89C5132 include 2304 Bytes of RAM memory.
The AT89C5132 provides all the necessary features for man-machine interface
including, timers, keyboard port, serial or parallel interface (USB, SPI, IDE), ADC
input, I
dia, MultiMedia, DataFlash cards).
Typical Applications
Programmable Audio Output for Interfacing with Common Audio DAC
8-bit MCU C51 Core-based (F
2304 Bytes of Internal RAM
64K Bytes of Code Memory
4K Bytes of Boot Flash Memory (AT89C5132)
USB Rev 1.1 Device Controller
Built-in PLL
MultiMedia Card
Atmel DataFlash
IDE/ATAPI Interface
2 Channels 10-bit ADC, 8 kHz (8 True Bits)
Up to 44 Bits of General-purpose I/Os
Two Standard 16-bit Timers/Counters
Hardware Watchdog Timer
Standard Full Duplex UART with Baud Rate Generator
Two Wire Master and Slave Modes Controller
SPI Master and Slave Modes Controller
Power Management
Operating Conditions
Packages
– PCM Format Compatible
– I
– AT89C5132: Flash (100K Write/Erase Cycles)
– ISP: Download from USB or UART to any External Memory Cards
– “Full Speed” Data Transmission
– Battery Voltage Monitoring
– Voice Recording Controlled by Software
– 4-bit Interrupt Keyboard Port for a 4 x n Matrix
– SmartMedia
– Power-on Reset
– Software Programmable MCU Clock
– Idle Mode, Power-down Mode
– 3V, ±10%, 25 mA Typical Operating at 25°C
– Temperature Range: -40°C to +85°C
– TQFP80, PLCC84 (Development Board Only)
– Dice
Flash Recorder/Writer
PDA, Camera, Mobile Phone
PC Add-on
2
2
S Format Compatible
S output, and all external memory interface (NAND or NOR Flash, SmartMe-
®
®
®
Interface Compatibility
Software Interface
SPI Interface Compatibility
MAX
= 20 MHz)
USB
Microcontroller
with 64K Bytes
Flash Memory
AT89C5132
Preliminary
Summary
Rev. 4173CS–USB–07/04

Related parts for at83c5132

at83c5132 Summary of contents

Page 1

Features • Programmable Audio Output for Interfacing with Common Audio DAC – PCM Format Compatible 2 – Format Compatible • 8-bit MCU C51 Core-based (F MAX • 2304 Bytes of Internal RAM • 64K Bytes of Code Memory ...

Page 2

Block Diagram Figure 1. AT89C5132 Block Diagram INT0 INT1 Interrupt Handler Unit RAM 2304 Bytes C51 (X2 CORE) Clock and PLL Unit FILT X1 X2 RST DOUT Notes: 1. Alternate function of Port ...

Page 3

Pin Description 4173CS–USB–07/04 Figure 2. AT89C5132 80-pin TQFP Package ALE 1 ISP 2 P1.0/KIN0 3 P1.1/KIN1 4 P1.2/KIN2 5 P1.3/KIN3 6 P1.4 7 P1.5 8 P1.6/SCL 9 P1.7/SDA 10 VDD 11 PVDD 12 FILT 13 PVSS 14 VSS 15 X2 ...

Page 4

AT89C5132 6 Figure 3. AT89C5132 84-pin PLCC ALE 12 ISP 13 P1.0/KIN0 14 P1.1/KIN1 15 P1.2/KIN2 16 P1.3/KIN3 17 P1.4 18 P1.5 19 P1.6/SCL 20 P1.7/SDA 21 VDD 22 PAVDD 23 FILT 24 PAVSS 25 VSS ...

Page 5

Signals 4173CS–USB–07/04 All the AT89C5132 signals are detailed by functionality in Table 1 to Table 15. Table 1. Ports Signal Description Signal Name Type Description Port 8-bit open-drain bidirectional I/O port. Port 0 pins that have ...

Page 6

AT89C5132 8 Table 3. Timer 0 and Timer 1 Signal Description Signal Name Type Description Timer 0 Gate Input INT0 serves as external run control for timer 0, when selected by GATE0 bit in TCON register. INT0 I External Interrupt ...

Page 7

Table 7. MutiMediaCard Interface Signal Description Signal Name Type Description MMC Clock output MCLK O Data or command clock transfer. MMC Command line Bidirectional command channel used for card initialization and data MCMD I/O transfer commands. To avoid any ...

Page 8

AT89C5132 10 Table 11. A/D Converter Signal Description Signal Name Type Description AIN1:0 I A/D Converter Analog Inputs AREFP I Analog Positive Voltage Reference Input Analog Negative Voltage Reference Input AREFN I This pin is internally connected to AVSS. Table ...

Page 9

Table 14. System Signal Description Signal Name Type Description Reset Input Holding this pin high for 64 oscillator periods while the oscillator is running resets the device. The Port pins are driven to their reset conditions when a voltage ...

Page 10

Internal Pin Structure AT89C5132 12 Table 16. Detailed Internal Pin Structure Circuit VDD Watchdog Output 2 osc periods Latch Output Notes: 1. For information on resistors value, input/output levels, and drive capability, refer to the Section “DC Characteristics”, page 183. ...

Page 11

Address Spaces Code Memory Boot Memory Data Memory 4173CS–USB–07/04 The AT8xC5132 derivatives implement four different address spaces: • Program/Code Memory • Boot Memory • Data Memory • Special Function Registers (SFRs) The AT89C5132 implements 64K Bytes of on-chip program/code memory ...

Page 12

Peripherals Clock Generator System Ports Timers/Counters Watchdog Timer Audio Output Interface Universal Serial Bus Interface MultiMedia Card Interface IDE/ATAPI Interface AT89C5132 16 The AT8xC5132 peripherals are briefly described in the following sections. For further details on how to interface (hardware ...

Page 13

Serial I/O Interface Serial Peripheral Interface Two-wire Controller A/D Controller 4173CS–USB–07/04 The AT89C5132 implements a serial port with its own baud rate generator providing one single synchronous communication mode and three full-duplex Universal Asynchronous Receiver Transmitter (UART) communication modes. It ...

Page 14

Electrical Characteristics Absolute Maximum Ratings Storage Temperature ..................................... -65°C to +150°C V Voltage on any other Pin to SS ..................................... I per I/O Pin ................................................................. Power Dissipation ............................................................. 1 W Ambient Temperature Under Bias.................... -40°C to +85°C ...

Page 15

Table 1. Digital DC Characteristics V = 2 -40° to +85° Symbol Parameter Input Leakage Current (P0, ALE, MCMD, I MDAT, MCLK, SCLK, DCLK, DSEL, LI DOUT) Logical Transition Current ...

Page 16

AT89C5132 20 Figure 2. I Test Condition, Idle Mode DL RST VSS (NC) X2 Clock Signal X1 VSS PVSS UVSS AVSS VSS All other pins are unconnected Figure 3. I Test Condition, Power-Down Mode PD RST VSS (NC ...

Page 17

A-to-D Converter Oscillator and Crystal Schematic Parameters 4173CS–USB–07/04 Table 2. A-to-D Converter DC Characteristics V = 2 -40°C to +85° Symbol Parameter AV Analog Supply Voltage DD Analog Operating Supply AI DD Current ...

Page 18

Phase Lock Loop Schematic Parameters USB Connection Schematic Parameters In-system Programming Schematic Parameters AT89C5132 22 Figure 5. PLL Filter Connection FILT Table 4. PLL Filter Characteristics V = 2 -40° to +85° Symbol ...

Page 19

AC Characteristics External 8-bit Bus Cycles Definition of Symbols Timings 4173CS–USB–07/04 Table 1. External 8-bit Bus Cycles Timing Symbol Definitions Signals A Address D Data In L ALE Q Data Out Test conditions: capacitive load on ...

Page 20

Waveforms AT89C5132 24 Table 3. External 8-bit Bus Cycle – Data Write AC Timings V = 2.7 to 3.3V -40° to +85° Symbol Parameter T Clock Period CLCL T ALE Pulse Width 2·T LHLL T Address ...

Page 21

External IDE 16-bit Bus Cycles Definition of Symbols Timings 4173CS–USB–07/04 Figure 2. External 8-bit Bus Cycle – Data Write Waveforms ALE T LHLL WR T AVWL T T AVLL LLAX P0 A7:0 P2 Table 4. External IDE 16-bit Bus Cycles ...

Page 22

AT89C5132 26 Table 5. External IDE 16-bit Bus Cycle – Data Read AC Timings V = 2.7 to 3.3V -40° to +85° Symbol Parameter T Clock Period CLCL T ALE Pulse Width LHLL T Address Valid ...

Page 23

Waveforms SPI Interface Definition of Symbols 4173CS–USB–07/04 Figure 3. External IDE 16-bit Bus Cycle – Data Read Waveforms ALE T LHLL RLAZ T T AVLL LLAX P0 A7:0 T AVRL T P2 A15:8 Note: D15:8 is written ...

Page 24

Timings AT89C5132 28 Table 8. SPI Interface Master AC Timing V = 2.7 to 3.3V -40° to +85° Symbol Parameter T Clock Period CHCH T Clock High Time CHCX T Clock Low Time CLCX T , ...

Page 25

Waveforms Figure 5. SPI Slave Waveforms (SSCPHA = 0) SS (input) SCK (SSCPOL = 0) (input) SCK (SSCPOL = 1) (input) MISO (output) MOSI (input) Note: 1. Not Defined but generally the MSB of the character which has just been ...

Page 26

Figure 7. SPI Master Waveforms (SSCPHA = 0) SS1 (input) SCK (SSCPOL = 0) (input) SCK (SSCPOL = 1) (input) MISO (output) MOSI (input) Note handled by software using general purpose port pin. Figure 8. SPI Master Waveforms ...

Page 27

Two-wire Interface Timings Waveforms START or Repeated START condition SDA (INPUT/OUTPUT) SCL (INPUT/OUTPUT) 4173CS–USB–07/04 Table 1. TWI Interface AC Timing V = 2 -40 to +85° Symbol Parameter T ; STA Start condition ...

Page 28

MMC Interface Definition of Symbols Timings Waveforms AT89C5132 32 Table 9. MMC Interface Timing Symbol Definitions Signals C Clock D Data In O Data Out Table 10. MMC Interface AC Timings V = 2 -40 ...

Page 29

Audio Interface Definition of Symbols Timings Waveforms 4173CS–USB–07/04 Table 11. Audio Interface Timing Symbol Definitions Signals C Clock O Data Out S Data Select Table 12. Audio Interface AC timings V = 2.7 to 3.3V -40 to +85°C, ...

Page 30

Analog to Digital Converter Definition of Symbols Characteristics Waveforms Figure 12. Analog-to-Digital Converter Internal Waveforms CLK ADEN Bit T EHSH ADSST Bit AT89C5132 34 Table 13. Analog to Digital Converter Timing Symbol Definitions Signals C Clock E Enable (ADEN bit) ...

Page 31

Figure 13. Analog-to-Digital Converter Characteristics Code Out 1023 1022 1021 1020 1019 1018 Offset Error OSe Flash Memory Definition of Symbols Timings 4173CS–USB–07/04 Ideal Transfer Curve Center of a ...

Page 32

Waveforms External Clock Drive and Logic Level References Definition of Symbols Timings Waveforms AT89C5132 36 Figure 14. Flash Memory – ISP Waveforms RST (1) ISP Note: 1. ISP must be driven through a pull-down resistor (see Section “In-system Program- ming”, ...

Page 33

Figure 17. AC Testing Input/Output Waveforms V - 0.5 DD 0.45 V Notes: 1. During AC testing, all inputs are driven at 2. Timing measurements are made on all outputs at V Figure 18. Float Waveforms V LOAD Note: For ...

Page 34

Ordering Information (1) Possible Order Entries Memory Size Part Number (Bytes) AT89C5132-ROTIL 64K Flash Note: 1. PLCC84 package only available for development board. AT89C5132 38 Max Temperature Supply Frequency Voltage Range (MHz) 3V Industrial 40 Product Package Packing Marking TQFP80 ...

Page 35

Package Information TQFP80 4173CS–USB–07/04 AT89C5132 39 ...

Page 36

PLCC84 AT89C5132 40 4173CS–USB–07/04 ...

Page 37

Datasheet Change Log for AT89C5132 Changes from 4173A- 08/02 to 4173B-03/04 Changes from 4173B- 03/04 - 4173C - 07/04 4173CS–USB–07/04 1. Supression of ROM product version. 2. Supression of TQFP64 package. 1. Add USB connection schematic in USB section. 2. ...

Page 38

... Fax: (81) 3-3523-7581 Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein ...

Related keywords