ATMEL AT76C712

Features
• Advanced RISC Architecture, 130 Powerful Instructions, Most Single Clock Cycle
Execution
• JTAG (IEEE Std. 1149.1 Compliant) Interface
•
•
•
•
•
•
•
•
•
•
•
•
•
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
Clock Generator Provides CPU Rates up to 48MHz
Only One External Clock Crystal of 12 MHz Can Generate All the Required System
Clocks:
– Internal Clock for Standard UART Rates
– A 48 MHz and 96 MHz Clock for USB Data Recovery
– AVR Processor and System Clock
– Full-speed USB Interface (12 Mbits per Second) 2.0 Compliant
Two On-chip 16550 UARTs Supporting Baud Rates up to 921 Kbaud
– Both UARTs Incorporate individual Transmit and Receive FIFOs of 16 Bytes
– UART0 Supports Modem Control Signals
– Programmable SPI Interface
On-chip Bootstrap ROM Provides a Variety of Firmware Upgrade Modes
– Device Firmware Upgrade Through USB for the internal Program SRAM (No
External Non-volatile SPI Memory Required)
– Device Firmware Upgrade Through USB for both the Internal Program SRAM and
the External SPI DataFlash® or EEPROM
– SPI Program Mode from the External DataFlash or EEPROM
DMA Channels Allow Fast Data Transfers between Endpoint Buffers and Internal or
External SRAM (DMA Transfer Rate is 12 MHz for All Channels)
8K x 16 bits (up to 11K x 16 bits), In-System SRAM for Program Code (Program
Memory)
On-Chip 8 Kbytes SRAM for Data and Variables ( 2, 4, and 8 Kbytes can be Remapped
for Program Storage in the Address Area Above the Program Memory)
Two 8-bit Timer/Counters
One 16-bit Timer/Counter
Two External interrupts Through GPIOs
Programmable Watchdog Timer
Low voltage operation:
– 1.8V for the Core
– 1.8V or 3.3V for the Periphery
– 3.3V for the USB
Low cost 64-pin TQFP Package, Suitable for USB-to-UART Bridge Applications
High-speed
(48 MHz)
AVR®- based
Bridging Device
AT76C712
Summary
5635AS–USB–12/04
Overview
2
Atmel’s AT76C712 is a low-power USB peripheral that can connect various types of
devices to a common USB port.
•
The device is based on the AVR-enhanced RISC architecture core, which combines
an advanced instruction set with 32 general-purpose working registers. By
executing powerful instructions in a single clock cycle, the AT76C712 achieves
throughputs approaching 1MIPS per MHz, allowing the system designer to optimize
power consumption versus processing speed
•
The clock generation circuit requires a clock input of 12 MHz and provides standard
clock rates for the USB module and the on-chip UARTs, as well as several AVR
CPU rates varying from 16 MHz up to 48 MHz
•
Internal DMA channels allow fast data transfers between the USB buffers and the
external and on-chip memory without processor interruption. USB DMA transfers
use devoted data paths with a 12 Mbytes transfer rate
•
An on-chip flexible memory controller allows dynamic memory mapping and
provides the required timing for interfacing with slow or fast external memory
devices, like SRAM or FIFOs
•
Twenty-five multipurpose I/O pins provide the signals for the external interfaces. The
device also offers two external interrupts, a programmable Watchdog Timer, flexible
timer/counters with compare modes, and the support of various power-down modes
•
On power-up, the bootstrap code is executed from the boot ROM. The purpose of
the bootstrap code is to load the application code into the program memory. The
application code is executed from the on-chip SRAM program memory contributing
to the low-power consumption. Different programming modes are supported
depending on the application (that is, the mode is selected externally by the
PMODE0 and PMODE1 pins)
•
In the slave programming mode, an external system (that is, the Host), operating as
SPI master, can transfer the program image in a raw format to the program memory
of the device. In this case, the device operates as an SPI slave and starts running
from the internal boot ROM code, which switches to the start of program memory
when it detects the end of a valid program transfer from the Host to the AT76C712
(see the “Slave Programmming Mode” on page 9)
•
In a master programming mode, the AT76C712 reads the whole program image
from an external SPI EEPROM or DataFlash and switches to the start of program
memory when it completes the reading (see the “Master Programming Modes” on
page 10). Alternatively, the AT76C712 reads only configuration parameters from a
small serial non-volatile memory (EEPROM or DataFlash), enables the USB
Controller, and executes the USB Device Firmware Upgrade (DFU) code that is
stored in the boot ROM
•
The USB Controller consists of a Serial Interface Engine (SIE), a Function Interface
Unit (FIU), and a System Interface (SI). The SIE performs bit processing, line
coding, packet generation and packet type recognition, serial-parallel data
conversion, and packet delineation. The FIU consists of a protocol engine and a
USB device with one Control Endpoint (EP0) and seven programmable Endpoints
with up to 512 bytes maximum total size. All Endpoints support double buffering in
order to provide the maximum performance specified for the USB
•
The device supports two 16550 UART modules with 16 bytes FIFOs in each
direction. UART0 serial interface provides full modem control functionality with the
RTS/CTS, DTR/DSR, RI, and CD signals. These signals are provided by the
general-purpose I/O pins of PORTD
AT76C712
5635AS–USB–12/04
AT76C712
•
The AT76C712 AVR is supported with a full suite of program and system
development tools including: C compiler, macro assemblers, program
debugger/simulators, in-circuit emulators, and evaluation kits
3
5635AS–USB–12/04
AT76C712 Functional Diagram
PA[0:1]
PB0/T0
PB1/T1
PB2/T2
PB3/ICP
PB7/SCK
PC[0:2]
4
AT76C712
5635AS–USB–12/04
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
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, 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
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
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
Literature Requests
www.atmel.com/literature
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 2004. All rights reserved. Atmel® logo and combinations thereof, AVR ®, DataFlash ®, and others are registered trademarks, and Everywhere You Are ™, and others are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may
be the trademarks of others.
Printed on recycled paper.
5635AS–USB–12/04