AT43USB325E-AC

AT43USB325E-AC Datasheet


The Atmel AT43USB325 is an 8-bit microcontroller based on the AVR RISC architecture. By executing powerful instructions in a single clock cycle, the AT43USB325 achieves throughputs approaching 12 MIPS. The AVR core combines a rich instruction set with 32 general-purpose working registers. All 32 registers are directly connected to the ALU allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers.

Part Datasheet
AT43USB325E-AC AT43USB325E-AC AT43USB325E-AC (pdf)
Related Parts Information
AT43USB325E-AU AT43USB325E-AU AT43USB325E-AU
PDF Datasheet Preview
• 8-bit RISC Microcontroller with 83 ns Instruction Cycle Time
• USB Hub with One Attached and Four External Ports
• USB Keyboard Function with Four Programmable Endpoints
• 16 KB Program Memory, 512-Byte Data SRAM
• 32 x 8 General-purpose Working Registers
• 42 Programmable I/O Port Pins
• Support for 20 x 8 Keyboard Matrix
• Keyboard Scan Inputs with Pull-up Resistor
• Four LED Driver Outputs
• One 8-bit Timer/Counter with Separate Pre-scaler
• One 16-bit Timer/Counter with Separate Pre-scaler and Dual 8-, 9- or 10-bit PWM
• External and Internal Interrupt Sources
• Programmable Watchdog Timer
• 6-MHz Oscillator with On-chip PLL
• 5V Operation with On-chip 3.3V Power Supply
• 64-lead LQFP Package

The Atmel AT43USB325 is an 8-bit microcontroller based on the AVR RISC architecture. By executing powerful instructions in a single clock cycle, the AT43USB325 achieves throughputs approaching 12 MIPS. The AVR core combines a rich instruction set with 32 general-purpose working registers. All 32 registers are directly connected to the ALU allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers.

The AT43USB325 features an on-chip 16-Kbyte program memory and 512 bytes of data memory. It is supported by a standard set of peripherals such as timer/counter modules, watchdog timer and internal and external interrupt sources. The major peripheral included in the AT43USB325 is the USB Hub with an embedded function and GPIO ports designed for use in a keyboard controller. The embedded function has 4 endpoints that makes the AT43USB325 extremely suitable for keyboards supporting the consumer page as described in the “USB Usage Tables”.

The AT43USB325 comes in two versions. The program memory of the AT43USB325E is an SRAM that is automatically written from an external serial EEPROM during power on. The AT43USB325M has a masked ROM program memory. The two versions are pin, function and binary compatible.

Multimedia USB Keyboard Controller with Embedded Hub

AT43USB325

Pin Configuration

Figure 64-lead LQFP AT43USB325E-AC

PD3 1 PD1 2 PD0 3 DP0 4 DM0 5 DP2 6 DM2 7 DP3 8 DM3 9 VCC1 10 CEXT1 11 VSS1 12 DP4 13 DM4 14 DP5 15 DM5 16

Figure 64-lead LQFP AT43USB325M-AC

PD3 1 PD1 2 PD0 3 DP0 4 DM0 5 DP2 6 DM2 7 DP3 8 DM3 9 VCC1 10 CEXT1 11 VSS1 12 DP4 13 DM4 14 DP5 15 DM5 16
2 AT43USB325

RESETN 17 TEST 18 PC7 19 PC6 20 PC5 21 PC4 22 PC3 23 PC2 24 PC1 25 PC0 26 PD7 27 PD6 28 PD5 29 PD4 30 PF3 31 PF2 32
64 PA0 63 PA1 62 PA2 61 PA3 60 PA4 59 PA5 58 PA6 57 PA7 56 PB0 55 PB1 54 PB2 53 PB3 52 PB4 51 PB5 50 PB6 49 PB7

RESETN 17 TEST 18 PC7 19 PC6 20 PC5 21 PC4 22 PC3 23 PC2 24 PC1 25 PC0 26 PD7 27 PD6 28 PD5 29 PD4 30 MISO 31 MOSI 32
64 PA0 63 PA1 62 PA2 61 PA3 60 PA4 59 PA5 58 PA6 57 PA7 56 PB0 55 PB1 54 PB2 53 PB3 52 PB4 51 PB5 50 PB6 49 PB7
48 PE0 47 PE1 46 PE2 45 PE3 44 LFT 43 XTAL2 42 XTAL1 41 VSS2 40 CEXT2 39 VCC2 38 PE4 37 PE5 36 PE6 35 PE7 34 SSN 33 SCK
48 PE0 47 PE1 46 PE2 45 PE3 44 LFT 43 XTAL2 42 XTAL1 41 VSS2 40 CEXT2 39 VCC2 38 PE4 37 PE5 36 PE6 35 PE7 34 NC 33 PF1

Pin Assignment

Pin# 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

Signal PD3 PD1 PD0 DP0 DM0 DP2 DM2 DP3 DM3 VCC1

CEXT1 VSS1 DP4 DM4 DP5 DM5 RESETN TEST PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PD7/INTD PD6/INTC PD5/INTB PD4/INTA PF3/SO/ICP PF2/SI/OC1B

Type Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Power Supply/Ground

Output Power Supply/Ground

Bi-directional Bi-directional Bi-directional Bi-directional

Input Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional

AT43USB325

Pin# 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

Signal PF1/SCK/OC1A

NC/SSN PE7 PE6 PE5 PE4 VCC2

CEXT2 VSS2 XTAL1 XTAL2 LFT PE3 PE2 PE1 PE0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0

Type Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Power Supply/Ground

Output Power Supply/Ground

Input Output Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional Bi-directional

Signal Description

Name VCC1, 2

Type Power Supply/Ground

CEXT1, 2 Output

VSS1, 2 XTAL1 XTAL2

Power Supply/Ground Input Output

Input
Ordering Information

Standard Package Options

Program Memory
Ordering Code

SRAM

AT43USB325E-AC

Package 64AA LQFP

Green Package Options Pb/Halide-free/RoHS Compliant

Program Memory
Ordering Code

Package

SRAM

AT43USB325E-AU
64AA LQFP

AT43USB325

Operation Range Commercial 0°C to 70°C

Operation Range Green, Industrial -40°C to 85°C
64AA

Package Type 64-lead, Low-profile mm Plastic Quad Flat Package LQFP

Packaging Information
64AA LQFP

Dimensions in Millimeters and Inches Controlling Dimensions Millimeters JEDEC STANDARD MS-026 ACB

PIN 1 ID

PIN 1
1121..2755 00..449623 SQ
190..9100 00..338997 SQ MAX

TITLE 2325 Orchard Parkway 64AA, 64-lead, Low-profile mm Plastic Quad Flat R San Jose, CA 95131 Package LQFP
104 AT43USB325
64AA

AT43USB325

Errata Sheet

Errata All Date Codes Missed Watchdog Timer Reset

Problem

There is a synchronization problem between the watchdog clock and the AVR clock. Even though the clock inputs to both the watchdog timer and the AVR core are generated through the same crystal, the two clock sources are not going through the same PLL. The AVR is clocked at 12 MHz and the watchdog timer is clocked at 1MHz. The WDR Watchdog Reset instruction is a one-clock-cycle instruction. As such, when a watchdog timer reset occurs due to a WDR, the watchdog timer may miss the reset. This happens frequently if the AVR is clocked much faster than the watchdog timer.

Fix/Workaround

A workaround is to invoke the WDR repetitively to ensure that the watchdog timer will be able to receive the reset signal. If the AVR runs at 12 MHz, the WDR command must be invoked fourteen times back to back.

The following is the sample code for resetting and arming the watchdog timer, assuming the AVR is running at 12 MHz:
asm "ldi out 0x21,r16 " ;

To disarm and disable the watchdog, do the following:
asm "ldi out 0x21,r17 " Please note that if the AVR runs at 24 MHz, the WDR should be invoked twenty-six times.

Change Log
3355B

Comments
• Change Changes in the “Standard Package Options” on page 103
• Additions Added numbering to document headings
• Data Correction timeout period data in Table 6-8 on page
• Additions Addions to Table 3-4 on page Added an “Errata Sheet” on page 105, a “Change Log” on page 106, and a “Table of Contents” on page i.
106 AT43USB325

AT43USB325

Table of Contents

Features 1 Description 1
1.1Pin Configuration 1.2Pin Assignment 1.3Signal Description
2 Architectural Overview 7 3 General-purpose Register File 9
3.1X-, Y- and Z- Registers 3.2Arithmetic Logic Unit ALU 3.3Program Memory 3.4SPI Serial EEPROM Interface AT43USB325E Only 3.5SRAM Data Memory 3.6I/O Memory 3.7USB Hub
10 Ordering Information 103
10.1Standard Package Options 10.2Green Package Options Pb/Halide-free/RoHS Compliant
11 Packaging Information 104
11.164AA LQFP
12 Errata Sheet 105
12.1Problem 12.2Fix/Workaround
13 Change Log 106

Table of i
ii AT43USB325

Atmel Corporation
2325 Orchard Parkway San Jose, CA 95131, USA Tel 1 408 441-0311 Fax 1 408 487-2600

Regional Headquarters

Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel 41 26-426-5555 Fax 41 26-426-5500

Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721-9778 Fax 852 2722-1369

Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel 81 3-3523-3551 Fax 81 3-3523-7581

Atmel Operations

Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel 1 408 441-0311 Fax 1 408 436-4314

Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA Tel 1 408 441-0311 Fax 1 408 436-4314

La Chantrerie BP 70602 44306 Nantes Cedex 3, France Tel 33 2-40-18-18-18 Fax 33 2-40-18-19-60

ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France Tel 33 4-42-53-60-00 Fax 33 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel 1 719 576-3300 Fax 1 719 540-1759

Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel 44 1355-803-000 Fax 44 1355-242-743

RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel 49 71-31-67-0 Fax 49 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel 1 719 576-3300 Fax 1 719 540-1759

Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom

Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France Tel 33 4-76-58-30-00 Fax 33 4-76-58-34-80

Literature Requests

Disclaimer The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.

Atmel Corporation All rights reserved. logo and combinations thereof, and are registered trademarks, and Everywhere You AreSM and megaAVR are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.

Printed on recycled paper.
More datasheets: 14-38-W | 14-56-W | 16-38-W | 16-500S-W | 16-14-W | 16-56-W | 15-58-W | 16-10-W | PANE 103395-410 | BC75-12


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived AT43USB325E-AC Datasheet file may be downloaded here without warranties.

Datasheet ID: AT43USB325E-AC 519030