APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

Similar documents
APPLICATION NOTE. Atmel AVR1638: XMEGA RTC Calibration. 8-bit Atmel Microcontrollers. Features. Introduction

APPLICATION NOTE. Atmel AVR536: Migration from ATmega644 to ATmega644A. 8-bit Atmel Microcontrollers. Introduction

APPLICATION NOTE. Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices. Atmel AVR XMEGA. Features.

APPLICATION NOTE. Atmel AT03304: SAM D20 I 2 C Slave Bootloader SAM D20. Description. Features

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

Atmel AVR1619: XMEGA-B1 Xplained Demonstration. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System. 8-bit Atmel Microcontrollers. Application Note. Prerequisites.

STK521. User Guide B AVR 01/12

APPLICATION NOTE. Atmel AVR3009: Driving QTouch Device with I 2 C Interface. Atmel QTouch. Introduction

Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)

APPLICATION NOTE. Atmel AT02260: Driving AT42QT1085. Atmel QTouch. Features. Description

Atmel ATMXT143E touchscreen controller Capacitive touch ITO 320 x 240 pixel LCD display with SPI interface LED backlight

Atmel AVR32847: Migration from/to the UC3L0 64/32/16 from/to the UC3L0 256/ bit Atmel Microcontrollers. Application Note.

APPLICATION NOTE. Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40. 8-bit Atmel Microcontrollers. Features.

Atmel AVR1924: XMEGA-A1 Xplained Hardware User's Guide. 8-bit Atmel Microcontrollers. Application Note. Preliminary. Features.

OLED display with pixels resolution Ambient light sensor CPU load Analog filter Quadrature Encoder with push button Digital I/O

USER GUIDE. Wireless Production Test Reference Protocol Specification Document. Atmel MCU Wireless. Description

Atmel QT600 Quick Start Guide Touch Solutions

Atmel AVR ATxmega384C3 microcontroller OLED display with 128x32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

AVR532: Migration from ATmega48/88/168 to ATmega48A/88A/168A. 8-bit Microcontrollers. Application Note. 1 Introduction

AVR1922: Xplain Board Controller Firmware 8-bit Microcontrollers Application Note Features 1 Introduction

Atmel LF-RFID Kit Comparison Chart. Application Note. Atmel LF-RFID Kit Comparison Chart. 1. Description

Atmel AVR473: ATAVRSB202 Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AT03782: Using Low Power Modes in SAM4N Microcontroller. Atmel 32-bit Microcontroller. Features.

Atmel CryptoAuthentication Starter Kit

AVR4018: Inertial Two (ATAVRSBIN2) Hardware User's Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller 8-bit Microcontrollers Application Note Prerequisites

AVR32917: picopower Board getting started. 32-bit Microcontrollers. Application Note. Preliminary. Features. 1 Introduction

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

Section 5 SERCOM. Tasks SPI. In this section you will learn:

32Kbytes on-chip SRAM. Viterbi decoding and CRC PRIME compliant 128-bit AES encryption Channel sensing and collision pre-detection

Getting Started with the SAM4L-EK Demo

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

Atmel AT697F. Rad-Hard 32-bit SPARC v8 Processor ERRATA SHEET. Active Errata List

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features

APPLICATION NOTE. Atmel AVR2131: Lightweight Mesh Getting Started Guide. Atmel MCU Wireless. Features. Description

8-bit Microcontroller with 16K Bytes In-System Programmable Flash. ATtiny87 ATtiny167 Automotive

OLED display Sensors readout. Light sensor Temperature sensor

AVR1501: Xplain training XMEGA Timer/Counter 8-bit Microcontrollers Application Note Prerequisites 1 Introduction

APPLICATION NOTE. Atmel AVR116: Wear Leveling on DataFlash. 32-bit Atmel Microcontrollers. Features. Description. Wear leveling

AT91 ARM Thumb-based Microcontroller. Application Note. AT91SAM7X and AT91SAM7XC Microcontroller Series Schematic Check List. 1.

AVR1508: Xplain training - XMEGA DAC 8-bit Microcontrollers Application Note Features 1 Introduction

a clock signal and a bi-directional data signal (SCL, SDA)

Atmel AT697F. Rad-Hard 32-bit SPARC v8 Processor ERRATA SHEET. Active Errata List

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

APPLICATION NOTE. AT07216: SAM G55 Schematic Checklist. Atmel SMART SAM G55. Introduction

One-channel Toggle-mode Touch Sensor IC with Power Management Functions AT42QT1012. Summary

AVR097: Migration between ATmega128 and ATmega1281/ATmega bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

ATtiny817 QTouch Moisture Demo User Guide. Description. Features. AVR 8-bit Microcontrollers USER GUIDE

Asynchronous SRAM Operating Voltage: 5V Read Access Time: 40 ns Write Cycle Time: 30 ns Very Low Power Consumption (Pre-RAD)

USER GUIDE EDBG. Description

AVR32901: EVKLCD100/EVKLCD101 Hardware User's Guide. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

8-megabyte, 4-megabyte, and 2-megabyte 2.7-volt Only DataFlash Cards AT45DCB008D AT45DCB004D AT45DCB002D. Not Recommended for New Design

AT21CS Series Reset and Discovery. Introduction. Serial EEPROM APPLICATION NOTE

Interfacing the internal serial EEPROM

QTouch 8-key Touch Sensor IC AT42QT1085. Summary

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

AVR1512: XMEGA-A1 Xplained training - XMEGA Basics. 8-bit Atmel Microcontrollers. Application Note. Prerequisites. 1 Introduction

USER GUIDE. Atmel PROTO1 Xplained Pro. Preface

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

USER GUIDE. Atmel QT1 Xplained Pro. Preface

Non Volatile Rad Hard Reprogrammable FPGA. ATF280 SRAM-based FPGA AT69170 Serial EEPROM. 2x SRAM-based FPGA designed for Space use - ATF280

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

EDBG. Description. Programmers and Debuggers USER GUIDE

AVR based 125kHz RFID Evaluation Kit (Re)Programming Guide ATA2270-EK1. Overview. Fuse Settings: ISP Programming

Table Of Contents TABLE OF CONTENTS...1

USER GUIDE. ATWINC1500 Xplained Pro. Preface

APPLICATION NOTE. How to Securely Switch Atmel s LIN Transceiver ATA6662/ATA6662C to Sleep Mode ATA6662/ATA6662C. Concerning Atmel ATA6662

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

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

AVR1315: Accessing the XMEGA EEPROM. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Ethernet1 Xplained Pro

USER GUIDE. Atmel QT6 Xplained Pro. Preface

APPLICATION NOTE. Atmel QT4 Xplained Pro User Guide ATAN0114. Preface

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

8-bit Microcontroller with 2K/4K/8K Bytes In-System Programmable Flash. Appendix A. Preliminary. ATtiny261 ATtiny461 ATtiny861 Automotive

High-performance Electrically Erasable Programmable Logic Device

APPLICATION NOTE. AVR042: AVR Hardware Design Considerations. AVR 8-bit Microcontrollers. Features. Description

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

I/O1 Xplained Pro. Preface. Atmel MCUs USER GUIDE

APPLICATION NOTE. Atmel AVR3005: Low Power QTouch Design. Atmel QTouch. Features. Introduction

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

AT60142H/HT. Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET. Active Errata List. Errata History. Abbreviations. 1.

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

USER GUIDE. ZigBit USB Stick User Guide. Introduction

AT02667: XMEGA-E5 Xplained Hardware User's Guide. Features. Description. AVR XMEGA Microcontrollers APPLICATION NOTE

ED1021 I/O Expander with UART interface & analog inputs

USER GUIDE. Atmel Segment LCD1 Xplained Pro. Preface

Native route discovery algorithm

AVR32 UC3 Software Framework... User Manual

APPLICATION NOTE. AT03498: Low Power Modes in SAM3 Family. Atmel AT91 ARM Cortex Microcontrollers. Introduction

ATDH2200E Programming Kit... User Guide

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

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

SAM4 Reset Controller (RSTC)

Transcription:

APPLICATION NOTE Atmel AT01080: XMEGA E Schematic Checklist Atmel AVR XMEGA E Features Power supplies Reset circuit Clocks and crystal oscillators PDI TWI Introduction This application note describes a common checklist which should be used when starting and reviewing the schematics for an Atmel AVR XMEGA E design.

Table of Contents 1. Power Supplies... 3 1.1 Power supply connections... 3 1.2 External analog reference connections... 4 2. External Reset Circuit... 4 3. Clocks and Crystal Oscillators... 5 3.1 External clock source... 5 3.2 Crystal oscillator... 6 3.3 Real-time oscillator... 6 4. PDI Interface... 8 5. TWI Interface... 9 6. Suggested Reading... 9 6.1 Datasheets and manual... 9 7. Revision History... 10 2

1. Power Supplies 1.1 Power supply connections All power supply pins of the device must be connected to the microcontroller supply. Both V CC (digital) and AV CC (analog) must be connected to the same microcontroller positive supply, thus ensuring that they both share an identical supply profile. Likewise both ground pins must be connected to the same microcontroller ground reference supply. Figure 1-1. Power supply schematic. Table 1-1. Power supply checklist. V CC AV CC GND 1.6V to 3.6V Decoupling/filtering capacitors 100nF (1)(2) and 10µF (1) Decoupling/filtering inductor 10µH (1)(3) 1.6V to 3.6V Decoupling/filtering capacitors 100nF (1)(2) and 10µF (1) Ferrite bead (4) prevents the VCC noise interfering the AV CC Digital supply voltage Analog supply voltage Ground Notes: 1. These values are given only as a typical example (that is, ceramic capacitors: 100nF, SMD 0402, X7R, 16V and 10µF, SMD1206, X5R, 6.3V) (that is, inductor: 10µH, 1.2A). 2. Decoupling capacitor should be placed close to the device for each supply pin pair in the signal group, low ESR caps should be used for better decoupling. 3. Wire wound inductor should be added between the external power and the V CC for power filtering. 4. Ferrite bead has better filtering performance than the common inductor at high frequency. It can be added between V CC and AV CC for preventing digital noise from entering the analog power. The BEAD should provide enough impedance (for example, 220Ω at 100MHz, rated current 200mA, that is, Murata BLM15BB221SN1D) for separating the digital power to the analog power. 3

1.2 External analog reference connections Atmel AVR XMEGA E proposes one ADC using internal references or an external analog reference (AREFA on PORTA or AREFD on PORTD). The following schematic checklist is only recommended if the design is using the external analog reference. If the internal reference is used, the circuit is not necessary. Figure 1-2. External V REF schematic. Table 1-2. External analog reference checklist. AREFA AREFD GND 1.0V to AV CC -0.6V for ADC Decoupling/filtering capacitors 100nF (1)(2) and 4.7µF (1) 1.0V to AV CC -0.6V for ADC Decoupling/filtering capacitors 100nF (1)(2) and 4.7µF (1) External reference from A REF pin on PORT A External reference from A REF pin on PORT D Ground Notes: 1. These values are given only as a typical example. 2. Decoupling capacitor should be placed close to the device. 2. External Reset Circuit The external reset circuit is connected to /RESET pin only if the external reset function is used. Figure 2-1. External reset circuit example schematic. 4

Table 2-1. Reset circuit checklist. RESET Reset low level threshold voltage V CC = 2.7-3.6V: Below 0.45 V CC V CC = 1.6-2.7V: Below 0.42 V CC (V CC = 2.7V included) Reset pin Notes: The pull-up resistor makes sure that reset does not go low unintended. When the PDI programming and debugging is used, the reset line is used as clock. The reset pull-up should be 10kΩ or weaker, or be removed. The pull-down resistor prevents from overvoltage on the RESET pin when the switch is pressed. Any reset capacitors should be removed if PDI programming and debugging is used. Other external reset sources should be disconnected. 3. Clocks and Crystal Oscillators 3.1 External clock source Figure 3-1. External clock source example schematic. Table 3-1. External clock source checklist. XTAL1 XTAL2 PC4 XTAL1 is used as input for an external clock signal Can be left unconnected or used as GPIO PC4 is used as input for an external clock signal EXTCLK: input for external clock signal on PORT R pin 1 EXTCLK: input for external clock signal on PORT C pin 4 5

3.2 Crystal oscillator Figure 3-2. Crystal oscillator example schematic. Table 3-2. Crystal oscillator checklist. XTAL1 Load capacitor 15pF (1)(2) External crystal between 0.4MHz to 16MHz XTAL2 Load capacitor 15pF (1)(2) Notes: 1. These values are given only as a typical example. Please refer to the crystal datasheet to determine the capacitor value for the crystal used or refer to the application note AVR1003: Using the XMEGA Clock System. 2. Load capacitors should be placed close to the device and crystal pins. 3.3 Real-time oscillator The low-frequency crystal oscillator is optimized for use with a 32.768kHz watch crystal. When selecting crystals, load capacitance and crystal s equivalent series resistance, ESR must be taken into consideration. Both values are specified by the crystal vendor. The Atmel AVR XMEGA E oscillator is optimized for very low power consumption, and thus when selecting crystals, see Table 3-3 for maximum ESR recommendations on 9pF and 12.5pF crystals. Table 3-3. Maximum ESR recommendation for 32.768kHz watch crystal. Crystal CL [pf] Maximum ESR [kω] (1) 9.0 65 12.5 30 Note: 1. Maximum ESR is typical value based on characterization. The low-frequency crystal oscillator provides an internal load capacitance of typical 3.0pF. Crystals with recommended 3.0pF load capacitance can be without external capacitors as shown in Figure 3-3. 6

Figure 3-3. Real-time oscillator without load capacitor. Crystals specifying load capacitance (CL) higher than 3.0pF, require external capacitors applied as described in Figure 3-4. Figure 3-4. Real-time oscillator with load capacitor. 18pF TOSC1 32.768kHz 18pF TOSC2 To find suitable load capacitance for a 32.768kHz crystal, please consult the crystal datasheet. Table 3-4. External real-time oscillator checklist. TOSC1 Load capacitor 18pF (1)(2) Timer oscillator pin 1 TOSC2 Load capacitor 18pF (1)(2) Timer oscillator pin 2 Notes: 1. These values are given only as a typical example. Please refer to the crystal datasheet to determine the capacitor value for the crystal used or refer to the application notes AVR1003: Using the XMEGA Clock System and AVR4100: Selecting and testing 32kHz crystal oscillators for Atmel AVR microcontrollers. 2. Load capacitors should be placed close to the crystal, GND and device oscillator pins. 7

4. PDI Interface Figure 4-1. PDI interface example schematic. The connector pinout that is shown in Figure 4-1 mates with Atmel tools like the Atmel AVR JTAGICE3 and Atmel AVR ONE! Table 4-1. PDI port interface checklist. PDI_CLK PDI_DATA This pull-up resistor makes sure that reset does not go low unintended. When the PDI programming and debugging is used, the reset line is used as clock. The reset pull-up should be 10kΩ or weaker, or be removed. Any reset capacitors should be removed if PDI programming and debugging is used. Other external reset sources should be disconnected. PDI clock input / reset pin PDI_DATA: PDI data input / output 8

5. TWI Interface Figure 5-1. TWI interface example schematic. The TWI module in XMEGA devices follows the electrical specifications and timing of I 2 C bus and SMBus. The two lines are open-collector lines (wired-and), and pull-up resistors (Rp) are the only external components needed to drive the bus. Table 5-1. TWI interface checklist. SCL SDA This pull-up resistor is mandatory on the TWI bus topology since this line is open-collector line. The value of pull-up resistor Rp will depend on the SCL frequency: (fscl 100kHz, fscl 400kHz, fscl 1MHz). Refer to chapter Two-wire interface characteristics in the datasheet for choosing the right value. This pull-up resistor is mandatory on the TWI bus topology since this line is open-collector line. The value of pull-up resistor Rp will depend on the SCL frequency: (fscl 100kHz, fscl 400kHz, fscl 1MHz). Refer to chapter Two-wire interface characteristics in the datasheet for choosing the right value. SCL serial clock line SDA serial data line 6. Suggested Reading 6.1 Datasheets and manual The datasheet and the manual contain block diagrams of the peripherals and details about implementing firmware for the device. The datasheet and the manual are available on http://www.atmel.com/avr in the Datasheets and Manuals section. 9

7. Revision History Doc. Rev. Date Comments 42087A 04/2013 Initial document release 10

Atmel Corporation 1600 Technology Drive San Jose, CA 95110 USA Tel: (+1)(408) 441-0311 Fax: (+1)(408) 487-2600 www.atmel.com Atmel Asia Limited Unit 01-5 & 16, 19F BEA Tower, Millennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon HONG KONG Tel: (+852) 2245-6100 Fax: (+852) 2722-1369 Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 Atmel Japan G.K. 16F Shin-Osaki Kangyo Bldg. 1-6-4 Osaki, Shinagawa-ku Tokyo 141-0032 JAPAN Tel: (+81)(3) 6417-0300 Fax: (+81)(3) 6417-0370 2013 Atmel Corporation. All rights reserved. / Rev.: Atmel, Atmel logo and combinations thereof, AVR, Enabling Unlimited Possibilities, XMEGA, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. 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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, 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 AND 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 products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.