AVR -based Bridge between Full-speed USB and Fast Serial Asynchronous Interfaces AT76C711

Similar documents
AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART

hex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M

Bluetooth General Information White Paper

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

TSC695. Application Note. Annulled Cycle Management on the TSC695. References

AT89C5131 Starter Kit... Software User Guide

AT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller.

UART. Embedded RISC Microcontroller Core Peripheral

FPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction.

ATAVRAUTO User Guide

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by

AVR32 UC3 Software Framework... User Manual

Section 1 ATAVRAUTOEK1 Getting Started

AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs

MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers

a Serial Peripheral Interace (SPI). Embedded RISC Microcontroller Core Peripheral

ATAVRAUTO User Guide

Secure Microcontrollers for Smart Cards. AT90SC Summary

8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR

Migration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers

Application Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers

AT17(A) Series FPGA Configuration Memory. Application Note

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

AT89STK-09 Starter Kit for AT83C26... User Guide

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

DIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17

When is Data Susceptible to Corruption

FPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC

P_D_OUT[31:0] SPI_INT SPI_MOSI_OUT SPI_MOSI_OEN

Programmable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier

8-bit Microcontroller. Application Note. AVR320: Software SPI Master

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview

CAN, 80C51, AVR, Microcontroller. Application Note

1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

Interrupt Controlled UART

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

Preparations. Creating a New Project

Atmel FPGA Integrated Development System (IDS)

Interfacing the internal serial EEPROM

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

AVR -based Bridge between Full-speed USB and Fast Serial Asynchronous Interfaces AT76C711

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

Battery-Voltage. 16K (2K x 8) Parallel EEPROMs AT28BV16. Features. Description. Pin Configurations

2-wire Serial EEPROM AT24C512. Preliminary. 2-Wire Serial EEPROM 512K (65,536 x 8) Features. Description. Pin Configurations.

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49LV040

AT17A Series FPGA Configuration EEPROM Memory. Application Note. FPGAs. AT17A Series Conversions from Altera FPGA Serial Configuration Memories

ATICE10... User Guide

Trusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary

Product Description. Application Note. AVR360: XmodemCRC Receive Utility for the AVR. Features. Theory of Operation. Introduction

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI

Two-wire Serial EEPROM Smart Card Modules 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) 16K (2048 x 8)

2-wire Serial EEPROMs AT24C128 AT24C256

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM

Atmel FPGA Integrated Development System (IDS)

2-wire Serial EEPROM AT24C512

Atmel-Synario CPLD/PLD Design Software ATDS1100PC ATDS1120PC ATDS1130PC ATDS1140PC. Features. Description

Parallel EEPROM Die Products. Die Products. Features. Description. Testing

32-bit Secure. AT91SC CT-USB Summary. Microcontrollers. Features

32-megabit 2.7-volt Only Serial DataFlash AT45DB321. AT45DB321 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash

256 (32K x 8) High-speed Parallel EEPROM AT28HC256N. Features. Description. Pin Configurations

ARM7TDMI - based Microcontroller AT91RM3400. Errata Sheet

OrCAD Support for Atmel PLDs. Application Note. OrCAD Support for Atmel PLDs. Overview


1-megabit 2.7-volt Only Serial DataFlash AT45DB011. AT45DB011 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash

AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

3-Wire Serial EEPROM AT93C46C

80C51 MCUs T89C51AC2. Errata Sheet

1-Megabit (128K x 8) Low Voltage Paged Parallel EEPROMs

2-Wire Serial EEPROM AT24C01. Features. Description. Pin Configurations. 1K (128 x 8)

AVR501: Replacing ATtiny15 with ATtiny25. 8-bit Microcontrollers. Application Note PRELIMINARY. Features. 1 Introduction

FPGA Configuration EEPROM Memory AT17C65A AT17LV65A AT17C128A AT17LV128A AT17C256A AT17LV256A

2-wire Serial EEPROMs AT24C128 AT24C256. Features. Description. Pin Configurations. 128K (16,384 x 8) 256K (32,768 x 8)

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

16-megabit 2.7-volt Only Serial DataFlash AT45DB161

3-wire Serial EEPROMs AT93C46 AT93C56 AT93C57 AT93C66

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary.

design cycle involving simulation, synthesis

64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B. Features. Description. Pin Configurations

2-wire Serial EEPROM AT24C21. 2-Wire, 1K Serial EEPROM. Features. Description. Not Recommended for New Designs. Pin Configurations.

32-bit Embedded Core Peripheral. Advanced Interrupt Controller (AIC)

AT89C51SND1 UART Bootloader

256K (32K x 8) 3-volt Only Flash Memory

FPGA Configuration EEPROM Memory AT17C020A AT17LV020A

AT89C51CC03 UART Bootloader

AT89STK-10 Starter Kit... Hardware User Guide

8-bit Microcontroller. Application Note. AVR410: RC5 IR Remote Control Receiver

DIP Top View VCC A12 A14 A13 A6 A5 A4 A3 A2 A1 A0 A8 A9 A11 A10 I/O7 I/O6 I/O0 I/O1 I/O2 I/O5 I/O4 I/O3 GND. TSOP Top View Type 1 A11 A9 A8 A13 A14

Transcription:

Features AVR Microcontroller Clock Generator Provides CPU Rates up to 24 MHz Programmable UART with 16-byte FIFOs at the Receiver Side (1), with a Maximum Rate of 921K Baud Programmable SPI Interface Full-speed USB Function Controller On-chip 2K Bytes SRAM (for Data) On-chip 2K Bytes Dual-port RAM for Segmentation and Reassembly of Packets Exchanged between the USB and the UART Interfaces 8K x 16-bit In-system SRAM for Program Code On-chip Bootstrap ROM for Program Uploading to the Internal Program SRAM, Either from the USB or the SPI One USB Control Endpoint Five USB Programmable Endpoints (up to 64 Bytes) with Double-buffered FIFOs for Back-to-back Transfers One 8-bit Timer/Counter One 16-bit Timer/Counter External and Internal Interrupt Sources Programmable Watchdog Timer Independent UART BRG Oscillator 64-pin TQFP Package 3.3V Operation AVR -based Bridge between Full-speed USB and Fast Serial Asynchronous Interfaces Figure 1. Pin Configuration NC PD7_INT1 PD6_INT0 PD5 PD4 PD3 PD2 PD1_SOUT PD0_SIN UXTALO UXTALI LFTU AT76C711 RST PB0_T0 PB1_T1 PB2_ICP PB3 PB4_SS PB5_MOSI PB6_MISO PB7_SCK LFT XTAL1 XTAL2 TEST1 PSDIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P_RX P_TX PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 TEST2 ECK TCK TP LC DP DM SUSP PM0 PM1 PC0 PC1 PC2 PC3 Rev. 1643AS 10/00 Note: This is a summary document. A complete document is available on our web site at www.atmel.com. 1

Description The Atmel AT76C711 is a compound USB device designed to provide a high-speed USB interface to devices that need to communicate with a base station through fast serial links, like UARTs and IrDA interfaces. It is based on the AVR-enhanced RISC architecture and consists of a USB function interface with a devoted DMA controller for fast transfers of data between the endpoint FIFOs and the DPRAM, a 2 KB internal RAM, a Synchronous Peripheral Interface (SPI), a UART, supporting a maximum rate of 921K baud, an 8K x 16-bit in-system SRAM for microcode storage, which is loaded from the SPI controller, 2K bytes dual-port RAM (DPRAM) and a programmable DMA controller for packet transfers between the UART and the DPRAM, without microcontroller intervention. An IrDA controller is also provided, attached to a second UART module and is able to communicate with an IrDA transceiver with a maximum rate of 1.2 Mbps. A hardwired Device Firmware Upgrade (DFU) protocol handler is implemented for programming an external AT45BDxxx serial Flash during the production phase. An internal bootstrap ROM contains the executable program for uploading the application code from an external serial Flash to the on-chip program SRAM. Alternatively, microcode can be stored in the program SRAM using the slave program mode while the chip is in the reset state. The USB and peripheral device controller function should be implemented in the microcontroller s firmware. The device is suitable for applications where minimization of power dissipation is required, since there are no powerconsumable transactions with external parallel devices. The USB H/W block consists of a USB transceiver, the SIE, endpoint controllers and an interface to the microcontroller. The USB H/W interfaces to the USB host at the packet level. The microcontroller firmware handles the higher-level USB protocol layers that are not processed by the USB H/W and in addition, it performs the peripheral control functions. A typical application of AT76C711 and its functional diagram are shown in Figures 2 and 3. Applications AT76C711 can be used in applications where peripherals supporting fast serial asynchronous or synchronous transfer of data have to communicate with a host or other peripherals through a high-speed serial link, like USB. Typical areas of AT76C711 usage are: Connection of Network Interface Cards (NICs) to a host system Wireless communications Bridging of microcontrollers with different types of serial interfaces USB to UART bridge USB to IrDA bridge IrDA to UART bridge Packet adaptation of network protocol packets to USB requirements 2 AT76C711

AT76C711 Block Diagram Figure 1. Block Diagram PROGRAM MEMORY CONTROLLER AVR core SRAM Osc Clock Generator UART 1 IrDA 1.0 encdec Timers WD USB General Purpose I/O address decoder DPRAM DMA controller USART SPI Figure 2. Typical AT76C711 Application Desktop System USB AT76C 711 UART Network Adaptor RF Trsc RF Trsc Network Adaptor Printer Figure 3. Functional Diagram S/U# XTAL1 XTAL2 LFT SUSP# DP DM RST# Program Bus USB Address Decoder PROGRAM MEMORY CONTROLLER Debug ROM AVR Core 16K x 16-bit SRAM DPRAM 2Kx8 Bits CLOCK Osc SRAM 2Kx8 Bits Clock Generator DMA Controller Interrupt Lines TXRDY# RXRDY# UINT / UART 1 RAM Address Bus & Bi-directional Data Bus TDMAC, RDMAC, UINT Address & Control Bus for AVR Register File Programming USART 0 IrDA 1.0 encdec Data Timers WD SPI UART Osc DATA PORT REGISTERS - PORT DIRECTION REGISTERS - DRIVERS/BUFFERS PA0/SIN1/IrRx# PA1/SOUT1/IrTx PA2 PA3 PA4 PA5 PA6 PA7 PB0/T0 PB1/T1 PB2/INT0 PB3/INT1 PB4/SS# PB5/MOSI PB6/MISO PB7/SCK PC0-3 PD0/SIN0 PD1/SOUT0 PD2/RTS0# PD3/CTS0# PD4/DSR0# PD5/DTR0# PD6 PD7 UXTALO UXTALI USCLK LFTU 3

Pin Summary Pin Assignment Type: I = Input O = Output OD = Output, open drain B = Bi-directional V = Power supply, ground Table 1. Pin Assignment in Alphabetical Order Pin # Signal Type Pin # Signal Type Pin # Signal Type 23 DM B 44 PA7 B 58 PD4 B 22 DP B 2 PB0_T0 B 59 PD5 B 33 ECK I 3 PB1_T1 B 60 PD6_INT0 B 19 LC I 4 PB2_ICP B 61 PD7_INT1 B 14 LFT I 5 PB3 B 16 PSDIN I 50 LFTU I 6 PB4_SS B 1 RST I * V 7 PB5_MOSI B 27, 28 PM0, PM1 I 64 NC 8 PB6_MISO B 24 SUSP O 48 P_IRX I 9 PB7_SCK B 17 TCK I 47 P_ITX O 29 PC0 B 15 TEST1 I 37 PA0 B 30 PC1 B 34 TEST2 I 38 PA1 B 31 PC2 B 18 TP I 39 PA2 B 32 PC3 B ** V 40 PA3 B 54 PD0_SIN B 51 UXTALI I 41 PA4 B 55 PD1_SOUT B 52 UXTALO O 42 PA5 B 56 PD2 B 11 XTAL1 I 43 PA6 B 57 PD3 B 12 XTAL2 O Notes: 1. (*) : 12, 21, 25, 35, 46, 51, 62 2. (*) : 10, 20, 24, 36, 45, 49, 63 4 AT76C711

AT76C711 Table 2. Pin Assignment in Numerical Order Pin # Signal Type Pin # Signal Type Pin # Signal Type 1 RST I 23 DM B 45 V 2 PB0_T0 B 24 SUSP O 46 V 3 PB1_T1 B 25 V 47 P_ITX O 4 PB2_ICP B 26 V 48 P_IRX I 5 PB3 B 27 PM0 I 49 V 6 PB4_SS B 28 PM1 I 50 LFTU I 7 PB5_MOSI B 29 PC0 B 51 V 8 PB6_MISO B 30 PC1 B 52 UXTALI I 9 PB7_SCK B 31 PC2 B 53 UXTALO O 10 V 32 PC3 B 54 PD0_SIN B 11 LFT I 33 ECK I 55 PD1_SOUT B 12 V 34 TEST2 I 56 PD2 B 13 XTAL1 I 35 V 57 PD3 B 14 XTAL2 O 36 V 58 PD4 B 15 TEST1 I 37 PA0 B 59 PD5 B 16 PSDIN I 38 PA1 B 60 PD6_INT0 B 17 TCK I 39 PA2 B 61 PD7_INT1 B 18 TP I 40 PA3 B 62 V 19 LC I 41 PA4 B 63 V 20 V 42 PA5 B 64 NC V 21 V 43 PA6 B 22 DP B 44 PA7 B 5

Signal Description Table 3. Signal Description Name Type Description Program Memory Controller Signals PM0, PM1 I See Figure 4. PSDIN I Program Serial Data In: In slave program mode, this signal carries the serial program data that are samples with the positive edge of TCK. TP I When RST is active (low), a high level of this signal, for at least two TCK pulses, forces the program address generator. LC I Load Complete: A transition from low to high denotes the completion of program data transfer from the external device. The AVR will start executing instructions from the internal SRAM as soon as the RST goes high. TCK I A clock signal for sampling PSDIN input. Port Signals PA[0:7] B Port A, PB0 through PB7. 8-bit bi-directional port. PA[0:7] B Port B, PB0 through PB7. 8-bit bi-directional port. PB0, PB1, PB2, PB4 through PB7 are dual functions as shown below: Port Alternate Function PB0 Timer/Counter0 clock input PB1 Timer/Counter1 clock input PB2 (ICP) Input Capture Pin for Timer/Counter1 PB4 (SS#) SPI slave port select input PB5 (MOSI) SPI slave port select input PB6 (MISO) SPI master data in, slave data out PB7 (SCK) SPI master clock out, slave clock in PC[0:3] B Port C, PC0 through PC3. 4-bit output port. PD[0:7] B Port D, PD0 through PD7. 8-bit bi-directional I/O port. PD0, PD1 also serve as the data lines for the asynchronous serial port as listed below: Port Alternate Function PD0 (SIN) Serial Data In (I): This pin provides the serial receive data input to 16550 UART. The SIN signal will be a logic 1 during reset, idle (no data). During the local loopback mode, the SIN input pin is disabled and SOUT data is internally connected to the UART SIN input. PD1 (SOUT) Serial Data Out (O): This pin provides the serial transmit data from the 16550 UART. The SOUT signal will be a logic 1 during reset, idle (no data). PD6 (INT0) External Interrupt0 source PD7 (INT1) External Interrupt1 source USB Serial Interface DP B Upstream Plus USB I/O. DP and DM form the differential signal pin pair connected to the host controller or an upstream hub. DM B Upstream Minus USB I/O SUSP O Suspend. This output pin is deactivated (high) during normal operation. It is used to signal the host microcontroller that AT76C711 has received USB suspend signaling. This pin will stay asserted while AT76C722 is in the suspend mode. This pin is deactivated whenever a USB resume signaling is detected on DP and DM. 6 AT76C711

AT76C711 Table 3. Signal Description (Continued) Name Type Description Test Signals TEST1 I Test signal for clocks (used in production phase only normally tied to high) TEST2 I Test signal for monitoring internal signal levels using the four data ports (used in production phase only normally tied to high) ECK I Clock pulse for activating various test modes when TEST2 is active IrDA Interface P_ITX O Infrared Data Out: This pin provides the serial transmit data from the IrDA codec to external IR Data Transceiver. This function is activated when the IrDA interface is enabled from PERIPHEN I/O Register. P_IRX I Infrared Data In: This pin provides the serial receive data input from the external IR Data Transceiver to IrDA codec. This function is activated when the IrDA interface is enabled from PERIPHEN I/O Register. Other Signals V Ground V 3.3V power supply RST I Reset. A low on this pin for two machine cycles, while the oscillator is running, resets the device. XTAL1 I Oscillator Input. Input to the inverting oscillating amplifier. A 12 MHz clock oscillator should be applied. XTAL2 O Oscillator Output. Output of the inverting oscillator amplifier. LFT I Master clock PLL LFT pin UXTALI I UART BRG Oscillator Input. Input to the UART oscillator amplifier. UXTALO O UART BRG Oscillator Output. Output of the UART oscillator amplifier. LFTU I UART clock PLL LFT pin Note: Any signal with a # indicates that it is an active low signal. 7

Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA 95131 TEL (408) 441-0311 FAX (408) 487-2600 Europe Atmel SarL Route des Arsenaux 41 Casa Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan Atmel Japan K.K. 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 Atmel Colorado Springs 1150 E. Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL (719) 576-3300 FAX (719) 540-1759 Atmel Rousset Zone Industrielle 13106 Rousset Cedex France TEL (33) 4-4253-6000 FAX (33) 4-4253-6001 Atmel Smart Card ICs Scottish Enterprise Technology Park East Kilbride, Scotland G75 0QR TEL (44) 1355-803-000 FAX (44) 1355-242-743 Atmel Grenoble Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex France TEL (33) 4-7658-3000 FAX (33) 4-7658-3480 Fax-on-Demand North America: 1-(800) 292-8635 International: 1-(408) 441-0732 e-mail literature@atmel.com Web Site http://www.atmel.com BBS 1-(408) 436-4309 Atmel Corporation 2000. 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. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. Marks bearing and/or are registered trademarks and trademarks of Atmel Corporation. Terms and product names in this document may be trademarks of others. Printed on recycled paper. 1643AS 10/00/xM